As of October 1, 2023, LINE has been rebranded as LY Corporation. Visit the new blog of LY Corporation here: LY Corporation Tech Blog
Core Data has many features, one of which is the Transient attribute. This type of attribute on a Core Data entity is part of a data model, but is not persisted in your Core Data persistent store. If you open up the raw SQLite store file and peek at the schema, you will not find any transient attributes. These transient attributes are still handy despite no data being persisted to the data store.
Hi, I’m new here. You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written with the excellent Tim Isted) was published, and Matt invited me to contribute some Core Data tips to CIMGF. I’m going to start off discussing taking JSON data from a web service and converting it to Core Da
I know I mentioned we would talk about customizing the fetch requests, however, I have been working on some code related to the Active Record Fetching project, which I am renaming to MagicalRecord, that is also just as useful as fetching–threading. Whenever most cocoa developers mention threading and Core Data in the same sentence, the reaction I see most often is that of mysticism and disbelief.
Some notes I thought they are important, delivered to you from Hamburg design with ui in mind normalisation <-> denormalisation willful introduction of repetition for performance dont do inheritance put blogs where they belong prefetching to get attributes more instantly setrelationshipkeypathsforprefetching, pass nsarray with “Songs” … batching: only deal with whats needed [fetch setFetchBatchSi
データ件数は、Customerが 500件、Karteが6,000件(Customer1件につきKarte 12件)となっていて、それぞれを1つの CSVファイルへ書き出す。 処理は次のような感じになる。 NSMangedObjectContext* moc = [取得]; NSArray* customers = [moc Customer全件取得]; for (NSManagedObject* customer in customers) { NSArray* kartes = [moc Karte取得・条件:customer]; for (NSManagedObject* karte in kartes) { [CSV1行書き出し]; } }メモリのフットプリント(利用状況)はこんな感じ。 Customer, Karte を1件づつ読み込む度にメモリが消費され、フットプリントが増大し
Just finished with the iPhone Dev Con 2010 in San Diego and it was a very pleasant conference to go to. The organizers definitely have a nice balance and treated the speakers well. I enjoyed the trip and I hope that everyone who attended my sessions got something out of them. As I promised in the sessions, here are the slides and sample code. * [NSFetchedResultsController](http://cimgf.s3.amazonaw
10.09.01 Core Data Overview : 重要なクラス ものすごく便利な機能がたくさんあってもなかなか使いこなすのは大変なCore Data。基本の登場人物をまとめてみた。全体像が見えているとリファレンスガイドも楽に読めるようになるし、何より、「やりたいこと」があったとき、何を調べればよいかの見当がつくようになる。 ということで、まずは根っこからCore Dataの「仕組み」を把握しよう。 ここで紹介する主な登場人物は以下。 NSPersistentStoreCoordinator NSManagedObjectContext NSManagedObjectModel NSManagedObject NSEntityDescription NSFetchRequest ここまではMac OS, iOS共通。iOSでは上記以外にNSFetchedResultsControl
Core Data and Enterprise iPhone Applications – Protecting Your Data Introduction NewsGator’s primary software offering is a product called Social Sites which basically adds social networking aspects to Microsoft SharePoint. My role in this product is to create the iOS device apps that interact with the server. My app is pulling in a lot of data that an enterprise customer considers *very* sensitiv
MacOSXプログラミング。毎日更新。 話題: Cocoa, Objective-C, Snow Leopard (前回)Cocoaの日々: CoreData - Object ID(その3)Object ID から NSManagedObject を取得する Object ID から NSManagedObject を取得するメソッドは、前回の -[objectWithID:] を含め3つある。 クラス:NSManagedObjectContext - (NSManagedObject *)objectWithID:(NSManagedObjectID * - (NSManagedObject *)objectRegisteredForID:(NSManagedObjectID *)objectID - (NSManagedObject *)existingObjectWithID:(N
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く