Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fixed AFImageResponseSerializer serialization macros on watchOS and tvOS #3229

Merged
merged 2 commits into from Dec 16, 2015
Merged

Fixed AFImageResponseSerializer serialization macros on watchOS and tvOS #3229

merged 2 commits into from Dec 16, 2015

Conversation

lessthanyouthink
Copy link
Contributor

… as well as a couple other missing preprocessor checks for tvOS and watchOS in that class. See: https://github.com/AFNetworking/AFNetworking/issues/3228

… as well as a couple other missing preprocessor checks for tvOS and watchOS.
@codecov-io
Copy link

Current coverage is 69.83%

Merging #3229 into master will increase coverage by +0.06% as of 98014b4

@@            master   #3229   diff @@
======================================
  Files            5       5       
  Stmts         3027    3027       
  Branches         0       0       
  Methods                          
======================================
+ Hit           2112    2114     +2
  Partial          0       0       
+ Missed         915     913     -2

Review entire Coverage Diff as of 98014b4

Powered by Codecov. Updated on successful CI builds.

@@ -747,7 +747,7 @@ - (void)encodeWithCoder:(NSCoder *)coder {
- (instancetype)copyWithZone:(NSZone *)zone {
AFImageResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];

#if TARGET_OS_IOS || TARGET_OS_TV
#if TARGET_OS_IOS || TARGET_OS_TV | TARGET_OS_WATCH
Copy link
Contributor

Choose a reason for hiding this comment

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

missing a |

@kcharwood
Copy link
Contributor

I wish Apple gave us a watchOS test target!

Thanks. I left a comment on one issue to fix, and then I'll get this merged in.

🍻

@kcharwood kcharwood changed the title Fixed AFImageResponseSerializer serializing on watchOS (issue #3228)… Fixed AFImageResponseSerializer serializing on watchOS Dec 15, 2015
@kcharwood kcharwood added this to the 3.0.3 milestone Dec 15, 2015
@lessthanyouthink
Copy link
Contributor Author

Whoops, good catch 🙂

@kcharwood
Copy link
Contributor

@lessthanyouthink Could you push up a fix for that typo? After that, I'll get it merged in.

@lessthanyouthink
Copy link
Contributor Author

Sorry about the delay, I was waiting until I got back in front of my main computer. Done!

kcharwood added a commit that referenced this pull request Dec 16, 2015
…onse-serialization

Fixed `AFImageResponseSerializer` serializing on watchOS
@kcharwood kcharwood merged commit 73df7b9 into AFNetworking:master Dec 16, 2015
@kcharwood
Copy link
Contributor

Thanks 🍻

@kcharwood kcharwood changed the title Fixed AFImageResponseSerializer serializing on watchOS Fixed AFImageResponseSerializer serialization macros on watchOS and tvOS Dec 16, 2015
@lessthanyouthink lessthanyouthink deleted the fix-watchOS-image-response-serialization branch December 16, 2015 20:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants