This project illustrates how to integrate SwiftUI with CoreData using Xcode 11.5 and Swift 5. In addition, it demonstrates how to create a custom SwiftUI control (in this case “EntryField”) used in forms and see it rendered with PreviewProvider using a sample model.

Some of the new SwiftUI components used.

UI Components

NavigationView, List, ForEach, HStack, VStack, Button, Text, TextField, Sheet, Custom View, PreviewProvider

Data Flow

@State, @Environment, @FetchRequest, @Binding

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s