Implementing SHMethodical
Originally published on my old QuintusQuill Console blog in April 2008.
Implement an awakeFromNib method:
- (void) awakeFromNib{}Create a string holding some message text:
NSString *loremText = @"Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";And finally, create an instance of SHMethodical, send it a message, and release it.
id myObject = [[SHMethodical alloc] init];[myObject displayAlert: @"Hello World!" withOtherText: loremText];[myObject release];