Sam Rowlands (樂山姆) (@Sam_Ohanaware) header
Sam Rowlands (樂山姆) (@Sam_Ohanaware) profile picture

ex-Apple service engineer, ex-Apple employee, ex-Mac developer. lover of animals and my adopted home town Hengchun, Taiwan.

Taiwan
Joined March 2009
Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)Photo by Sam Rowlands (樂山姆) (@Sam_Ohanaware)
Sam Rowlands (樂山姆) retweeted
The uncomfortable truth about electric cars…🚙 #RichardHammond
789
5,431
330
37,516
3,918,634
Sam Rowlands (樂山姆) retweeted
🚨 @Apple @AppStore @Google — how is this passing review? “App For Google Authenticator” appears to use a rotated copy of Google Authenticator’s icon. The familiar colours, the recognisable shape, Google’s product name — but a different developer behind it. 🤦‍♂️ 💸 The same $4.99/WEEK subscription option. That’s $259.48 over 52 weekly payments. 🌐 Another website on a free Blogspot subdomain. Its linked privacy policy repeatedly refers to “Flow Studio” and iOS, even though this listing is for a Mac authenticator. Why doesn’t the documentation clearly match the product - easy the scam robots from 30.3753° N latitude and 69.3451° E longitude does not give a sh.... Independent developers such as @2StableApps @c128128 deserve a fair marketplace for their own products. Why should they have to fight for visibility against apps borrowing Google’s identity? 🔐 This is an AUTHENTICATOR. Users are trusting it with the secrets that protect their accounts. Clear developer identity and accurate documentation should be basic requirements... Same no identity in EU ... most likely fake data when registering the developer account. @Apple, please investigate the apparent impersonation, subscription presentation, and policy mismatch. @Google, please review this use of your Authenticator branding. Original developers and users deserve better. 🛑 🔗 App For Google Authenticator apps.apple.com/us/app/app-fo… #MacAppStore #GoogleAuthenticator #2FA #StopScamApps #ConsumerProtection
2
3
2
15
4,017
Sam Rowlands (樂山姆) retweeted
Super happy to announce Objo Studio, a cross-platform tool to build desktop apps for macOS, Windows and Linux. It uses an easy-to-use programming language suitable for newcomers and professionals alike. objo.dev
1
1
68
Sam Rowlands (樂山姆) retweeted
#Omegabundle for Xojo 2025 includes the best 3rd party components, add-on tools and more for developing professional applications with #Xojo multi-os #development platform: macOS , Windows , Linux , #RaspberryPi . Save almost 90%! bit.ly/4kAL9Zl
3
2
12
217
Sam Rowlands (樂山姆) retweeted
Figured out how to apply any arbitrary SF Symbol to a folder in Tahoe. xattr -w 'com_apple_icon_folder#S' '{"sym":"camera.viewfinder"}' some/folder/here Replace underscores with dots. It also works with private symbol names
14
23
1
537
33,641
Sam Rowlands (樂山姆) retweeted
Build a stretchy image header in SwiftUI using the visualEffect() modifier, scaling the image on pull-down without tracking scroll offset or modifying its frame: nilcoalescing.com/blog/Stret…
2
8
76
5,406
Sam Rowlands (樂山姆) retweeted
When do you use a struct vs class?
5
3
71
8,643
Updates to Cirrus (iCloud), Revisionist (versions), Spundle (sparse bundles) and T2M2 (Time Machine) eclecticlight.co/2025/06/27/… via @howardnoakley
1
7
626
Sam Rowlands (樂山姆) retweeted
SwiftUI Tip 💡 Format numbers in a user-friendly way, like displaying 1K instead of 1000, directly in a Text view.
6
6
93
5,230
Sam Rowlands (樂山姆) retweeted
Starting with Swift 6.2 and iOS 26, we can use enumerated() in SwiftUI List and ForEach views without wrapping it in an array. I wrote a post with some examples and notes on when we should avoid using the offset as an index or id: nilcoalescing.com/blog/Using…
3
19
197
10,758
Sam Rowlands (樂山姆) retweeted
Notes from the SwiftUI Lab: - Avoid glass overlapping glass - Avoid glass in anything that scrolls - Use glass when you want to grab attention - Remember to put glass in appropriate GlassEffectContainers - Move tinting away from NavBar into the content that scrolls behind the NavBar glass - LazyVStack in ScrollView: ForEach should return a static number of Views so the system knows what a "row" is - Use new performance instrument to find scrolling issues - "New design is still in beta"; issues like dark background behind glass being unreadable should be filed as feedback - Generally embrace SwiftUI for the app lifecycle even when using UIKit/AppKit for core navigation/structure - MatchedTransitionSource: Use to connect different Views and presentations - Singleton or EnvObject? Prefer Environment in SwiftUI (also helpful for Preview context) - System uses less colors now; avoid arbitrary tinting - use to draw attention or indicate states - Use ContainerValues to pass data up the hierarchy (not Bindings) or PreferenceKeys or Closures (for actions/UIKit) - Animations are available for widgets on visionOS (same as since iOS 17) - Known issue in beta where link gestures don't work - Use standard system controls - SafeAreaBar API for custom TabBar - NavLink uses trailing chevron SF Symbol (useful for custom buttons) - Fluidly draggable component like TabBar: Currently no API for that, file feedback if interested in this - Unit test SwiftUI Views: Bugs are mostly in business logic -> catch them there instead of testing SwiftUI Views, e.g. test that the NavPath of a NavModel contains .home instead of a snapshot test for login - Keep Views as small as possible and use Models - "Whatever architecture you pick, have a testable architecture" - Consider what work can be done outside the main thread (for performance optimization) - Consider scaling high-res images down to display size before showing them - Watch out for View inits & bodies being too expensive -> break up the body into multiple Views - Color.random in the background of list rows -> if its flicking during scrolling, your Views are invalidating - DatePicker disrespecting dynamic size is a known issue - Common SwiftUI antipatterns: conditional modifiers using if statements; public static let shared; if statements for NavStack in NavSplitView detail column (instead: ContentUnvailableView inside NavStack); Not using a11y representations instead of label & value; if statements "loose state" on change - Architecture depends on the app/developer preference -> SwiftUI is architecture-agnostic; lean into Observable (also compatible with UIKit) - ObservableObject led to needlessly invalidated Views, which is "fixed" with Observable - Debug SwiftUI: Knowing why the View updated/was invalidated -> let _ = Self._printChanges(); conditional breakpoints; even they use print debugging :) ; comment-out-debugging to narrow down on issues
16
57
2
637
60,496
Sam Rowlands (樂山姆) retweeted
took a wrong turn, where the heck am i?
5
12
228
4,986
Sam Rowlands (樂山姆) retweeted
Einhugur Software releases Word Plugin 4.5 for Xojo. Version 4.5 is massive update focusing on adding support for complex Style hierarchy, but also adding many other features. More info at einhugur.com
2
5
99
Sam Rowlands (樂山姆) retweeted
Format interpolated values like arrays of strings, measurements, and dates directly inside SwiftUI Text views using FormatStyle, and display dynamic dates using Text.DateStyle: nilcoalescing.com/blog/Forma…
4
23
2,135
Sam Rowlands (樂山姆) retweeted
SwiftUI offers several methods to change the color of text, including foregroundStyle() and tint() modifiers, AttributedString attributes, and the textRenderer() API for advanced styling: nilcoalescing.com/blog/Foreg…
7
33
2,475
Sam Rowlands (樂山姆) retweeted
With modern SwiftUI APIs, we can design and present a fully custom About window in a macOS app with custom content, a styled background, and fine-grained control over behavior. I wrote a step-by-step guide on how it can be done: nilcoalescing.com/blog/Fully…
1
13
78
5,333
Sam Rowlands (樂山姆) retweeted
Yahoo!'s homepage in 1994
25
140
22
988
44,222
Sam Rowlands (樂山姆) retweeted
Monument Valley 3: The Garden of Life 🪴 Coming Soon. Update on Earth Day: April 22nd 🌍 #monumentvalley3 #EarthDay @netflixgames_
11
112
12
577
17,307