• 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: Understanding the "declaration of instance variables in the interface is deprecated" warning.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.


  • Subject: Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 03 Jun 2015 19:59:36 +0200

On 03 Jun 2015, at 19:09, Alex Zavatone <email@hidden> wrote:
> On Jun 3, 2015, at 12:59 PM, Uli Kusterer wrote:
>
>> So you're not supposed to use the underscore convention even for your private ivars, as Apple could add secret stuff to NSObject or any other base class you'd collide with.
>>
>> -- Uli
>
> So, how are we expected to tell the private/public/ivar/property difference between all these variables we have to look at all day in an easy, clear and straightforward manner that doesn't require unnecessary thinking?

 I've never had a problem telling that difference, so I can't answer that question for you. If an object is complex enough that this becomes an issue, I'd probably split it up into several objects so it becomes easier and more obvious to grasp.

-- Uli
_______________________________________________

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: Understanding the "declaration of instance variables in the interface is deprecated" warning.
      • From: Mark Wright <email@hidden>
    • Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
      • From: Alex Zavatone <email@hidden>
References: 
 >Re: Understanding the "declaration of instance variables in the interface is deprecated" warning. (From: Mark Wright <email@hidden>)
 >Re: Understanding the "declaration of instance variables in the interface is deprecated" warning. (From: Uli Kusterer <email@hidden>)
 >Re: Understanding the "declaration of instance variables in the interface is deprecated" warning. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
  • Next by Date: Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
  • Previous by thread: Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
  • Next by thread: Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.
  • Index(es):
    • Date
    • Thread