On Jun 9, 2014, at 5:03 AM, Devarshi Kulshreshtha
wrote:
> Any ideas on how to properly use NS_DESIGNATED_INITIALIZER?
Are you using the Xcode 6 beta, and does your target use the OS X 10.10 or iOS
8 SDK?
If not, that keyword isn’t defined (it’s a preprocessor macro) and will cause a
syntax
On Jun 9, 2014, at 7:03 AM, Devarshi Kulshreshtha
wrote:
> I am trying to declare a designated initializer like this:
>
> - (instancetype)initWithDelegate:(id )delegate
> NS_DESIGNATED_INITIALIZER;
>
> But it is showing me this compilation error:
>
> Expected ':'
>
> Interestingly when I try
I am trying to declare a designated initializer like this:
- (instancetype)initWithDelegate:(id )delegate
NS_DESIGNATED_INITIALIZER;
But it is showing me this compilation error:
Expected ':'
Interestingly when I try to write it like this (reference link:
https://developer.apple.com/library/prer