• 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: When did forward method references become legal?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When did forward method references become legal?


  • Subject: Re: When did forward method references become legal?
  • From: Thomas CLEMENT <email@hidden>
  • Date: Tue, 06 Mar 2012 19:52:57 +0100

This is new in Xcode 4.3.
https://devforums.apple.com/message/595028

On 6 mars 2012, at 19:14, Jens Alfke <email@hidden> wrote:

> I just discovered by accident that you no longer need to forward-declare an Obj-C method that's called above the source line where it’s implemented:
>
>    @implementation Foo
>    - (void) first { [self second]; }   // <—no longer a compile error
>    - (void) second { }
>
> I’m using Xcode 4.3; anyone know what version this was added in? I didn’t see anything relevant in the very cursory Xcode release notes or what’s-new document, and I couldn’t find any Clang release notes.
>
> —Jens
> _______________________________________________
> 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

 _______________________________________________
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


References: 
 >When did forward method references become legal? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Xcode - AN APPLE OPPORTUNITY!
  • Next by Date: Re: When did forward method references become legal?
  • Previous by thread: When did forward method references become legal?
  • Next by thread: Re: When did forward method references become legal?
  • Index(es):
    • Date
    • Thread