Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.605 kb
9b1cbb01 » soffes
2012-03-22 Start modernizing project
1 //
2 // NSBundle+SSToolkitAdditions.m
3 // SSToolkit
4 //
5 // Created by Sam Soffes on 3/22/12.
6 // Copyright (c) 2012 Sam Soffes. All rights reserved.
7 //
8
9 #import "NSBundle+SSToolkitAdditions.h"
10
11 @implementation NSBundle (SSToolkitAdditions)
12
13 + (NSBundle *)ssToolkitBundle {
14 static NSBundle *ssToolkitBundle = nil;
15 static dispatch_once_t onceToken;
16 dispatch_once(&onceToken, ^{
17 NSString *bundlePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"SSToolkitResources.bundle"];
18 ssToolkitBundle = [[NSBundle alloc] initWithPath:bundlePath];
19 });
20 return ssToolkitBundle;
21 }
22
23 @end
Something went wrong with that request. Please try again.