Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.48 KB

File metadata and controls

50 lines (30 loc) · 1.48 KB

Project 10 - Cupcake Corner - 100DaysOfSwiftUI Challenge

Project 10 - Cupcake Corner - Day 49 of 100DaysOfSwiftUI

There are two sure ways to fail: think and never do, or do and never think - Zig Ziglar

Today I learnt about:

  • Introduction and Project Setup
  • Adding Codable conformance to @Published properties
  • Sending and recieving codable data with URLSession and SwiftUI
  • Validating and disabling forms

Project 10 - Cupcake Corner - Day 50 of 100DaysOfSwiftUI

Success is the sum of details - Harvey Firestone

Today I learnt about:

  • Entering basic cupcake details
  • Adding user information for delivery address
  • Preparing for checkout of the cupcake delivery

Project 10 - Cupcake Corner - Day 51 of 100DaysOfSwiftUI

The network is the computer - Sun Microsystems

Today I learnt about:

  • Encoding and Decoding the ObservedObject class object using CodingKeys
  • Sending a POST HTTP Networking Request using URLSession

Project 10 - Cupcake Corner - Day 52 of 100DaysOfSwiftUI

The greatest enemy of progress is the illusion of knowledge - John Young

Today I completed the challenges:

  • Validating forms and restricting whitespaces
  • Adding alert if there is no internet connection to place order
  • Converting the Order class into struct and adding an ObservableObject Class and creating a Published property of it

Project 10 - Summary:

In this project, I learnt about:

  • Getting deeper in Codable
  • CodingKey Protocol
  • Sending HTTP POST Requests using URLSession