• 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: setting corner view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting corner view


  • Subject: Re: setting corner view
  • From: Stephane Sudre <email@hidden>
  • Date: Tue, 5 Jun 2007 10:00:54 +0200


On 5 juin 07, at 08:04, Yann Bizeul wrote:

@interface NetworkOutlineController : NSObject
{
	IBOutlet id outlineView;
	IBOutlet id cornerView;

Just a side note about that, you should specify the class of outlets you are using to avoid confusion in some situation. If you set the class, IB will refuse to connect to something that is not of the right class or subclass. Just a good habit I think.

IMHO, IBOutlet id is the best solution since you never know when you will be changing the class (or subclassing it). I've seen some source code and nibs using typed outlets and it proved a PITA to maintain.


_______________________________________________

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: setting corner view
      • From: Shawn Erickson <email@hidden>
    • Re: setting corner view
      • From: Yann Bizeul <email@hidden>
References: 
 >setting corner view (From: "William Zumwalt" <email@hidden>)
 >Re: setting corner view (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Core Data app becomes a memory hog
  • Next by Date: Re: Core Data app becomes a memory hog
  • Previous by thread: Re: setting corner view
  • Next by thread: Re: setting corner view
  • Index(es):
    • Date
    • Thread