Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 912d541e10
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.587 kb
//
// NSBundle+SYPaginator.m
// SYPaginator
//
// Created by Sam Soffes on 3/20/12.
// Copyright (c) 2012 Synthetic. All rights reserved.
//
#import "NSBundle+SYPaginator.h"
@implementation NSBundle (SYPaginator)
+ (NSBundle *)paginatorBundle {
static NSBundle *paginatorBundle = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
NSString *bundlePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"SYPaginatorResources.bundle"];
paginatorBundle = [[NSBundle alloc] initWithPath:bundlePath];
});
return paginatorBundle;
}
@end
Jump to Line
Something went wrong with that request. Please try again.