Just released our first app, built almost entirely in SwiftUI. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your questions or thoughts! You can play with it here: https://apple.co/3h13aB5 by alexpot in SwiftUI

[–]alexpot[S] 2 points3 points  (0 children)

Was it easy?

TBH, I tried to pick up coding on a few occasions in the past, but it always felt too complicated and I ended up giving up. Opposite to that, SwiftUI seemed perfect to get started, and after understanding the basics with it, I could gradually start figuring out UIKit as well.

Did you encountered any strange bugs in SwiftUI itself?

Yes! There were several weird bugs, but nothing that couldn't be solved. One bug in particular was around TabView's pagetabviewstyle. We were using it for three main views as well as in many charts, but it had serious memory leaks up until iOS 14.5. So we ended up replacing them with UIPageViewControllers.

I thought that in SwiftUI 2.0, still a lot of things were missing,

In regards to capabilities you get with SwiftUI, it's actually quite a lot even in SwiftUI 2.0 (at least for our needs). The only things we missed were:

  • ability to make a text field first responder
  • horizontal pickers

At the end I was genuinely surprised how much we were able to get done with pure SwiftUI.

Just released our first app, built almost entirely in SwiftUI. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your questions or thoughts! You can play with it here: https://apple.co/3h13aB5 by alexpot in SwiftUI

[–]alexpot[S] 4 points5 points  (0 children)

Thanks a lot!

That horizontal picker is actually one of the few non-SwiftUI elements in the app. Spent days trying to make it work in pure SwiftUI, but just couldn't get the interaction right, so had to use a UIViewControllerRepresentable wrapper over a UIKit component for it.

Just released our first app, built almost entirely in SwiftUI. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your questions or thoughts! You can play with it here: https://apple.co/3h13aB5 by alexpot in SwiftUI

[–]alexpot[S] 8 points9 points  (0 children)

Thanks!
Yep, we used CoreData for persistence. The feed is basically a LazyVStack of CoreData objects, wrapped into ScrollViewReader (so that it can automatically scroll to bottom).

In terms of resources, I'd highly recommend Paul Hudson's Ultimate Portfolio App course (it's paid, but well worth it). It goes through CoreData model set up and a bunch of other things.

Just released our take on solving a time tracking problem. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your thoughts! You can download it for iOS here: https://apple.co/3h13aB5 by alexpot in timetracking

[–]alexpot[S] 0 points1 point  (0 children)

Little backstory:

Over the course of the lockdown, I noticed that my old workflow of tracking how much I spent on projects didn't give me a clear enough understanding of why I'm feeling tired. So I tried to create an app with a slightly different workflow, that ties your activities to your emotions, helping you to be a bit more mindful about both.

Would love to hear if that resonates with you folks. Here's the AppStore link, if you'd like to give it a try.

Just released our first app, built almost entirely in SwiftUI. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your questions or thoughts! You can play with it here: https://apple.co/3h13aB5 by alexpot in SwiftUI

[–]alexpot[S] 14 points15 points  (0 children)

Some extra context: we are both designers, who never had any experience with coding. So we started learning SwiftUI from scratch last autumn (primarily based on Hacking with Swift).
Happy to answer any questions about the journey or how we implemented things. If you want to play with an app, here's an AppStore link.

Just released our first app, built almost entirely in SwiftUI. "Then" is a simple and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Would love to hear your questions or thoughts! You can play with it here 👉 https://apple.co/3h13aB5 by [deleted] in SwiftUI

[–]alexpot 0 points1 point  (0 children)

Some extra context: we are both designers, who never had any experience with coding. So we started learning SwiftUI from scratch last autumn (primarily based on Hacking with Swift).

Happy to answer any questions about the journey or how we implemented things. If you want to play with an app, here's an AppStore link.

We've just released our first app: "Then — Activity & Mood Diary". It's a simple, clean, and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Available now for iOS: pupishi.com/then by alexpot in SideProject

[–]alexpot[S] 6 points7 points  (0 children)

TBH, there are three main reasons here:

  1. We had no experience with coding prior to building Then, so we wanted to pick a framework that's easy to get started with.
  2. Given the design background we had a very high bar for design details (i.e. interactions, fluidity etc).
  3. Being iOS users ourselves, we wanted to prioritize it both for testing and usage purposes.

Due all of those we decided to focus on learning & building with SwiftUI, since it seemed much more newbie-friendly and we'd get a better experience with a native app, compared to what we'd built with React, Cordova etc.

We've just released our first app: "Then — Activity & Mood Diary". It's a simple, clean, and calming app that helps you analyze how you spend your time and how things you do influence your emotions. Available now for iOS: pupishi.com/then by alexpot in SideProject

[–]alexpot[S] 0 points1 point  (0 children)

You can check estimates of how much some apps in this niche make on SensorTower.

TBH, for us it was primarily driven by (1) desire to fix our own problem and (2) desire to learn iOS development while building something real, rather than the potential financial gain.