AndroidDev
AndroidDev

Reputation: 16405

Compiling code on 10.8 with features of 10.9

I am using the following lines in my code.

EKAuthorizationStatus   authorizationStatus= [EKEventStore authorizationStatusForEntityType:EKEntityTypeEvent];

Now the above lines is available only in 10.9 + . How can let the code compile in 10.8 system ? In runtime i will surround the above checks with OS version. I need something that will block the code in a 10.8 system during compilation.

Kind Regards,

Upvotes: 1

Views: 29

Answers (1)

Droppy
Droppy

Reputation: 9731

By using the 10.9 SDK. As long as SDK >= Deployment Target then it will be fine and the host system used during development is not important.

Upvotes: 1

Related Questions