Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.0.0
Fetching contributors…

Cannot retrieve contributors at this time

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