書いたというかFacebookのiOS SDKをベースに汎用的にしてみた。 ソースはこちら→YKOAuth at master from yuyak/YKKit – GitHub。 機能 すべてのOAuthに対応(たぶん) 自動でKeychainに登録 FacebookのOAuth認証みたいなダイアログなのできれい 使い方 YKOAuth *oauth = [[YKOAuth alloc] initWithKey:@"Twitter" consumerKey:@"YOUR_CONSUMER_KEY" consumerSecret:@"YOUR_CONSUMER_SECRET" site:@"http://twitter.com" requestTokenPath:@"/oauth/request_token" accessTokenPath:@"/oauth/access_token" a
この文章は、 http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/で掲載されている「Learn Vim Progressively」の翻訳文です。 文内の全てはの筆者による物であり、訳文の内容については私による物となります。意訳が若干入っています。間違い等あればご連絡下さい。 tl;dr: 可能な限り速くvim(人類史上、最良と知られているテキストエディタ)を習得したい。その方法を提案する。生き残るには最小を学ぶ事から始め、その後徐々にトリックを混ぜて行く。 Vim 60億ドルのテキストエディタ 優れいて、強く、そして速い vimを学ぶ事、それはあなたあなたが学ぶ最後のテキストエディタになるでしょう。私が知る限りより優れたテキストエディタはない。学ぶのは難しいが、使うと素晴らしい。 4つのステップで学ぶ事をお勧めす
NSDate の時間を比較する時、compare: を使いますが、NSOrderedSame を返さない気配。 検証プログラム void fn (NSString* sel,NSDate* olddate,NSDate* fndate) { SEL slt = NSSelectorFromString(sel); NSDate* ch = [olddate performSelector:slt withObject:fndate]; NSLog(@"olddate[%@] %@ fndate[%@] => %@", olddate, sel, fndate, ch); } void NSDateCompareResultOutput(NSComparisonResult result, NSDate* date1, NSDate* date2) { NSString* str = @""
The web today is a growing universe of interlinked web pages and web apps, teeming with videos, photos, and interactive content. What the average user doesn't see is the interplay of web technologies and browsers that makes all this possible.� Over time web technologies have evolved to give web developers the ability to create new generations of useful and immersive web experiences. Today's web is
自分のプログラミング脳をプログラムにして、いつかプログラミングから脱出してやるぞっ!とか夢見ながら、日々プログラム作っていく 百野 貴博 の日記です!今は、屋号『百蔵。』として、Silverlight・WPFを追跡中です! (2007/09/30) JavaScriptのクロージャーを解説した、What's a Closure? という素晴らしいエントリーを見つけましたので、翻訳に挑戦してみました!(`・ω・´)9m これは凄く分かりやすかったです! クロージャーって何だろうって思っている方なら、きっと 「あぁ。クロージャーってそんな感じなんだ。素敵(*´д`*)」 ってなるんじゃないかと思います! 内容は12の章に分かれていて、本家サイトでは章の終わりにコードを書くミニテストが用意されています。 これも、とても勉強になります。 面白そうだけど、英語読むのはちょっとパワーも時間もかかるし面
Update: This document is for Xcode on Mac OS X 10.5 Leopard. If you are using the latest Xcode 3.2 on Mac OS X 10.6 Snow Leopard then you should instead go to the Xcode Shortcuts for 3.2 on Mac OS X 10.6 Snow Leopard instead. Xcode Shortcuts (PNG) Xcode Shortcuts (PDF) Xcode Shortcuts (Black & White PNG) Xcode Shortcuts (Black & White PDF) Inspired by the Des Moines Cocoaheads Group discussion on
jQuery 1.6.3 is now out! This is the third minor release on top of jQuery 1.6 and lands a number of fixes for bugs, as listed below. As usual, we provide two copies of jQuery, one minified and one uncompressed (for debugging or reading). jQuery 1.6.3 Minified jQuery 1.6.3 Uncompressed You can help us by dropping that code into your existing application and letting us know if anything no longer wor
tl;dr At Pivotal we wrote Cedar because we use and love Rspec on our Ruby projects. Cedar isn't meant to replace or compete with OCUnit; it's meant to bring the possibility of BDD-style testing to Objective C, just as Rspec pioneered BDD-style testing in Ruby, but hasn't eliminated Test::Unit. Choosing one or the other is largely a matter of style preferences. In some cases we designed Cedar to ov
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く