• 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: Private ivars, not marked as IBOutlet, visible in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private ivars, not marked as IBOutlet, visible in IB


  • Subject: Re: Private ivars, not marked as IBOutlet, visible in IB
  • From: Joanna Carter <email@hidden>
  • Date: Sat, 13 Mar 2010 15:25:17 +0000

Hi Roland

Le 13 mars 2010 à 12:13, Roland King a écrit :

> I don't know if Joanna was suggesting you couldn't make anything available to IB by making it an IBOutlet, I took it that she was saying the old 'compatibility mode' of having any variable of type 'id', even if not an IBOutlet, be visible in IB would not be broken if you restricted it to those variables of type id which were not @private, because @private post-dates any code which should be depending on that old hack.

Absolutely my point. There is no problem of backwards compatibility because the two "technologies" do not clash.

> I sort of agree, but I also sort of don't have this issue, never had a variable of type id in my class. If I did, I'd probably make it NSObject* and .. does that make it stop?

My reason for using id is because I want to hold a delegate and call methods on it without compiler warnings. Or have I got the wrong idea there?

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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

  • Follow-Ups:
    • Re: Private ivars, not marked as IBOutlet, visible in IB
      • From: Alexander Spohr <email@hidden>
References: 
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Lynn Barton <email@hidden>)
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Joanna Carter <email@hidden>)
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Thomas Engelmeier <email@hidden>)
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Joanna Carter <email@hidden>)
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Alexander Spohr <email@hidden>)
 >Re: Private ivars, not marked as IBOutlet, visible in IB (From: Roland King <email@hidden>)

  • Prev by Date: Re: Private ivars, not marked as IBOutlet, visible in IB
  • Next by Date: NSTimer never being deallocated
  • Previous by thread: Re: Private ivars, not marked as IBOutlet, visible in IB
  • Next by thread: Re: Private ivars, not marked as IBOutlet, visible in IB
  • Index(es):
    • Date
    • Thread