From a6f67e90b315736813712fc195b6b6c4468bbbdb Mon Sep 17 00:00:00 2001 From: ThePantsThief Date: Tue, 29 Dec 2015 04:22:41 -0600 Subject: [PATCH] drfutygiuhokji --- Pod/Classes/Model/SKUser.m | 4 ++-- Pod/Classes/Networking/SKClient+Snaps.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Pod/Classes/Model/SKUser.m b/Pod/Classes/Model/SKUser.m index d2af599..3a50c59 100644 --- a/Pod/Classes/Model/SKUser.m +++ b/Pod/Classes/Model/SKUser.m @@ -11,8 +11,8 @@ @implementation SKUser - (NSString *)description { - return [NSString stringWithFormat:@"<%@sees your stories=%d, is shared=%d, is local=%d, status=%lu, username=%@>", - NSStringFromClass(self.class), _canSeeCustomStories, _isSharedStory, _isLocalStory, self.friendStatus, self.username]; + return [NSString stringWithFormat:@"<%@sees your stories=%d, is shared=%d, is local=%d, status=%@, username=%@>", + NSStringFromClass(self.class), _canSeeCustomStories, _isSharedStory, _isLocalStory, @(self.friendStatus), self.username]; } #pragma mark - Mantle diff --git a/Pod/Classes/Networking/SKClient+Snaps.h b/Pod/Classes/Networking/SKClient+Snaps.h index 3e747e8..ebeca49 100644 --- a/Pod/Classes/Networking/SKClient+Snaps.h +++ b/Pod/Classes/Networking/SKClient+Snaps.h @@ -36,13 +36,14 @@ /** Marks a set of snaps as opened for the specified length at the given times. @param snaps An array of \c SKSnap objects. @param times An array of \c NSDate objects. + @param replayed An array of NSNumber booleans indicating whether the corresponding snap was replayed. @param secondsViewed An array of \c NSNumber objects. Try to use floating point nubmers. */ -- (void)markSnapsViewed:(NSArray *)snaps atTimes:(NSArray *)times for:(NSArray *)secondsViewed completion:(ErrorBlock)completion; +- (void)markSnapsViewed:(NSArray *)snaps atTimes:(NSArray *)times for:(NSArray *)secondsViewed replayed:(NSArray *)replayed completion:(ErrorBlock)completion; /** Marks a snap as screenshotted and viewed for \c secondsViewed seconds. @param secondsViewed The number of seconds the corresponding snap was viewed for. @param replayed An array of NSNumber booleans indicating whether the corresponding snap was replayed. @param completion Takes an error, if any. */ -- (void)markSnapScreenshot:(SKSnap *)snap for:(NSUInteger)secondsViewed replayed:(NSArray *)replayed completion:(ErrorBlock)completion; +- (void)markSnapScreenshot:(SKSnap *)snap for:(NSUInteger)secondsViewed completion:(ErrorBlock)completion; /** Loads a snap. @param completion Takes an error, if any, and an \c SKBlob object. */