Home New Trending Search
About Privacy Terms
#
#CoreData
Posts tagged #CoreData on Bluesky
Preview
Core Data Agent Skill: Now available open-source Learn about the Core Data Agent Skill, a resource for developers using the traditional Core Data framework effectively.

🧠 𝐶𝑜𝑟𝑒 𝐷𝑎𝑡𝑎 𝐴𝑔𝑒𝑛𝑡 𝑆𝑘𝑖𝑙𝑙 by Antoine van der Lee (@avanderlee.com)

Working on an app with 𝐶𝑜𝑟𝑒𝐷𝑎𝑡𝑎? This open-source AI skill guides your agents to follow well-established patterns.

#CoreData #Swift #AI

www.avanderlee.com/ai-developme...

2 0 0 0
Preview
They Asked Me “How Do You Abstract Your Data Layer?” The Repository Pattern in Swift: clean architecture, real code, and the interview answers that separate mid-level developers from seniors

I just published They Asked Me ‘How Do You Abstract Your Data Layer?’ medium.com/p/they-asked...
#iOSDevelopment #Swift #CleanArchitecture #RepositoryPattern #iOSInterview #MVVM #SwiftUI #Combine #SwiftConcurrency #MobileDevelopment #SoftwareArchitecture #TechInterview #iOSDev #CoreData #URLSession

2 0 0 0
Beer Diary version 2.4 released Stuff about iOS development, Linux and more

And here is the blog post detailing the changes.

smork.info/blog/posts/b...

#ios #swift #swiftui #coredata #cloudkit

0 0 0 0
Beer Diary version 2.3.3 released Stuff about iOS development, Linux and more

And (better late than never) here is the blog post detailing the changes. It also includes some development background information in case you're interested.

smork.info/blog/posts/b...

#ios #swift #swiftui #coredata #cloudkit

1 0 0 0

I am still checking, butI think that I have encountered this:

developer.apple.com/forums/thr…

#CoreData presumably created a new CloudKit CKAsset field for an `externalStorage` property at runtime when it encountered an asset that is too large for the database. This causes ... 1/2

1 0 1 0
A picture showing an EOF stack. An RDBMS at the bottom, EOAccess which wraps the SQL above, then EOControl which manages the models, EOInterface which can bind stuff together, and finally AppKit, doing the actual presentation.

A picture showing an EOF stack. An RDBMS at the bottom, EOAccess which wraps the SQL above, then EOControl which manages the models, EOInterface which can bind stuff together, and finally AppKit, doing the actual presentation.

I think a key mistake people make when thinking about #CoreData or #SwiftData is primarily considering them a "storage technology". Yes, that is also a part and the thing SQLite wrappers etc also do. But the bigger thing is the "control" layer which maintains […]

[Original post on mastodon.social]

1 0 1 0
Preview
Core Data Migration Incident Analysis - The Hidden Traps We Overlooked Core Data model migration caused app freezes after updates? Learn how wal_checkpoint=PASSIVE leads to migration timeouts and how to avoid main thread blocking with background initialization and WAL…

🚧 𝐶𝑜𝑟𝑒 𝐷𝑎𝑡𝑎 𝑀𝑖𝑔𝑟𝑎𝑡𝑖𝑜𝑛 𝐼𝑛𝑐𝑖𝑑𝑒𝑛𝑡 𝐴𝑛𝑎𝑙𝑦𝑠𝑖𝑠 - 𝑇ℎ𝑒 𝐻𝑖𝑑𝑑𝑒𝑛 𝑇𝑟𝑎𝑝𝑠 𝑊𝑒 𝑂𝑣𝑒𝑟𝑙𝑜𝑜𝑘𝑒𝑑 by @fatbobman.com

Core Data migrations can be a minefield. This article shares a war story about a migration that went wrong, and how you can avoid the same fate.

#CoreData #Migration #iOS

3 1 1 0
Original post on mastodon.social

