Skip to content

Instantly share code, notes, and snippets.

@implementation NSBundle (MYBundle)
+ (instancetype)MYBundle{
NSBundle *mainBundle = [NSBundle mainBundle];
NSURL *bundleUrl = [mainBundle URLForResource:@"MyBundle" withExtension:@"bundle"];
NSBundle *bundle = [NSBundle bundleWithURL:bundleUrl];
return bundle;
}
+ (UIImage*)imageNamed:(NSString*)name{
UIImage *image;
@serluca
serluca / Make
Created December 11, 2014 21:57
build: clean status
@echo "Done"
clean:
@echo "Cleaning a folder"
status:
@echo "Done"