Created
October 28, 2010 16:31
-
-
Save gmcerveny/651738 to your computer and use it in GitHub Desktop.
This file contains 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
-(PragBook *) book{ | |
if (!book) { | |
self.book = [[PragBook alloc] init]; | |
//self.book.title = @"Manage Your Project Portfolio"; | |
//self.book.author = @"Johanna Rothman"; | |
NSDictionary *bookInfo = [NSDictionary dictionaryWithObjectsAndKeys: | |
@"Manage Your Project Portfolio", @"title", | |
@"Johana Rothman", @"author", nil]; | |
[self.book setValuesForKeysWithDictionary:bookInfo]; | |
} | |
return book; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment