How I Published a New iOS App in One Week Using AI

Experienced iOS and React Native Developer with 10+ Years of Expertise - Available for New Opportunities. Connect Now!
Search for a command to run...

Experienced iOS and React Native Developer with 10+ Years of Expertise - Available for New Opportunities. Connect Now!
This time, I'm exploring the fascinating world of AI, stepping away from my usual focus on iOS development. There's so much more to share about AI, and I can't wait to dive into it with you! If you'd like to follow along and receive regular updates, ...
This time, I'm exploring the fascinating world of AI, stepping away from my usual focus on iOS development. There's so much more to share about AI, and I can't wait to dive into it with you! If you'd like to follow along and receive regular updates, ...

In my last article, I talked about how data flows in SwiftUI. Now, Apple has released something new in iOS 17 - the Observation Framework. This changes how SwiftUI works with data. In this article, we will look at how to use the new Observable Macro ...

One of the critical elements of SwiftUI is its approach to managing data flow within applications. This comprehensive guide will provide you with a strong understanding of data flow in SwiftUI, how it operates, and why it's vital for your SwiftUI app...

Arrays are one of the most common data structures used in programming. In Swift, arrays are used to store ordered lists of values of the same type. They are incredibly versatile and powerful, but using them efficiently is key to writing high-performi...

The app is Time Tango, a Pomodoro timer app. I chose this concept after conducting keyword research for popular terms that face minimal competition on the app store. The app is free to use and received approval in its first review.
The strategy focuses on testing new ideas as quickly as possible. There's no need for complex coding or adherence to best practices at this stage. If the Minimum Viable Product (MVP) doesn't gain the traction I am hoping for, I'll discard it and move on. If it proves valuable, I can always invest more time in enhancing the codebase.
Here's how I developed it -
Prompt -
Create the boilerplate for an ios 15 swift ui app with xcode 14 called "Pomodoro Timer". Which has two tabs, first tab allows the user to start a timer of 25 mins. There will be a timer in the centre of the screen with mins and seconds. Below the timer, we'll have 4 dots to denote the rounds. After 25 mins there will be 5 mins break which ends the first round. After 4 rounds there will be a long 30 mins break. Second tab is the settings screen where the user can change the Pomodoro flow duration, short and long break duration, and change the number of rounds.
This generated the basic structure of the app. Although not perfect, it provided a good starting point. I then improved the UI and refined the code to ensure functionality.
Prompt -
Pictorial mark logo of pomodoro focus timer app, tomato, simple minimal, pastel background, --no realistic photo details, shading, 3d, text --q 2
The result was the image on the left. I used Photoshop to refine it, producing the final image on the right.

I expanded the app's capabilities by adding new features. I utilized ChatGPT to generate some of this code and to debug when I encountered issues. Below are the links to the additional resources and ChatGPT prompts for each specific feature.

How to support Dynamic Island in iOS 16.1 - https://www.youtube.com/watch?v=AUOoalBwxos

Same as above.

Scheduling local notifications https://www.hackingwithswift.com/books/ios-swiftui/scheduling-local-notifications

Boilerplate code created the stepper for setting options by default, so I asked it to create a picker instead for better UX.
Prompt -
Instead of stepper I want to show predefined options to the users, in following manner -
1. pomodoro duration = 10, 15, 20, 25, 30, 45, 50, 60, 90.2. short break duration = 5, 103. long break duration = 15, 20, 304. rounds = keep it as a stepper only

Prompt - Create an onboarding screen in swift ui with title, features list which comprises of image, title and subtitle. And continue button at the bottom.

Prompt - Create how does it work screen to introduce user to the pomodoro technique, mention intro and steps.

You can download and explore the app via this link -> App Store link
I hope you enjoyed this article, and if you have any questions, comments, or feedback, then feel free to comment here or reach out via Twitter.
Thanks for reading!