I've updated ManagedModels to use SwiftSyntax 601.0.1, which is available as a prebuilt binary. This brings down the build time of the ManagedToDos example from 1min 40s something to ... 7 seconds 🙂
(ManagedModels provides a #SwiftData like \@model macro for regular #CoreData) […]

0 0 1 0

I filed this feedback to make Enums better with SwiftData: FB19106719

@lucabernardi.com @curtclifton.net

I couldn’t find anyone working in the #CoreData or #SwiftData team so I ping you. Thanks you.

1 0 0 0

And here is the blog post detailing the changes.

smork.info/blog/posts/b...

#ios #swift #swiftui #coredata #cloudkit

1 1 0 0
Preview
How Core Data Saves Data in SQLite Explore how Core Data saves data in SQLite. Learn about tables, fields, persistent history tracking, and entity relationships. Understand Z_PK, Z_ENT, and more.

💾 𝘏𝘰𝘸 𝘊𝘰𝘳𝘦 𝘋𝘢𝘵𝘢 𝘚𝘢𝘷𝘦𝘴 𝘋𝘢𝘵𝘢 𝘪𝘯 𝘚𝘘𝘓𝘪𝘵𝘦 by @fatbobman.com

Ever wondered what Core Data is doing under the hood? This deep dive will make you feel like a database wizard.

#CoreData

2 0 1 0
Preview
Snapp Mobile iOS Newsletter 47 Issue 47 • July 4, 2025

𝗦𝗻𝗮𝗽𝗽 𝗠𝗼𝗯𝗶𝗹𝗲 𝗶𝗢𝗦 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿 #𝟰𝟳 🧠

This week, we're all about AI! Well, almost. Enjoy!

💡 𝘖𝘱𝘢𝘲𝘶𝘦 𝘛𝘺𝘱𝘦𝘴 𝘪𝘯 𝘚𝘸𝘪𝘧𝘵
🚀 𝘌𝘷𝘰𝘭𝘷𝘪𝘯𝘨 𝘢 𝘊𝘰𝘥𝘦𝘣𝘢𝘴𝘦
💾 𝘊𝘰𝘳𝘦 𝘋𝘢𝘵𝘢 𝘚𝘢𝘷𝘪𝘯𝘨
🧠 𝘈𝘱𝘱𝘭𝘦 𝘍𝘰𝘶𝘯𝘥𝘢𝘵𝘪𝘰𝘯 𝘔𝘰𝘥𝘦𝘭𝘴
🛠️ 𝘔𝘓𝘟-𝘖𝘶𝘵𝘪𝘭
💬 𝘍𝘰𝘶𝘯𝘥𝘢𝘵𝘪𝘰𝘯𝘊𝘩𝘢𝘵
✨ 𝘚𝘱𝘢𝘳𝘬𝘭𝘦 𝘋𝘪𝘴𝘵𝘳𝘪𝘣𝘶𝘵𝘪𝘰𝘯
🦙 𝘖𝘭𝘭𝘦𝘩

#Swift #CoreData #AI

1 0 0 1

Looks like CloudKit won 🤣

Anyone with knowledge of CoreData + CloudKit, can help me with weird issue that drives me nuts? ♥️

#SwiftUI #Help #CoreData

0 0 0 0
// Derivation that works
entries.@count

// Derivation that doesn't seem to work
SUBQUERY(entries, $entry, $entry.entityType == "BOTH").@count

// Derivation that works entries.@count // Derivation that doesn't seem to work SUBQUERY(entries, $entry, $entry.entityType == "BOTH").@count

I am working on trying to create some derived properties in my CoreData model to count the amount of entries for a tag based on entry type. I shared in the image the total count that is working but the subquery that is not working. Any help would be appreciated. #CoreData #iOSDev #BuildInPublic

3 0 0 0

Thanks for the reminder and great writeup about this, @corneliusmark.bsky.social 💡🙏

While I *technically* knew about this, I had honestly forgotten it behaves like this and it is quite important to be aware of this during development and testing! #iOSDev #CoreData

2 0 0 0
Beer Diary version 2.1 released Stuff about iOS development, Linux, C++ and more

And here is the blog post detailing the changes.

smork.info/blog/posts/b...

#ios #swift #swiftui #coredata #cloudkit

1 0 0 0

Has anyone encountered such a problem? Do we really need to worry about it? It seems like some SwiftData internal problem, as there is no way to work around it as there is in #CoreData.

0 0 1 0
Undo support for SwiftUI app with CoreData – Stefan Pauwels

Undo support for #SwiftUI app with #CoreData
stefan.pauwels.ch/2025/03/25/u...

0 0 0 0
Undo support for SwiftUI app with CoreData I didn’t find an official documentation on how to setup UndoManager for CoreData in SwiftUI. Here’s how I did it (soon available in Leviathan) for iOS and macOS. Insert managedObjectContext into the window as usual (no need to setup UndoManager here): @main struct LeviathanApp: App { var moc: NSManagedObjectContext = { let viewContext = PersistenceController.shared.container.viewContext return viewContext }() var body: some Scene { WindowGroup { LeviathanWindow() .environment(\.managedObjectContext, moc) } } } In the window, set the environment’s undoManager as the managedObjectContext’s undoManager. I have seen it not work when set in onAppear. Settings it in onChange(of: initial:true) works for me: struct LeviathanWindow: View { @Environment(\.managedObjectContext) private var moc @Environment(\.undoManager) var undoManager var body: some View { NavigationContainer() .onChange(of: undoManager, initial: true) { old, new in moc.undoManager = new } } }

Undo support for #SwiftUI app with #CoreData
stefan.pauwels.ch/2025/03/25/undo-support-...

0 1 0 0
Beer Diary version 2.0 released Stuff about iOS development, Linux, C++ and more

And here is the blog post detailing the changes. It also includes some development background information in case you're interested.

smork.info/blog/posts/b...

#ios #swift #swiftui #coredata #cloudkit

0 0 0 0
Post image Post image Post image Post image

क्या आप जानते हैं iOS ऐप्स कैसे बनते हैं?

MVC पैटर्न से लेकर कोर डेटा तक, स्विफ्ट और रिएक्ट नेटिव के साथ बेहतरीन ऐप्स डेवलप करने के राज़ जानें!

#iOSDevelopment #techtips #appdevelopment #swift #reactnative #coredata #techinhindi #apple #iphone #iPhoneLaunch

0 0 1 0

If that fails, I’ll switch to #CoreData, as there are much more materials on how to deal with it, not to mention it’s a mature framework. Now it’s time to at last rest before the new week! ☺️
#BuildInPublic #IndieDev #iOSDev

1 0 1 0

All that made me think, maybe #CoreData would be a better choice, but at this point I’m a bit afraid to change everything. On the other hand, it’d be better to do it now than after the official release, I guess.
#Swift #iOSApp #AppDevelopment

0 0 1 0

Dear #coredata #swiftlang people. It’s been a while since I’ve had to deal with migrations. IIRC back then model versions were mandatory, otherwise the app would crash in production (while doing fine in development).

I have a Swift5 app with a #cloudkit backed CoreData db.

2 2 1 0
Post image

SwiftUI Previews with #CoreData is easier than ever thanks to the new PreviewModifier protocol introduced at this year's WWDC.

I've mistakenly always thought it would only work for #SwiftData but it turns out it's perfectly fine for Core Data too! 😀

9 1 0 0
Post image

I want 2 things from a persistence framework:

1. Let the UI observe what's in the store in real time
2. Query the store in an efficient way

I've been using #SwiftData in the last few weeks.
It's nice for 1, but lacks 2 😞

#CoreData is still way better imo (but verbose 😂)

4 0 2 0
Preview
Date._unconditionallyBridgeFromObjectiveC(NSDate?) crash in Swift 3 I have following function in a swift file. I am calling this from Obj C file with NSDate in place of startDate. And quite often, not every time, my app crashes with Date.

Wow ok so #TIL that non optional types in Core Data can actually be nil! Looks like Strings and Ints can default to "" and 0, but if you use something like a Date or UUID it could just be nil at some stage in runtime 🤯

#swift #coredata #iOS #iosdev

stackoverflow.com/questions/44...

4 0 1 0
Preview
‎NFC.cool Business Card ‎Say hello to your ultimate Digital Business Card solution! Transform the way you network with our cutting-edge digital business card app, designed to streamline and modernize your professional interactions. Say goodbye to traditional paper cards and embrace the future of networking with a digital,…

Should I use #SwiftData or #CoreData for a new feature in business-card.nfc.cool? The app has deployment target iOS17. I want to use CloudKit and make some basic CRUD operations. I could limit this feature to iOS 18 users. What's your opinion on this?

#iOSDev #SwiftUI #SwiftDev

2 0 3 0
Preview
WWDC 2001 604 Introduction to Enterprise Objects Framework

I just had to pull up that song featuring @jamesdempsey again: https://youtu.be/-dY1S-txZpI?si=Ai7nC2wLCJcuWH4R&t=3628
#CoreData #EOF #SwiftData

0 0 0 0
Preview
Converting CoreData applications with lots of existing data to SwiftData SwiftUI/CoreData/SwiftData

I covered the hybrid use of CoreData and SwiftData and the conversion from CoreData to SwiftData in this article about Swift development. #Swift #SwiftData #CoreData #SwiftUI

backtosoftwaredevelopment.substack.com/p/converting...

2 0 0 0