Quantcast
Channel: Core Data – Michael Tsai
Browsing all 217 articles
Browse latest View live

Text Replacements Do Not Sync

Brian Stucki (tweet): In iOS 6 (2012), syncing between Mac and iOS devices was introduced. At least that is when Apple said it was introduced. I have yet to see the feature roll out. Therein lies the...

View Article


iOS 11 Smart Punctuation and Null Characters

Gabriel Hauber: iOS 11 + smart punctuation: two dashes = en-dash. Three dashes = en-dash + null-byte? Why? Big problems with this and core data: if you store a string where user entered three dashes,...

View Article


When Swift Makes You Use “throws” Instead of “rethrows”

Brent Royal-Gordon: rethrows lets you specify that a function can only throw if one of the functions passed to it as a parameter can throw. It enforces this by only allowing try to be applied to calls...

View Article

The Laws of Core Data

Dave DeLong (tweet): In my conversations with developers, I’ve heard a pretty common theme from them that “Core Data is hard” or “Core Data is buggy” or “I could never get it to work right and gave up...

View Article

WWDC 2018 Links

General: Keynote Schedule Beta Downloads (Xcode 10, Xcode 10 Release Notes) Preview: Mark Gurman (tweet, MacRumors) Steve Troughton-Smith (MacRumors) Tripp Mickle Customer Pages: iOS 12 Preview macOS...

View Article


The History of Aperture

Stephen Hackett: Even here in 2018, RAW files can be difficult to deal with due to their size. In 2005, they were all but impossible to manage. Aperture set out to fix that, as Apple’s website...

View Article

PhotoKit’s Core Data Model

Ole Begemann: In my quest to understand the Photos framework better (especially its performance characteristics), I wanted to inspect its data model. I found a file named...

View Article

iOS 12 and Core Data External Binary Data Storage

rodhan: On iOS 12, binary data stored in Core Data with the External Storage option gets corrupted/goes missing on every second save of the context. Others seem to be encountering the same issue....

View Article


Effective Core Data With Swift

Tom Harrington (PDF): Core Data brings a lot of power to an app and continues to evolve, but it can have rough spots when you’re working in Swift. What if you want to save an enum pr a struct? Does it...

View Article


OmniFocus Data Storage

Ken Case: OmniFocus uses compressed XML transaction files to store its data, with a SQL cache for efficient access. (Each time you update the application, we rebuild the SQL cache to ensure that it’s...

View Article

Clouds

James Fallows: How could big tech companies offer cloud services to hundreds of millions of people without better guarding their data against catastrophic loss? On Google’s side, one explanation...

View Article

Core Data, Document-Based Application, and Sandboxing

Christian Kienle: The save fails because the underlying SQLite library created temporary files on behalf of Core Data. You may have seen a file like this. Usually this file has the suffix “-journal”....

View Article

Sandboxing Core Data and Migrations

Samuel Williams: As Property Manager acquires new features (in this case, additional tagging and notation facilities), the data model needs to be updated. This in turn depends on CoreData to migrate...

View Article


Adopting Concurrent Opening for Core Data-Based Documents

Mike Abdullah: It’s pretty nifty, but the NSPersistentDocument docs make no mention of support for [Concurrent Document Opening] (admittedly they don’t disavow it either), and I suspect it wouldn’t...

View Article

TICoreDataSync

TICoreDataSync (via Clark Goble) is the open-source syncing engine that allows MoneyWell to sync via Dropbox. Here’s an overview of how it works: TICoreDataSync adds synchronization capabilities to...

View Article


Apple’s Next Battleground

John Gruber: A big area where iCloud is falling short is for third-party developers. The tip of the iceberg is the out-of-the-box experience — the iCloud features supported by the apps built into iOS....

View Article

Money Apps Removing Core Data iCloud Sync

Giedrius Jaloveckas: After a rather frantic month of dealing with the unfortunate iCloud sync, we made an always-difficult decision: to do a U-turn. New versions of all three Money apps are currently...

View Article


Wasabi Sync

Wasabi Sync is a cloud service and framework for Core Data syncing, for those who don’t want to use iCloud. Unlike TICoreDataSync, it is closed source and can be accessed without Core Data via a...

View Article

ListBook/BudgetBook and Core Data iCloud Sync

noidentity (via Daniel Pasco): So after one year fight and trouble we have decided to remove iCloud from ListBook in the next version and wait until Apple shows us a working solution. The same thing...

View Article

Why All My iOS Apps Are on Hold

MOApp Software Manufactory on iCloud’s Core Data syncing: It hasn’t worked for over two years now and I am the one feeling ashamed every time I have to give the same ridiculous answer why I still...

View Article
Browsing all 217 articles
Browse latest View live