Year2005* year2005 = [[Year2005 alloc] initWithHappiness:YES];
[year2005 setLotsOfIncome:YES];
[year2005 setPersonalSuccess:YES];
[year2005 setLousyThings:NO];
[year2005 setCookies:YES];
BlogReaders* readers = [[self blog] sharedReaders];
[readers applyWishesWith:year2005];
[[self currentYear] release];
[self setCurrentYear:year2005];
Related:
- Betas, Twitter and WTF - Feb 16, 2010
- Quick Status Update - Feb 12, 2010
- It's Winter, Right? - Jan 26, 2010
- Hiya Kids, it's Theming Time! - Oct 06, 2009
- Mighty Mouse with Some Theme Sauce - Jun 02, 2009
[self getDrunkAndDanceStupidly: YES with: allMyFriends];
[super awesome];
Why are you releasing the current year? Shouldn't it already have been set to be autoreleased?
Posted by: Rosyna on December 31, 2004 11:44 AMNah, if he'd autoreleased it, it would have been released as soon as the current runloop ended. :)
Posted by: Jason Harris on December 31, 2004 11:48 AM[[self currentYear] addPrediction:@"The next version of Mac OS X ships at Macworld San Fransisco"];
Posted by: Nate Friedman on December 31, 2004 6:37 PMPerson *nate = [Person newPersonWithMentalState:OutOfHISGourd];
Posted by: Erik J. Barzeski on January 1, 2005 8:01 AM