• Stars
    star
    413
  • Rank 104,801 (Top 3 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Best Practices in Core Data explained within a demo application

Core Data Best Practices by Antoine van der Lee

Swift Version Twitter

Best Practices in Core Data explained within a demo application as presented during NSSpain.

Included in this project

  • Core Data Stack Setup
  • Fetched Results Controller
  • NSFetchRequests
  • Diffable Data Sources
  • Optimised saving
  • Constraints
  • Derived Attributes
  • Transformables
  • Validation
  • Life Cycle Events
  • Batch Insertions
  • Batch Deletions
  • Persistent History Tracking
  • Threading
  • Core Data and Combine
  • NSExpressionDescriptions
  • Unit Testing Core Data

Contributing

I would love for this project to grow as a source of best practices regarding Core Data. I'll try to add my own learnings to this project too. There are many sources available on the internet but we lack a bit of example code. Hopefully, this way, we make it easier to adopt best practices in Core Data.

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

License

Core Data Best Pratices is available under the MIT license, and uses source code from open source projects. See the LICENSE file for more info.

Author

This project is originally created by Antoine van der Lee based on experienced from developing Collect by WeTransfer. Many detailed explanations can be found on his SwiftLee blog:

More Repositories

1

appstoreconnect-swift-sdk

The Swift SDK to work with the App Store Connect API from Apple.
Swift
1,431
star
2

CombineSwiftPlayground

A Swift playground explaining the concepts of the new Combine framework
Swift
1,102
star
3

Roadmap

Publish your roadmap inside your app and allow users to vote for upcoming features
Swift
797
star
4

SwiftUIKitView

Easily use UIKit views in your SwiftUI applications. Create Xcode Previews for UIView elements
Swift
710
star
5

Poes

A Swift command-line tool to easily send push notifications to the iOS simulator
Swift
453
star
6

RocketSimApp

Enhancing the iOS simulator for productivity
Swift
425
star
7

WhatTheErrorCode

Convert unreadable errors into understandable descriptions
Swift
143
star
8

Moya-SwiftyJSONMapper

Map objects through SwiftyJSON in combination with Moya
Swift
115
star
9

AsyncOperations

Asynchronous Operations in Swift explained in a Swift Playground
Swift
92
star
10

QR-Code-Custom

A playground demonstrating a way to create a custom QR code with a custom color and logo in Swift.
Swift
42
star
11

TaskGroupsResultBuilder

A @resultBuilder to use to bundle tasks together.
Swift
36
star
12

AppUpdately

Fetch the update available status for iOS or macOS apps based on the bundle identifier.
Swift
36
star
13

CombineWorkshop

Contains all files needed for my Combine workshop.
Swift
32
star
14

appstoreconnect-app

A Mac App to control App Store Connect!
Swift
28
star
15

CustomSwiftOperators

Demonstrating custom Swift operators. Including prefix, postfix, infix, and compound assignment operators.
Swift
18
star
16

CombineExtensions

A collection of Combine Extensions
Swift
16
star
17

ALLocalizables

Localizable label and buttons directly from the interface builder
Ruby
14
star
18

ALDataRequestView

A view representation for data requests. Support for ReactiveSwift and RXSwift
Swift
13
star
19

StockAnalyzerApp

Public repo for tracking bugs and features for the Stock Analyzer app
Swift
7
star
20

DataRacesActors

Slides and content from my SwiftLeeds talk "Understanding Data Races and Actors in Swift 5.5"
Swift
7
star
21

UIControl-Blocks

Use blocks with UIControls
Objective-C
6
star
22

Moya-JASONMapper

Map objects through JASON in combination with Moya
Swift
5
star
23

ImageCollectionViewer

Get FB Albums and show them in a gallery
Objective-C
4
star
24

ImageGen

A library to generate images easily based on text input
4
star
25

MeetupRaffle

Raffle a member from a meetup event
Swift
3
star
26

organizing-conferences-checklist

General tips on organising conferences, based on feedback from the community
1
star