Re: Private Methods
Re: Private Methods
- Subject: Re: Private Methods
- From: Adhamh Findlay <email@hidden>
- Date: Fri, 22 Feb 2008 08:57:29 -0600
On Feb 22, 2008, at 5:23 AM, email@hidden wrote:
In MyObj.m
@interface MyObj(PrivateStuff)
-(void) aPrivateMethod;
@end;
@implementation MyObj
-(void) aPrivateMethod
{
// Do something
}
-(void) onePublicMethod
{
[self aPrivateMethod];
}
@end
Not to be too picky, but there's an extra semicolon after @end;
@interface MyObj(PrivateStuff)
-(void) aPrivateMethod;
@end
Adhamh
_______________________________________________
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