Thanks to all. Not one of my better days. Forgot to save. :(

On Feb 7, 2010, at 5:27 AM, Alastair Houghton wrote:

> On 6 Feb 2010, at 00:44, MARC BLATT wrote:
> 
>> I have the following code in viewWillAppear: for my iPhone dev project 
>> (iPhone Development SDK Book, Chapter 4, p.63):
> 
> [snip]
> 
>>      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);
> 
> [snip]
> 
>> The Console displays the following NSLog statements:
>> 
>> 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 guessing that titleLabel, boxOfficeGrossLabel and summaryLabel are UI 
> elements of some sort, in which case the most likely explanation is that you 
> haven't hooked them up (to your object) in Interface Builder, or that you 
> haven't loaded the nib that contains them yet.
> 
> Kind regards,
> 
> Alastair.
> 
> --
> http://alastairs-place.net
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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/mgb99%40mac.com
> 
> This email sent to mg...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to