• 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: "Recursive" #imports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Recursive" #imports


  • Subject: Re: "Recursive" #imports
  • From: "A.M." <email@hidden>
  • Date: Thu, 14 Jun 2007 15:12:53 -0400


On Jun 14, 2007, at 14:38 , Wain Glaister wrote:

Hi,

You should be able to use @class in the headers (so you can declare variables and method signatures) and then do a #import in the implementations (so you can call methods).

Wain

I think the best advice is to only use import in header files when strictly necessary (subclasses, protocols, etc.) and declare everything else (instance variable classes, method argument classes) with @class.


-M
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • RE: "Recursive" #imports
      • From: "Nelson Santos" <email@hidden>
References: 
 >"Recursive" #imports (From: Alain Schartz <email@hidden>)
 >Re: "Recursive" #imports (From: Wain Glaister <email@hidden>)

  • Prev by Date: NSColorPicker cusomt minimum view size
  • Next by Date: Core Data Beginner Question
  • Previous by thread: Re: "Recursive" #imports
  • Next by thread: RE: "Recursive" #imports
  • Index(es):
    • Date
    • Thread