• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Behavior


  • Subject: Re: Strange Behavior
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 07 Feb 2010 09:05:17 -0800
  • Thread-topic: Strange Behavior

On Fri, 5 Feb 2010 16:44:40 -0800, MARC BLATT <email@hidden> 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@hidden, <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@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange Behavior
      • From: MARC BLATT <email@hidden>
  • Prev by Date: Re: iPhone: Lost with GK
  • Next by Date: Re: Uncaught exceptions not terminating my app
  • Previous by thread: Re: Strange Behavior
  • Next by thread: Re: Strange Behavior
  • Index(es):
    • Date
    • Thread