On Fri, 5 Feb 2010 16:44:40 -0800, MARC BLATT <[email protected]> said: > self.summaryLabel.text = self.movie.summary; > NSLog(@"%@ sold %@ because %@", self.movie.title, [formatter stringFromNumber:self.movie.boxOfficeGross], self.movie.summary); > NSLog(@"%@ sold %@ because %@", self.titleLabel.text, self.boxOfficeGrossLabel.text, self.summaryLabel.text);
>2010-02-05 15:59:13.265 ... Inglorious Bastards sold $750,550,016.00 because Brad Pitt plays a great role with a terrible accent. >2010-02-05 15:59:13.266 ... (null) sold (null) because (null) I'm going to guess that this is because your label outlets are null (you've forgotten to hook them up in Interface Builder and then save). I'm making this guess because that is the sort of mistake that I still make all the time. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
