Declaration | Availability | Replacement | |
---|---|---|---|
From | - (instancetype)initWithType:(CPBarButtonType)type handler:(void (^)(CPBarButton * _Nonnull))handler | Available | none |
To | - (instancetype)initWithType:(CPBarButtonType)type handler:(CPBarButtonHandler)handler | Deprecated | -[CPBarButton initWithImage:handler:] or -[CPBarButton buttonWithTitle:handler:] |
Declaration | Availability | Replacement | |
---|---|---|---|
From | @property (nonatomic, readonly, assign) CPBarButtonType buttonType | Available | none |
To | @property (nonatomic, readonly) CPBarButtonType buttonType | Deprecated | -[CPBarButton initWithImage:handler:] or -[CPBarButton initWithTitle:handler:] |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -setRootTemplate:animated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -pushTemplate:animated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -popTemplateAnimated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -popToRootTemplateAnimated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -popToTemplate:animated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -presentTemplate:animated:completion: |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -dismissTemplateAnimated:completion: |
Protocols | |
---|---|
From | NSSecureCoding |
To | CPSelectableListItem |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | CPListItemAccessoryType |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | initWithText:detailText:image:accessoryImage:accessoryType: |
Declaration | |
---|---|
From | - (instancetype)initWithItems:(NSArray<CPListItem *> *)items header:(NSString *)header sectionIndexTitle:(NSString *)sectionIndexTitle |
To | - (instancetype)initWithItems:(NSArray<id<CPListTemplateItem>> *)items header:(NSString *)header sectionIndexTitle:(NSString *)sectionIndexTitle |
Declaration | |
---|---|
From | - (instancetype)initWithItems:(NSArray<CPListItem *> *)items |
To | - (instancetype)initWithItems:(NSArray<id<CPListTemplateItem>> *)items |
Declaration | |
---|---|
From | @property (nonatomic, readonly, copy) NSArray<CPListItem *> *items |
To | @property (nonatomic, readonly, copy) NSArray<id<CPListTemplateItem>> *items |
Availability | Replacement | |
---|---|---|
From | Available | none |
To | Deprecated | -[CPListItem listItemHandler] |