Skip to content

Commit

Permalink
Minor improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
icepat committed Aug 23, 2013
1 parent 8297a0f commit f20f4e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion ICETutorial/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
ICETutorialLabelStyle *descStyle = [[ICETutorialLabelStyle alloc] init];
[descStyle setFont:TUTORIAL_DESC_FONT];
[descStyle setTextColor:TUTORIAL_LABEL_TEXT_COLOR];
[subStyle setLinesNumber:TUTORIAL_DESC_LINES_NUMBER];
[descStyle setLinesNumber:TUTORIAL_DESC_LINES_NUMBER];
[descStyle setOffset:TUTORIAL_DESC_OFFSET];

// Load into an array.
Expand Down
3 changes: 3 additions & 0 deletions ICETutorial/Libraries/ICETutorialController.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@ typedef void (^ButtonBlock)(UIButton *button);
- (void)startScrolling;
- (void)stopScrolling;

// State.
- (ScrollingState)getCurrentState;

@end
6 changes: 6 additions & 0 deletions ICETutorial/Libraries/ICETutorialController.m
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ - (void)stopScrolling{
_currentState = ScrollingStateManual;
}

#pragma mark - State management
// State.
- (ScrollingState)getCurrentState{
return _currentState;
}

#pragma mark - Overlay management
// Setup the Title Label.
- (void)setOverlayTitle{
Expand Down

0 comments on commit f20f4e5

Please sign in to comment.