• 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: clang 1.5 and property syntax?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clang 1.5 and property syntax?


  • Subject: Re: clang 1.5 and property syntax?
  • From: Chris Hanson <email@hidden>
  • Date: Fri, 03 Sep 2010 02:01:14 -0700

On Sep 2, 2010, at 2:56 PM, Rick Mann wrote:

> Note that the autoresizingMask property* of NSView does not exhibit this behavior. Also note that the code completion doesn't work for the dot-syntax version of either property, but does work for the message-passing syntax.

Xcode intentionally only offers completions for properties declared @property when using dot syntax.

There would otherwise be a great many non-property framework methods offered as completions as well.  (Examples are -init, -retain, -copy which should never be used via dot syntax, as they represent an object’s behavior rather than its state.)

If there’s a class or framework that’s not using @property to declare the API for its state, please file a bug on it.  Thanks.

  -- Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: clang 1.5 and property syntax?
      • From: Rick Mann <email@hidden>
References: 
 >clang 1.5 and property syntax? (From: Rick Mann <email@hidden>)
 >Re: clang 1.5 and property syntax? (From: Bill Bumgarner <email@hidden>)
 >Re: clang 1.5 and property syntax? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Can't change SDK
  • Next by Date: Re: why textFieldShouldBeginEditing is called twice in iOS4?
  • Previous by thread: Re: clang 1.5 and property syntax?
  • Next by thread: Re: clang 1.5 and property syntax?
  • Index(es):
    • Date
    • Thread