• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to write a "function" in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to write a "function" in Cocoa?
      • From: Scott Anguish <email@hidden>
    • Re: How to write a "function" in Cocoa?
      • From: Scott Stevenson <email@hidden>
    • Re: How to write a "function" in Cocoa?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: What all is Cocoa used for?
  • Next by Date: Re: How to write a "function" in Cocoa?
  • Previous by thread: Re: How to write a "function" in Cocoa?
  • Next by thread: Re: How to write a "function" in Cocoa?
  • Index(es):
    • Date
    • Thread