Git Product home page Git Product logo

blogidealist-swiftui's Introduction

Using Core Data With SwiftUI - An Introduction

This sample code project is associated with the following guides at andrewcbancroft.com:

Overview

How does Apple intend for us to use Core Data with SwiftUI?

This project demonstrates how to stitch things together.

It's a single-view app that can

  • Persist a list of BlogIdeas to a Core Data persistent store
  • Use the new @FetchRequest property wrapper to fetch BlogIdeas
  • Use the @Environment's managedObjectContext to create, update, and delete BlogIdeas

Within the code,

❇️ Alerts you to Core Data pieces

ℹ️ Alerts you to general info about what my brain was thinking when I wrote the code

blogidealist-swiftui's People

Contributors

andrewcbancroft avatar heyjaywilson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blogidealist-swiftui's Issues

Broken in Beta v5?

Hi Mate,
Thanks for this great example on how to start SwiftUI!

But:
Are you able to run this code in preview currently?
Whenever I try it dies with BlogIdeaList-SwiftUI.app crashed: communication with the app was interrupted

Running in simulator works fine!

Kind regards,
Chris

List doesn't update if the list order doesn't change

Suppose I have 3 ideas like:
ideaTitle 1: A
ideaTitle 2: B
ideaTitle 3: C

If I update the first idea's name to "Aa", the list will still show:
ideaTitle 1: A
ideaTitle 2: B
ideaTitle 3: C

Now, if i update idea 2's title to "aa" so it sorts before idea 1, the list will update to:
ideaTitle 2: aa
ideaTitle 1: Aa
ideaTitle 3: C

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.