- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
コマンドの実行はコンソール( ctrl + ` で開ける)で以下を実行する:
view.run_command('example')
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:url]]; | |
AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) { | |
if (self.item_page == 1 && !JSON) { | |
[UIUtilitiy hideActivityIndicator]; | |
[UIUtilitiy showAlert:@"error" text:@"見つかりませんでした"]; | |
return; | |
} | |
if (JSON) { | |
[self.items addObjectsFromArray:[[[NSMutableArray alloc]initWithArray:JSON]autorelease]]; | |
self.not_found = NO; |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |