Skip to content
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

Merged
merged 3 commits into from
Nov 23, 2015

Conversation

TimAEllis
Copy link

Added support for watchOS 2

@@ -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
Copy link
Collaborator

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?

Copy link
Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Here too :)

Copy link
Author

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 :)

garrettmoon added a commit that referenced this pull request Nov 23, 2015
@garrettmoon garrettmoon merged commit 48d16d7 into pinterest:master Nov 23, 2015
@ytok ytok mentioned this pull request Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants