#import <V7GoogDriveControlbarView.h>
Definition at line 15 of file V7GoogDriveControlbarView.h.
◆ appear:()
- (void) appear: |
|
(CGRect) |
bound |
|
|
implementation |
Definition at line 47 of file V7GoogDriveControlbarView.m.
49 float viewWidth = bound.size.width;
50 NSLog(
@"Z7GoogDriveControlBar.appear: bound: %3.2f/%3.2f %3.2f/%3.2f",
51 bound.origin.x, bound.origin.y, bound.size.width, bound.size.height);
53 buttonSize = CGSizeMake(viewWidth * 0.50 - 4.0, 40.0);
54 [
self fillViewOnAppearance:self.bounds];
◆ clickRecipeButton()
- (void) clickRecipeButton |
|
|
|
|
implementation |
◆ fillViewOnAppearance:()
- (void) fillViewOnAppearance: |
|
(CGRect) |
parentBound |
|
|
implementation |
Definition at line 57 of file V7GoogDriveControlbarView.m.
57 : (CGRect) parentBound
59 float viewWidth = parentBound.size.width;
60 NSLog(
@"Z7GoogDriveControlBar.fillViewForDelegate: viewWidth: %3.2f", viewWidth);
61 buttonSize = CGSizeMake(viewWidth * 0.5, 40.0);
65 [
self setBackgroundColor:[UIColor orangeColor]];
66 [
self placeLoginButton];
68 [
self setBackgroundColor:[UIColor yellowColor]];
◆ heightRequirement()
- (float) heightRequirement |
|
|
|
|
implementation |
◆ initWithDelegate:andFrame:()
- (instancetype) initWithDelegate: |
|
(id<V7GoogDriveControlDelegate>) |
delegate |
andFrame: |
|
(CGRect) |
frame |
|
|
| |
Definition at line 30 of file V7GoogDriveControlbarView.m.
30 :(id<V7GoogDriveControlDelegate>) dele andFrame: (CGRect)frame
32 self = [
super initWithFrame:frame];
35 [
self setClipsToBounds:YES];
36 NSLog(
@"Z7GoogDriveControlbar.initWithDelegate: (%@) finish init", NSStringFromClass([
delegate class]));
id< V7GoogDriveControlDelegate > delegate
◆ placeLoginButton()
- (void) placeLoginButton |
|
|
|
Definition at line 72 of file V7GoogDriveControlbarView.m.
74 CGRect totalFrame =
self.frame;
75 float buttonWidth = 160.0;
80 CGRect signInButtonFrame = CGRectMake(totalFrame.size.width - buttonWidth - 12.0,
83 totalFrame.size.height -4.0);
93 _signInButton.layer.cornerRadius = 8;
94 _signInButton.layer.borderColor = [[UIColor blackColor] CGColor];
95 _signInButton.layer.borderWidth = 3.0;
96 _signInButton .clipsToBounds = YES;
98 NSLog(
@"Z7GoogDriveControlBar.placeLoginButton: init/size: %3.2f %3.2f", [_signInButton frame].size.width, [_signInButton frame].size.height);
99 [_signInButton setFrame:signInButtonFrame];
100 [
self addSubview:_signInButton];
id< GIDSignInDelegate > delegate
id< V7GoogDriveControlDelegate > delegate
instancetype sharedInstance()
id< GIDSignInUIDelegate > uiDelegate
Singleton interface to both core and remote data sources.
GIDSignIn * sharedInstance()
void configureGoogleSignIn()
◆ showRecipeOption:()
- (void) showRecipeOption: |
|
(Boolean) |
flag |
|
◆ userLoggedIn:()
- (void) userLoggedIn: |
|
(BOOL) |
flag |
|
◆ signInButton
The documentation for this class was generated from the following files: