Objective-Cのリテラル強化きた。 NSArray *array = [NSArray arrayWithObjects: @0, @23, @3.1415, @YES, nil]; int値、float値や BOOL値 に @ を付けると NSNumberに変更され...
Working with hugedomains.com was a quick and easy process. We got to speak to multiple real people located in Colorado without having to wait on hold! Our only complaint was we felt we had to overpay more than this particular domain was worth, and we weren't able to negotiate it down to a level that we felt was fair. However, payment and delivery were seamless, and within a few hours we had all of
The article describes the HTML5 IndexedDB API and how to use it. Download source code - 1.31 KB Introduction One of the new JavaScript APIs that HTML5 has to offer is the IndexedDB API. In the past, I wrote a post about the Web Storage API which is a simple key/value dictionary that is stored in the web browser and persists data. IndexedDB is a full blown index database which adds more offline cap
iOSの開発を行う上でメモリリークが非常に気になるところです。 Objective-Cの参照カウンタの仕掛けでいづれは開放されるとしてもdeallocが走るタイミングは検知しておきたいものです。 Xcodeには便利なbreakpointの機能が用意してあり、deallocの確認にオススメしたいのはサウンドアクションの設定です。(※Xcode4で説明しています) breakpointを右クリックし「edit breakpoint」を選択します。 Actionを「Sound」に設定し、音の種類を選びます。 ソースの実行を途中で止めたくない場合はOptionsにチェックを入れておきます。 (※音がなるだけでストップしない) 絶対にリークさせたくないオブジェクトなどに適宜設定しておくとよいです。 音の種類も10種類以上あるので使い分けも行えると思います。
2004 01 02 03 04 05 06 07 08 09 2004年9月:1エントリ 10 2004年10月:1エントリ 11 2004年11月:1エントリ 12 2004年12月:1エントリ 2005 01 02 03 04 2005年4月:13エントリ 05 2005年5月:18エントリ 06 2005年6月:28エントリ 07 2005年7月:42エントリ 08 2005年8月:39エントリ 09 2005年9月:41エントリ 10 2005年10月:22エントリ 11 2005年11月:20エントリ 12 2005年12月:35エントリ 2006 01 2006年1月:12エントリ 02 2006年2月:6エントリ 03 2006年3月:10エントリ 04 2006年4月:17エントリ 05 2006年5月:9エントリ 06 2006年6月:12エントリ 07 2006年7
Releases, Offers & More Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase. Newsletter Sign Up Download Accounts Your email address is your account identifier. You can create a password, or just download from the links sent via email. My Orders (Resend order emails) How We're Different Hands-on instructions Solutions to real-worl
IE 9以下に存在するセレクター数制限にはまった 開発中にいきなりCSSが壊れて原因を探っていたらこれに行き着きました。IE 9以下では1つのCSSファイル当たり4,095個までしかセレクターを認識しない。4,096個以上は無視される。ええええ。。 SCSSだと割とカジュアルにセレクター数が増える CSSは出来るだけ1ファイルにまとめたい(リクエスト数削減のため) との組み合わせがやばい。SCSSはセレクターが他のページに影響しないように以下のように書いていました。 // 共通部分 @mixin foo { color: red; .foo { font-size: 2em; // たくさんの指定… ... } } // 影響範囲を以下のページのみに限定したい #page-a { @include foo; } #page-b { @include foo; color: yellow;
Tips on Migrating from Arc to Zen I'm switching browsers due to The Browser Company's recently announced change in direction. Here's some migration tips I encountered switching from Arc to Zen. Is Generative Artificial Intelligence Useful? And Moral? There are a ton of difficult questions to answer around generative AI. Is it useful and how useful is it? And is it moral both in the way it is built
HTML5とWebGL 初めにHTML5の位置づけについて簡単に触れます。HTML5とはこれまでのWebページ作成言語で主流だったHTML4やXHTMLの後継言語のことで、 2008年に草案がまとめられ、2014年までにウェブブラウザ各社への正式勧告を目指して策定が進められています。 HTML5は 2012年1月でもまだ「草案」段階で、仕様も流動的な準備段階であるが、開発側からもユーザ側からも非常に注目が集められています。 その大きな理由の一つに挙げられているのが、iPhoneやAndroidなどのスマートフォンの台頭による情報端末の多様化への対応のためです。つまり、様々なWEBコンテンツのクロスプラットフォーム化への重要な貢献が期待されているからです。 というのもスマートフォンの登場までは、Adobe社が提供する FLASH が動画やオーディオなどが組み合わされたマルチメディアコンテンツ
iOS 4プログラミングブックはBlocksについて分かりやすく書いてある。 ●Blocksとは いわゆるクロージャ。 関数内で宣言できるいわゆる無名関数だが、ただの無名関数ではない。 引数以外に外側のスコープのローカル変数を参照出来る。 前に^が付いているのがBlock構文である。 戻り値がvoidなので省略が可能で ^(int arg) { /* Block処理 */ }; としたが、省略しない場合は void ^(int arg) { /* Block処理 */ }; となる。 ちなみに引数もvoidなら更に省略できて ^{ /* Block処理 */ }; と記述出来る。 下のコードでは変数fnにBlockを代入し、aとbをインクリメントした後でfnを関数ポインタの様に呼び出している。 // int a = 1, b = 1; void (^fn)(int) = ^(int arg
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く