Re: Newbie question: setting a NSNumber
Re: Newbie question: setting a NSNumber
- Subject: Re: Newbie question: setting a NSNumber
- From: Ondra Cada <email@hidden>
- Date: Tue, 21 May 2002 23:10:50 +0200
On Tuesday, May 21, 2002, at 10:54 , David Sinclair wrote:
Yes, blah is set as follows in the init method:
blah = [NSNumber numberWithDouble:40.0];
That's it!!! In init you have to retain it (the invariant is, properties
are retained or copied or alloc/inited).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.