Re: How to write a "function" in Cocoa?
Re: How to write a "function" in Cocoa?
- Subject: Re: How to write a "function" in Cocoa?
- From: Joel Norvell <email@hidden>
- Date: Sat, 4 Nov 2006 00:56:17 -0800 (PST)
Scott A. and Scott S.,
Thanks!
Scott S.,
Yes, I'd been heading in the wrong direction.
Sincerely,
Joel
This is what worked:
// MyRectUtilities.h
#import <Cocoa/Cocoa.h>
@interface MyRectUtilities
- (NSString *) rectString:(NSRect) rectBounds;
@end
// MyRectUtilities.h
#import "MyRectUtilities.h"
@implementation MyRectUtilities
// Given an NSRect, return its scalar "l b r t" values as an ascii string.
- (NSString *) rectString:(NSRect) rectBounds
{
...
}
@end
____________________________________________________________________________________
We have the perfect Group for you. Check out the handy changes to Yahoo! Groups
(http://groups.yahoo.com)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden