Company
Date Published
Author
Boris Bügling
Word count
901
Language
English
Hacker News points
None

Summary

This article discusses the challenges and limitations of using Core Data with Swift in iOS development, highlighting several key issues such as the need for manual entity name determination, optional property handling, and dynamic behavior that breaks certain Swift features. The authors provide workarounds and hacks to overcome these issues, including adding a simple C file to fool the compiler into believing a missing function exists, and avoiding override of managed variables. Despite its rough edges, using Core Data with Swift is possible with knowledge of these limitations and workarounds.