PTSavedCountGroupsViewControllerDelegate
@protocol PTSavedCountGroupsViewControllerDelegate <NSObject>
A delegate used to respond to events from a PTSavedCountGroupsViewController
instance.
-
Notifies the delegate when the user wishes to create a new group.
Declaration
Objective-C
- (void)savedCountGroupsViewControllerCreateNewGroup: (nonnull PTSavedCountGroupsViewController *) savedCountGroupsViewController withCompletionHandler: (nonnull void (^)(void))completionHandler;
Swift
func savedCountGroupsViewControllerCreateNewGroup(_ savedCountGroupsViewController: PTSavedCountGroupsViewController) async
-
Notifies the delegate when the user wishes to edit an existing group.
Declaration
Objective-C
- (void)savedCountGroupsViewControllerEditGroup: (nonnull PTSavedCountGroupsViewController *) savedCountGroupsViewController AtIndex:(int)index withCompletionHandler: (nonnull void (^)(void))completionHandler;
Swift
func savedCountGroupsViewControllerEditGroup(_ savedCountGroupsViewController: PTSavedCountGroupsViewController, at index: Int32) async
-
Notifies the delegate when the user wishes to delete an existing group.
Declaration
Objective-C
- (void)savedCountGroupsViewControllerDeleteGroup: (nonnull PTSavedCountGroupsViewController *) savedCountGroupsViewController AtIndex:(int)index withCompletionHandler: (nonnull void (^)(void))completionHandler;
Swift
func savedCountGroupsViewControllerDeleteGroup(_ savedCountGroupsViewController: PTSavedCountGroupsViewController, at index: Int32) async
-
Notifies the delegate when a group is selected.
Declaration
Objective-C
- (void)savedCountGroupsViewControllerDidSelectStyleAtIndex:(int)index;
Swift
func savedCountGroupsViewControllerDidSelectStyle(at index: Int32)