MacOSXプログラミング。毎日更新。 話題: Cocoa, Objective-C, Snow Leopard Stack Overflow より プロセス間で Core Data を共有するには? Is there a way of sharing a Core Data store between processes? - Stack Overflow Managed Object はスレッドセーフではないと明記されているので、ましてやプロセス間の共有は大変そうだ。 SQLite のロックを使うアイディアなどが出ていた。 Mac Dev Center: Core Data Programming Guide: Multi-Threading with Core Data 変数名のネーミング規約 Member variable naming conventions in Cocoa -
MacOSXプログラミング。毎日更新。 話題: Cocoa, Objective-C, Snow Leopard Snow Leopard から Sudden Termination(即時終了) が追加された。この仕組みを使うとシステム終了(シャットダウン)にかかる時間を短縮することができる。 Sudden Termination の仕組み アプリケーション毎に Sudden Termination(即時終了)を有効・無効にすることができて、有効の場合はシャットダウン時にシステムが通常の終了手順をすっ飛ばしてそのアプリケーションを強制終了することができる。多くのアプリケーションが Sudden Termination を有効にしていれば、結果としてシャットダウン時間を短縮することができる。 Sudden Termination の有効・無効はアプリケーションが実行途中に変更することができる
無為空間 むいむい(´ω`*) Entries Snow LeopardとNSOperationQueue タグ: Objective-C Mac NSOperation Snow LeopardでGrand Central Dispatchが導入され、はたしてNSOperationQueueはどうなったのか。 Mac Dev Center: NSOperationQueue ClassReference In Mac OS X v10.6 and later, operation queues use the libdispatch library (also known as Grand Central Dispatch) to initiate the execution of their operations. 「Mac OS X 10.6以降のNSOperationQueueの中
Please note: this article is part of the older "Objective-C era" on Cocoa with Love. I don't keep these articles up-to-date; please be wary of broken code or potentially out-of-date information. Read "A new era for Cocoa with Love" for more. This post is about getting extra information from your program at runtime. Xcode and gdb both support a wide range of information access tools — but you need
(Article count: 4095) Articles about programming in Cocoa are many and in many places. The majority of them are of very high quality. To help out, I made this collected index, searchable by title or by article content. This page is very easy to maintain, so please email me any other articles out there that I've missed. Of course, make sure you also know about Apple's Cocoa docs! Also note that the
Please note: this article is part of the older "Objective-C era" on Cocoa with Love. I don't keep these articles up-to-date; please be wary of broken code or potentially out-of-date information. Read "A new era for Cocoa with Love" for more. In this post, I'll show you how you can serve a Core Data document over a network using NSConnection. This arrangement will never be as efficient or safe as w
アプリケーションをログイン時に自動起動するようにしたい。ユーザ自身が手動で行うのではなく、プログラム側で制御するにはどうやったら良いのか。 手動で行う場合 システム環境設定のアカウント-ログイン項目を開きアプリを指定すれば次回ログイン時から有効となる。 LaunchService - Shared File Lists ネットで調べたところいくつか方法があることがわかった。 まず Mac Dev Center より。 Mac Dev Center: System Startup Programming Topics: Customizing Login and Logout いくつか方法があるようだ。 LauchService の Shared File Lists を使う(Mac OS X v10.5以上) Apple Events を使う(MacOSX v10.5以前) CFPrefe
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く