Benjamin Lefebvre
Benjamin Lefebvre
  • 12
  • 694
Swift Habit Tracker Tutorial - Implement Global Streak Counter
In this video, we implement the Global Streak Counter (Weekly Counter).
1- How to implement the condition for when the counter should increase.
2- How to implement event handlers.
3- How to implement the reset condition when the streak is missed.
Переглядів: 26

Відео

Swift Habit Tracker Tutorial - How to Set a Streak Counter
Переглядів 8614 днів тому
In this video, we will create a streak counter that increases each day when the user marks it as done, but resets when the user misses a day.
Swift Habit Tracker Tutorial - On-Device Storage using AppStorage
Переглядів 3914 днів тому
Today, I will explain how to save a habit you created on your iPhone’s local storage and how to use the AppStorage property wrapper.
Swift Habit Tracker Tutorial - Delete an item
Переглядів 6521 день тому
NEW VIDEO EVERY 2 DAYS In this video, we look at - Binding Variables - How to delete an item in our habit list - How to refactor the code to make it more readable
Swift Habit Tracker Tutorial - Logic Behind the Add New Habit
Переглядів 2421 день тому
NEW VIDEO EVERY 2 DAYS In this video, we go over: 1- Creating the Add Habit Logic 2- Refreshing the Habit List to Display the New Habit 3- Implementing Basic Validation 4- Handling the Validation by Showing an Error Message.
Swift Habit Tracker Tutorial - Create Add Habit View & Work with Sheet
Переглядів 4621 день тому
NEW VIDEO EVERY 2 DAYS In this video, we go over: 1- How to implement a SwiftUI Form using TextField 2- How to show the form using a Sheet 3- How to limit the number of characters in a TextField using the source code from Stack Overflow Source code for the max function: stackoverflow.com/questions/56476007/how-to-set-textfield-max-length
Swift Habit Tracker Tutorial - Working with Date and NavigationView
Переглядів 3228 днів тому
NEW VIDEO EVERY 2 DAYS In this video, we look at: 1- Implement NavigationView to the WelcomeView to allow navigation to the HabitListView 2- Implement the Date() object to allow the HabitListView date Text to display the current date. 3- Look at the Date Format
Swift Habit Tracker Tutorial - Setting the Habit Buttons
Переглядів 58Місяць тому
NEW VIDEO EVERY 2 DAYS In this video, we go through: 1- Refractor the code by moving the habit button template as a new view component 2- Using the saved habits data for the buttons 3- Implementing the basic habit button logic
Swift Habit Tracker Tutorial - Project Structure & Work with DeveloperPreview
Переглядів 39Місяць тому
In this video, we look into: 1- The Project Structure 2- Object Creation 3- Implementing the View Model 4- Implementing the Developer Preview (Mockup Data)
Swift Habits Tracker Tutorial - Creating the UI for the Habit List View
Переглядів 81Місяць тому
NEW VIDEO EVERY 2 DAYS In this video, we go over: 1- Our first little exercise 2- Building the UI for the HabitListView 3- How to implement SystemImage using SF Symbols 4- Work with Stacks to make an appealing UI In the Next video, we will start working on the logic implementation
Swift Habits Tracker Tutorial - Styling the UI for the Welcome View
Переглядів 68Місяць тому
NEW VIDEO EVERY 2 DAYS In this video, we go over: 1- SwiftUI more in details 2- How to get the screen sizes In the Next video, I will start the ListHabitView with SwiftUI.
Swift Habits Tracker Tutorial - Project Set-Up using xCode
Переглядів 137Місяць тому
NEW VIDEO EVERY 2 DAYS In this video, we go over: 1- The app concept 2- How to get xCode 3- How to start a new Xcode project 4- Implement basic SwiftUI Dribble Inspiration Template by: dribbble.com/shots/19330971-Miracle-Morning-Habit-Tracker-App

КОМЕНТАРІ

  • @aronjacobson5403
    @aronjacobson5403 17 днів тому

    think you forgot the title :)

  • @sercanyildirimtugcann
    @sercanyildirimtugcann 20 днів тому

    that's great man. Please keep going on these series!! We need all clones of those apps!! Ex: foursquare, uber, airbnb, some complex e-commerce apps, mental health apps, ai powered apps... Thank you!!

    • @benjaminlefebvredev
      @benjaminlefebvredev 19 днів тому

      Hi @kamilaltug5670, Thank you for your support! I am still debating the subject of the next series. I am thinking of doing more teaching on different topics related to Swift, but I am not close to the idea of doing some app clones of other apps!

  • @DJARUUN
    @DJARUUN Місяць тому

    Great tutorial man! :)

  • @aronjacobson5403
    @aronjacobson5403 Місяць тому

    wow was very surprised of your sub and view count when clicking on this video. keep going and youll get big, im sure of it!

    • @benjaminlefebvredev
      @benjaminlefebvredev Місяць тому

      Thanks for your support! I literally just started. I hope to make a great quality channel. The second part will come out tomorrow where I go a little more in details about SwiftUI