Swift

A 2-post collection


RSS feed of posts tagged Swift

How to write a custom CoreData NSMergePolicy

Documenting Apple's undocumented and unclear code. Last month I encountered my first need for a custom CoreData merge policy and turned to the Apple documentation for guidance. There wasn't much and I was getting a weird crash that made no sense to me. »

A simple trick to reduce import statement clutter in Swift

Quite frequently I find myself needing to import a module to gain access to a type (usually a model), but I never interact with that module again. Recently I discovered »