Web-based technologies are much easier with which to work than native. With a couple of hours, Angular/Angular Material SPA correctly detects device idiom (phone etc) and throws a desktop layout with resizable panes using angular-split.github.io
#Angular #SPA
I've looked at the App Store over the past day and see that there are a lot (>20) Journaling apps already there. Must have happened whilst my eyes were elsewhere😱. I have no problem with competition, but am realistic that they dilute Users attentions to your app... weakening prospects for even a good app. Might just not bother and go off and play with a PWA for Android and Microsoft Store.
https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/microsoft-store
https://chromeos.dev/en/publish/pwa-in-play
Building out the three way split navigation of yesterday in #UIKit, I wanted to incorporate UIContentView as part of a reuse-able, consistent & dynamic UI. Found this helper from 2020 which proved very useful. https://www.biteinteractive.com/cell-content-configuration-in-ios-14/
11.2.2025 17:06Building out the three way split navigation of yesterday in #UIKit, I wanted to incorporate UIContentView as part of a reuse-able,...After being distracted by non-Apple solutions, I returned to good old #UIKit today and created a triple pane Split View using uisplitviewcontroller in code on #iOS, #iPadOS and #MacCatalyst. What struck me was that whilst the # of lines of code is much more than SwiftUI, the amount of effort - workload - is only ~20% higher.
For that ~20% more effort, UIKit makes all the goodies available on the Class and nothing is abstracted away as in SwiftUI. Definitely better!
https://developer.apple.com/documentation/uikit/uisplitviewcontroller?changes=_4&changes=_4
10.2.2025 15:49After being distracted by non-Apple solutions, I returned to good old #UIKit today and created a triple pane Split View using...I’ve really enjoyed working with #UIKit, but, of course, it is an Apple device only solution. And a native one at that with golden handcuffs needed. Spent quite a lot of the day revisiting less restrictive solutions. My application is to be a rich text and image writing app, and the web has been doing that for decades. The #PWA - progressive web application - ticks many boxes and no handcuffs.
https://web.dev/explore/progressive-web-apps
7.2.2025 16:32I’ve really enjoyed working with #UIKit, but, of course, it is an Apple device only solution. And a native one at that with golden...As a nascent indie App developer, I read A LOT of feature models centred on the MVP model. And cross-platform too so as to cover as many seats as possible.
Yet, I think that, for the majority of such 'indie' Apps, we are carving-out a niche such as Apple's Bears Gratitude design winner app. In doing so, niche is almost NEVER served by cross-platform but a deep (single) platform integration. Exploiting platform tie-in features rather than the cross-platform common set.
https://developer.apple.com/news/?id=i74v3f4r
5.2.2025 15:08As a nascent indie App developer, I read A LOT of feature models centred on the MVP model. And cross-platform too so as to cover as many...Even though I have been at a funeral for my lovely Mother-in-Law today, a developer's mind is never far from the code face.
I found the Anti-SwiftUI, on macOS, observations in this thread simpatico with many that I've previously read. It really does seem that #SwiftUI on #macOS is a lot of a no-no.
https://mastodon.social/@johnwells/113935105882790839
4.2.2025 17:05Even though I have been at a funeral for my lovely Mother-in-Law today, a developer's mind is never far from the code face. I found the...#SwiftUI #List is implicitly lazy loaded, it seems. This is vital for efficient management of large lists - one of my main concerns about SwiftUI esp. as the #Macos experience is so important - it is a long-form writing app.
My UI/UX is both dynamic - rendering differing layouts based upon content - and flexible - switching that layout based upon preference. #UIKit/ #AppKit is king here of course, but I think #SwiftUI might just be good enough now, after six iterations.
https://developer.apple.com/documentation/swiftui/picking-container-views-for-your-content/
3.2.2025 14:03#SwiftUI #List is implicitly lazy loaded, it seems. This is vital for efficient management of large lists - one of my main concerns about...Had a very hard few hours with UIKit's diffable data sources, Collection Views, their snapshots and Core Data today. Whilst I understand each individually, and many together, all of them together is a tall hill. Resources such as https://www.avanderlee.com/swift/diffable-data-sources-core-data/ help greatly, but SwiftUI's implementation is SO much more succinct. I might have to go to the dark side...
#UIKit, #iOS, #SwiftUI #diffableData
31.1.2025 15:58Had a very hard few hours with UIKit's diffable data sources, Collection Views, their snapshots and Core Data today. Whilst I understand...With the irreplaceable help of @kharrison's Modern AutoLayout book, and a lot of thinking, I have got the core initial layouts working in UIKit. This is a UITabBarController (WWDC 2024 style) and programmatic split pane views, with a segmented control on the top of one. Mac Catalyst continued to morph this layout onto MacOS well. Never done layouts and controls purely in Swift before.
#UIKit #iOS #MacCatalyst #macos
https://kharrison.gumroad.com/l/albook
30.1.2025 16:16With the irreplaceable help of @kharrison's Modern AutoLayout book, and a lot of thinking, I have got the core initial layouts working...I'm an old school programmer used to reading documentation. I am finding Apple's stuff quite good - such as this one on managing windows/content. When I browse the Apple Developer forums, it seems that this old-school approach is not mainstream for many simple things are asked there 🤔
#Apple #iOS #UIKit
https://developer.apple.com/documentation/uikit/managing-content-in-your-app-s-windows
CloudKit or REST Server?
Had to do some thinking and playing with Core Data. I wanted to experiment with how Core Data Stores could be replicated across devices. But, I do not have an Apple Developer Account (as yet) and this blocks me from any usage of iCloud Drive or CloudKit 😱.
So, I resolved to abstract the replication across devices away into two options of which I can only implement the first at this stage - A REST based Server on my own Mac. The second may come in time 🤔
Xcode Core Data gave me loads of "Multiple commands produce ... CoreDataClass ...' and "duplicate output file in Xcode derived data file".
Forgot to change Codgen from Class Definition to Manual/None. Silly me!🤦🏻♂️
27.1.2025 15:56Xcode Core Data gave me loads of "Multiple commands produce ... CoreDataClass ...' and "duplicate output file in Xcode...Been working with Core Data for a couple of days and found out that CloudKit is even more picky with its attributes, defaults and relationships.!
https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/creating_a_core_data_model_for_cloudkit#3191035
⬆️
⬇️