Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.77 KB

File metadata and controls

53 lines (32 loc) · 1.77 KB

Project 11 - Bookworm - 100DaysOfSwiftUI Challenge

Project 11 - Bookworm - Day 53 of 100DaysOfSwiftUI

Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming (write stupid code that uses smart objects) - Rob Pike

Today I learnt about:

  • Introduction and Project Setup
  • @Binding property wrapper
  • AnySize View
  • Combining CoreData with SwiftUI

Project 11 - Bookworm - Day 54 of 100DaysOfSwiftUI

Bad programmers worry about the code; good programmers worry about data structures and their relationships - Linus Torvalds

Today I learnt about:

  • Creating objects using CoreData
  • Creating custom UI Component using Binding
  • Building a list using @FetchRequest

Project 11 - Bookworm - Day 55 of 100DaysOfSwiftUI

Always walk through life as if you have something new to learn, and you will - Vernon Howard

Today I learnt about:

  • Showing Book Details in another View
  • Sorting fetch requests using NSSortDescriptor
  • Deleting a book from a CoreData fetch request
  • Using a custom alert to pop a NavigationLink programmatically

Project 11 - Bookworm - Day 56 of 100DaysOfSwiftUI

The more you practice tolerating discomfort, the more confidence you'll gain in your ability to accept new challenges - Amy Morin

Today I completed the challenges:

  • Adding an Unknown Genre as a Default Genre
  • Showing red title if the rating is 1 star
  • Adding a Date attribute to the Book entity and formatting it and representing as a String

Project 11 - Summary:

In this project I learnt about:

  • Introduction to CoreData (FetchRequests, NSSortDescriptor, FetchedResults, Entities and Attributes)
  • Binding Property Wrapper
  • Custom Alert