8b0f9a674a
- Added support for new scope types and the ability to provide scope with a raw JSON string. - Replaced the payload parameter with the new parameter nonce, which serves the same function, to make the purpose more obvious. - Updated iOS & macOS examples to support the new functionality. - Added Persian localization.
15 lines
435 B
Objective-C
15 lines
435 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@class ComplexScope;
|
|
|
|
@interface IdentityScopeViewController : UITableViewController
|
|
|
|
@property (weak, nonatomic) IBOutlet UISwitch *oneOfSwitchView;
|
|
@property (weak, nonatomic) IBOutlet UISwitch *selfieSwitchView;
|
|
@property (weak, nonatomic) IBOutlet UISwitch *translationSwitchView;
|
|
|
|
@property (nonatomic, copy) void (^finishedWithScope)(ComplexScope *);
|
|
- (void)updateWithScope:(ComplexScope *)scope;
|
|
|
|
@end
|