-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for watchOS 2 #45
Conversation
@@ -79,7 +79,7 @@ - (instancetype)init | |||
_removeAllObjectsOnMemoryWarning = YES; | |||
_removeAllObjectsOnEnteringBackground = YES; | |||
|
|||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0 | |||
#if TARGET_OS_IPHONE && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !TARGET_OS_WATCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not still need a check to make sure __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm must of slipped out of the code when I was adding watch support. I have updated the PR
@@ -111,7 +111,7 @@ + (instancetype)sharedCache | |||
|
|||
- (void)didObserveApocalypticNotification:(NSNotification *)notification | |||
{ | |||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0 | |||
#if TARGET_OS_IPHONE && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !TARGET_OS_WATCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Here too :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.>_< good spot. I searched and found no more. Updated again :)
Added support for watchOS 2
Added support for watchOS 2