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
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.