jinthislife / SwiftUIProjects

Mini SwiftUI projects for self-study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftUIProjects

Mini SwiftUI projects for self-study

Project 1 - WeSplit

@State property, TextField, Picker, creating views in a loop using ForEach

Project2 - Guess the flag

HStack, VStack, ZStack, Buttons and Images, Alert, Gradients,

Project3

Technique project looking into SwiftUI features in depth

Project4 - BetterRest

DatePicker, Picker, Stepper, navigationBarItems(), Date, DateComponents, DateFormatter, Create ML and CoreML

Project5 - Word Scramble

List, onAppear, Bundle, fatalError(), UITextChecker with little bit of unicode info

Project6 - Animation

This technique project will be covered later.

Project7 - iExpenses

  • To monitor class model changes across more than one view
  • @ObservedObject, @Published, ObservableObject
  • model presentation using sheet()
  • deleting items from list using onDelete()
  • UserDefaults.standard read/write
  • Identifiable protocol
  • JSON Decoder, Encoder to archive structs to store UserDefaults

Project8 - Moonshot

  • resize images to fit the screen width using GeometryReader
  • ScrollView
  • NavigationLink
  • write a generic decode method as an Extension of Bundle
  • convert Json date string to Date type, Formatting Date type to date string to display using DateFormatter
  • an array method first(where:) to create new models from two different models

##Project9

Drawing APIs - paths, shapes, strokes, transforms, drawing groups, animating values and more

About

Mini SwiftUI projects for self-study


Languages

Language:Swift 100.0%