• 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: "Controller Cannot Be nil" on binding NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Controller Cannot Be nil" on binding NSTextField


  • Subject: Re: "Controller Cannot Be nil" on binding NSTextField
  • From: Graham Cox <email@hidden>
  • Date: Tue, 13 May 2008 20:05:32 +1000


On 13 May 2008, at 2:06 pm, Johnny Lundy wrote:

It works now, but I still have to do the crazy

self.hoursString = [[NSNumber numberWithInt: self.hours] stringValue];


Or you could just do:

self.hoursString = [NSString stringWithFormat:@"%d", self.hours];



G.
_______________________________________________

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


References: 
 >Re: "Controller Cannot Be nil" on binding NSTextField (From: Johnny Lundy <email@hidden>)

  • Prev by Date: Re: "Controller Cannot Be nil" on binding NSTextField
  • Next by Date: WWDC 2008 Sessions PDF Generator
  • Previous by thread: Re: "Controller Cannot Be nil" on binding NSTextField
  • Next by thread: "Controller Cannot Be nil" on binding NSTextField
  • Index(es):
    • Date
    • Thread