by math-dev · 5y ago · 0 comments
I know a lot of people complain about the 99$ developer fee each year, but Apple in my humble opinion has the hands down best APIs currently for mobile / touch systems. For example, I created my own music app within a day. And WWDC is the heart of showcasing their features for the year to come.
I don’t program for IOS anymore, but will watch from a far distance. I’m all in on linux these days!
The only complaint I have is when you get down to issues with layout and animations not working as expected, it's incredibly hard to debug what's causing it since it's in the "magic" part of the UI frameworks. Often, some re-shuffling of main DispatchQueue steps fixes things up.
I released a SwiftUI calculator I built earlier as open source on GitHub, it may be useful for some dipping their toes into it.
I actually really enjoyed working in SwiftUI. Towards the end of my time, I started moving into a hybrid approach where I would borrow some of the concepts of CSS stylesheets and clearly separate constant parameters used in UX into their own swift files (making it easier to flip between them, eg when going from light mode to dark or from iPhone to iPad)
Is "what I wanted" just the calculator app you link? Of course I don't know how much complexity went into it, but maybe the app just didn't touch on the darker corners/pitfalls of SwiftUI that I find you only run into when it comes to Core Data, fancy views, animations/transitions and so on.
I wrote a reasonably valued answer on controlling animations in SwiftUI on SO, so I was happy to push the boundaries there: https://stackoverflow.com/questions/58284994/swiftui-how-to-...
The app doesn’t have any super advanced animation, but for most apps, I don’t think that is required. But that’s personal opinion.
This is a longwinded way of saying perhaps you are right and I haven’t fully appreciated more advanced UI, but at the same time many of the basics in SwiftUI cover many use cases :)
Indeed, I think at the moment it's hands down the best language available for general application programming. The problem is the lack of libraries on non-apple platforms.
@Persisted(key: “myKey”) var myInt = 42
which is a really nice way to avoid a lot of boilerplate.
I like Swift’s use of generics and protocols (can’t remember if I am using the right terms), but I really didn’t like some of the more recent changes that obscured parts of the language behind unnecessarily obtuse DSLs.
That said, I think everybody enjoys what they use most, so I don’t see Swift leaving the Apple ecosystem in the near future.
These days I have been abducted by aliens, extra terrestrial beings, and program exclusively in Common Lisp, with its secret alien technology. Now THAT is a language I recommend, its simply amazing to me :)
FWIW I've used Python and C++ the most, and I deeply dislike them. :)
Correction: I understood the original comment as developing software for linux and getting paid for it, and not using it to make web apps, doing web development is platform independent obviously..
I’m moving more into technical software, so I couldn’t afford more than half my potential user base saying Oh I don’t have a Mac
Doesn't the vast majority of the world's commercial software run on Linux?
... but I still agree, it's to my loss. Damn good APIs, damn good integrated user experience. I decided I didn't want to feed the beast, but it's a really good beast.
I have since moved on to building my own GUIs with Rust.
But I that my app has different requirements than most.
Its part of the appeal of Apple’s ecosystem - the very high level of standardisation, although it obviously has its drawbacks as you have mentioned