Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | CPSelectableListItem |
Declaration | Availability | Replacement | |
---|---|---|---|
From | @property (nonatomic, copy) CPListItemHandler listItemHandler | Available | none |
To | @property (nonatomic, copy) void (^)(__kindof CPBaseListItem * _Nonnull, dispatch_block_t _Nonnull) listItemHandler | Deprecated | -handler |
Declaration | |
---|---|
From | - (instancetype)initWithItems:(NSArray<__kindof CPBaseListItem *> *)items header:(NSString *)header sectionIndexTitle:(NSString *)sectionIndexTitle |
To | - (instancetype)initWithItems:(NSArray *)items header:(NSString *)header sectionIndexTitle:(NSString *)sectionIndexTitle |
Declaration | |
---|---|
From | - (instancetype)initWithItems:(NSArray<__kindof CPBaseListItem *> *)items |
To | - (instancetype)initWithItems:(NSArray *)items |
Declaration | |
---|---|
From | @property (nonatomic, readonly, copy) NSArray<__kindof CPBaseListItem *> *items |
To | @property (nonatomic, readonly, copy) NSArray *items |
Declaration | |
---|---|
From | - (NSUInteger)indexOfItem:(__kindof CPBaseListItem *)item |
To | - (NSUInteger)indexOfItem:(id<CPListTemplateItem>)item |
Declaration | |
---|---|
From | - (__kindof CPBaseListItem *)itemAtIndex:(NSUInteger)index |
To | - (id<CPListTemplateItem>)itemAtIndex:(NSUInteger)index |
Declaration | |
---|---|
From | - (NSIndexPath *)indexPathForItem:(__kindof CPBaseListItem *)item |
To | - (NSIndexPath *)indexPathForItem:(id<CPListTemplateItem>)item |
Declaration | |
---|---|
From | - (void)listTemplate:(CPListTemplate *)listTemplate didSelectListItem:(__kindof CPBaseListItem *)item completionHandler:(void (^)(void))completionHandler |
To | - (void)listTemplate:(CPListTemplate *)listTemplate didSelectListItem:(CPListItem *)item completionHandler:(void (^)(void))completionHandler |
Declaration | |
---|---|
From | - (instancetype)initWithTitle:(NSString *)title pointsOfInterest:(NSArray<CPPointOfInterest *> *)pointsOfInterest selectedIndex:(NSInteger)selectedIndex |
To | - (instancetype)initWithTitle:(NSString *)title pointsOfInterest:(NSArray<CPPointOfInterest *> *)pointsOfInterest selectedIndex:(NSUInteger)selectedIndex |
Declaration | |
---|---|
From | - (void)setPointsOfInterest:(NSArray<CPPointOfInterest *> *)pointsOfInterest selectedIndex:(NSInteger)selectedIndex |
To | - (void)setPointsOfInterest:(NSArray<CPPointOfInterest *> *)pointsOfInterest selectedIndex:(NSUInteger)selectedIndex |
Declaration | |
---|---|
From | @property (nonatomic) NSInteger selectedIndex |
To | @property (nonatomic, assign) NSUInteger selectedIndex |