Re: Convenience initializer not working: "unrecognized selector"
Re: Convenience initializer not working: "unrecognized selector"
- Subject: Re: Convenience initializer not working: "unrecognized selector"
- From: Chris Suter <email@hidden>
- Date: Thu, 13 Mar 2008 14:32:03 +1100
On 13/03/2008, at 2:25 PM, K. Darcy Otto wrote:
But if I do this, I get the unrecognized selector error:
Fraction *frac1 = [Fraction initWith:2 over:2];
Try [[Fraction alloc] initWith:2 over:2]
- Chris
_______________________________________________
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