2013-07-26から1日間の記事一覧
Extracting Data From Strings - NSScreencast 文章から文字列を抽出する NSRegularExpression regularExpressionWithPattern:@"^Name:\s*?(.+)" options:NSRegularExpressionCaseInsensitive \w, \s enumerateMatchesInString usingBlock [input substringW…
A Tale of UIScrollView Customization - NSScreencast 画面半分のTableViewが上下にスクロールする UIScrollView .frame.origin.y .frame.size.height self.tableView.tableHeaderView = self.filterView; UIScrollViewDelegate scrollViewDidScroll MAX(0,…
OAuth2 - NSScreencast InstagramでOAuth2使って画像を取得 OAuth1.0 cumbersome to implement client side implicit authentication response_type=token NSURL URLWithString [[UIApplication sharedApplication] openURL:url]; include token every reque…