Files
TGPassportKit/Example-iOS/Source/IdentityScopeViewController.h
Ilya Laktyushin 8b0f9a674a Version 1.1.0
- 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.
2018-08-27 13:15:57 +03:00

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