Accela SDK for iOS
V3.0
|
00001 // 00002 // AMLoginView.h 00003 // TestCase 00004 // 00005 // Created by Alan on 12/7/12. 00006 // 00007 // 00008 00009 #import <UIKit/UIKit.h> 00010 00011 @protocol AMLoginViewDelegate; 00012 00013 00014 @interface AMLoginView : UIView 00015 00019 @property (nonatomic, assign) IBOutlet id<AMLoginViewDelegate> delegate; 00020 00021 - (id)initWithPermissions:(NSArray *)permissions; 00022 00023 @end 00024 00025 00026 @protocol AMLoginViewDelegate <NSObject> 00027 00028 @optional 00029 00035 - (void)loginViewShowingLoggedInUser:(AMLoginView *)loginView; 00036 00044 - (void)loginViewFetchedUserInfo:(AMLoginView *)loginView 00045 user:(NSDictionary *)user; 00046 00052 - (void)loginViewShowingLoggedOutUser:(AMLoginView *)loginView; 00053 00054 @end