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
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
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
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