Skip to content

Commit

Permalink
修改例子
Browse files Browse the repository at this point in the history
  • Loading branch information
xhzengAIB committed Aug 21, 2014
1 parent c0cfa35 commit 817e402
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,38 @@
<Bucket
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "XHTwitterPaggingViewerExample/XHTableViewController.m"
timestampString = "430291591.013728"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "48"
endingLineNumber = "48"
landmarkName = "-viewDidAppear:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "XHTwitterPaggingViewerExample/XHTableViewController.m"
timestampString = "430291591.795502"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "44"
endingLineNumber = "44"
landmarkName = "-viewWillAppear:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

[self.window makeKeyAndVisible];

[twitterPaggingViewer setCurrentPage:2 animated:NO];
// Setup Default Page
// [twitterPaggingViewer setCurrentPage:2 animated:NO];


[self performSelector:@selector(setCurrentPage) withObject:nil afterDelay:3];

return YES;
}

- (void)setCurrentPage {
[twitterPaggingViewer setCurrentPage:5 animated:YES];
[self performSelector:@selector(setCurrentPage) withObject:nil afterDelay:3];
}

- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Expand Down

0 comments on commit 817e402

Please sign in to comment.