This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hdiutil convert /path/to/filename.dmg -format UDTO -o /path/to/savefile.iso |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "ViewFactory.h" | |
| @implementation ViewFactory | |
| - (id) initWithNib:(NSString*)aNibName | |
| { | |
| if (self == [super init]) { | |
| viewTemplateStore = [[NSMutableDictionary alloc] init]; | |
| NSArray * templates = [[NSBundle mainBundle] loadNibNamed:aNibName owner:self options:nil]; | |
| for (id template in templates) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @interface ViewFactory : NSObject { | |
| NSMutableDictionary * viewTemplateStore; | |
| } | |
| - (id) initWithNib:(NSString*)aNibName; | |
| - (UITableViewCell*)cellOfKind:(NSString*)theCellKind forTable:(UITableView*)aTableView; | |
| @end |
NewerOlder