Captainup
2.4
|
Instance Methods | |
(nonnull instancetype) | - initWithSourceDictionary:badgeProgressDictionary:andDate: |
(BOOL) | - isEqualToBadgeProgressDictionary: |
(nonnull CPTBadgeProgressDictionary *) | - findCompletedBadges |
(nonnull CPTBadgeProgressDictionary *) | - findIncompleteBadges |
(nullable id< CPTBadgeProgress >) | - objectForKey: |
(void) | - setObject:forKey: |
![]() | |
(nonnull instancetype) | - initWithDictionary: |
(nonnull NSDictionary< NSString *, id > *) | - toDictionary |
Properties | |
< CPTObject > NSDate * | lastUpdateDate |
![]() | |
double | progress |
NSUInteger | completedConditionsCount |
NSDictionary< NSString *, id< CPTConditionProgress > > * | conditionProgress |
NSUInteger | timesCompleted |
NSDate * | completedDate |
NSDictionary< NSString *, id< CPTRewardProgress > > * | rewardProgress |
![]() | |
NSDictionary< NSString *, id > * | sourceDictionary |
- (nonnull CPTBadgeProgressDictionary *) findCompletedBadges |
Find completed badges
- (nonnull CPTBadgeProgressDictionary *) findIncompleteBadges |
Find Incomplete badges
- (nonnull instancetype) initWithSourceDictionary: | (nonnull NSDictionary< NSString *, id > *) | source | |
badgeProgressDictionary: | (nonnull NSMutableDictionary< NSString *, id< CPTBadgeProgress >> *) | dic | |
andDate: | (nonnull NSDate *) | lastUpdated | |
Initialize
source | Badge Progress source Dictionary |
dic | dic Badge Progress Dictionary |
lastUpdated | badge progress last updated data |
- (BOOL) isEqualToBadgeProgressDictionary: | (nonnull CPTBadgeProgressDictionary *) | other |
Check equality of CPTBadgeProgressDictionary
other | other CPTBadgeProgressDictionary object |
- (nullable id<CPTBadgeProgress>) objectForKey: | (nullable NSString *) | aKey |
Find object of bage id
aKey | aKey Badge id |
- (void) setObject: | (nonnull id< CPTBadgeProgress >) | anObject | |
forKey: | (nonnull NSString *) | aKey | |
Set object of bage id
anObject | CPTBadgeProgress bage progress with badge id |
aKey | NSString bage id |
|
readnonatomicassign |
last updated badge