Re: When did forward method references become legal?
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