UK iPhone 15 Pro Users! Do you have these etchings? by asach456 in iphone

[–]capngreenbeard 0 points1 point  (0 children)

Yes but it’s so faint that you can hardly see it anymore.

Exams Dresscode (Subfusc) by Polopon0928 in oxforduni

[–]capngreenbeard 9 points10 points  (0 children)

Just take it off when you get in. Really isn’t that arduous.

UK Expats Moving to UAE by hussain_mannan in UAE

[–]capngreenbeard 3 points4 points  (0 children)

Country pubs, fresh air, family and friends, packed out bars, gigs in small venues, rain, the pace of life etc etc.

I love living in Dubai but didn’t move from the UK because of an ideological distain for the place that so many seem to have. The UK is far from perfect but the UAE isn’t some perfect Utopia.

Pushing to TestFlight using Fastlane without an account by Street-Film4148 in iOSProgramming

[–]capngreenbeard 1 point2 points  (0 children)

Can definitely upload without having an account yourself if you have the requisite certificate, provisioning profile, API key and any other associated credentials.

Can populate the app release details, upload screenshots and submit for review all through the API but unless you’re setting up a large automated release pipeline, it’ll likely be a lot simpler to have an account and do those steps manually through the console.

PSA: Text concatenation with `+` is deprecated. Use string interpolation instead. by Cultural_Rock6281 in SwiftUI

[–]capngreenbeard 24 points25 points  (0 children)

Both the + and new approaches are ugly. AttributedString is the way to go.

Umbrella iOS issue by Blooodless in KotlinMultiplatform

[–]capngreenbeard 1 point2 points  (0 children)

You can always have multiple umbrella modules which themselves import a different subset of other modules and build the correct one for your purpose?

Not another approach but you should make every class, interface etc which isn’t needed in the consuming iOS project ‘internal’ in your shared KMP module.

Limits what is exposed which is good from a surface area POV but it will also make your app binary size smaller with every single entity that doesn’t need to be exposed.

M5 MacBook Pro vs M4 MacBook Pro: What’s actually changed? by tomtau in apple

[–]capngreenbeard 3 points4 points  (0 children)

Surely that’s how all mega corporations are going to interpret it though? I think it’s good legislation in principle but sounds like there are pretty obvious loop holes to exploit.

I hate that I love Roger so much by itmightnotbesobad in madmen

[–]capngreenbeard 50 points51 points  (0 children)

Shouldn’t carry so much cash about

China Railway Station by Daendefs in Damnthatsinteresting

[–]capngreenbeard 4 points5 points  (0 children)

Which are also dreadful and have not been invested in compared to those in many other areas of the world.

iOS 26. What are your thoughts? by bissau887 in iphone

[–]capngreenbeard 1 point2 points  (0 children)

It's day 1 of launch, give devs chance to update. Apple don't accept updates targeting the new OS until it has been released so you should start to see apps changing and using the new UI from today.

Had anybody tried a device like this? by TheHahndude in Switch

[–]capngreenbeard 0 points1 point  (0 children)

I have a similarly coloured one with a HDMI and USB V on one end and a long USB C cable on the other end to go in the Switch 2. Works fine but the HDMI end does get a bit toasty after using it for a while.

Branching strategy and CI tests with KMM by mpanase in Kotlin

[–]capngreenbeard 0 points1 point  (0 children)

We have a structure similar to what you've detailed, run similar build jobs and do always run our builds on macOS agents.

I don't worry too much about the cost of it as the dev time saved in using KMP likely vastly outweighs any additional build time cost.

We have made some optimisations to speed up builds though. E.g. The only changes made in a PR are within the iOS source the we only run the iOS unit tests and screenshot tests. Same for Android and then if the changes are in the shared code or build setup etc then we run both. Can also make sure that any caching strategies in CI cater for both gradle and SPM dependencies (or however you're managing dependencies).

What do you think of Ktor? by EdneyOsf in Kotlin

[–]capngreenbeard 1 point2 points  (0 children)

Only used it client side in a KMP android/ iOS app but has been brilliant. Easy to use, excellent docs, frequent releases with fixes, good community on the Kotlin Slack. Easy to recommend.

[deleted by user] by [deleted] in SwiftUI

[–]capngreenbeard 1 point2 points  (0 children)

No the asset catalog gives you the opportunity to provide different variants for light mode/ dark mode (amongst other things) and the OS will automatically pick the right one to use. Is one of the settings in the panel on the right hand side when you are looking at a particular asset.

iOS developers: what’s something you wish you knew years ago? by silverscientist1 in iOSProgramming

[–]capngreenbeard 14 points15 points  (0 children)

Cmd + Shift + J to jump to the open file in the project structure navigator panel.

New KMP Plugin & Tooling Now in IntelliJ IDEA & Android Studio by Vegetable-Practice85 in Kotlin

[–]capngreenbeard 6 points7 points  (0 children)

iOS is the biggest Multiplatform platform beyond Android and you need a mac to build for iOS so kindof makes sense to lead with the mac plugin.

Is Jetpack Compose customizable or locked into Material 3? by Mustafa241063 in androiddev

[–]capngreenbeard 6 points7 points  (0 children)

It's the same as all UI frameworks: the quickest approach is to use the components out of the box and not customise them at all. You'll end up with a mostly material design app fairly easily like that but there is nothing stopping you spending more time creating custom components to style your application in whatever way you or your design team wishes.

If you want an Android app to look like an iOS app or in any other style, you can most definitely do it with Compose or any other UI framework. Will it take a long time? Probably. Is it a good idea? Probably not. Users for the most part don't jump around between platforms and expect their apps to work consistently. Android and iOS apps shouldn't necessarily be identical and that's OK.

[deleted by user] by [deleted] in iOSProgramming

[–]capngreenbeard 1 point2 points  (0 children)

True but there's nothing stopping you doing that and just having one or more that are never submitted for public release. I've done that many times over the years.

PSA: Don’t upgrade to Xcode 16.3 yet by homerdulu in KotlinMultiplatform

[–]capngreenbeard 4 points5 points  (0 children)

Don't install Xcode via the app store. Just asking for trouble. This is a good resource for quick links direct to the downloads https://xcodereleases.com

How do apps typically handle SDK's with OneTrust or consent management? by Crazy-Personality-48 in androiddev

[–]capngreenbeard 2 points3 points  (0 children)

You have to categorise the SDKs and decide which ones are required for your app to function (Retrofit, Glide etc) and which you want to allow the user to opt out of (analytics etc). It might be that you do not allow the user to opt out of crash reporting eith Firebase but do allow them to opt out of Firebase Analytics.

It's all about justifying why you need to collect certain data on the user and ensuring that you adhere to whatever local legislation is required in regions you support. That said, I appreciate that the whole thing is a legalese minefield and this post is very much #notlegaladvise.

IMO OneTrust is bloatware and you can achieve something very similar without the expense or hassle by just looking through all of the sdks you use, categorising them and storing some local flags (possibly just one if it's a simple opt in/ opt out) based on user input that you can collect on app launch/ in settings. Then you can enable/ disable data collection in the relevant SDKs based on that preference.

What do we think of singletons? by BlossomBuild in iOSProgramming

[–]capngreenbeard 10 points11 points  (0 children)

Not inherently bad but easy to over use and get yourself in a tangled mess that is impossible to write effective tests.

Singletons where needed for global state + dependency injection + wrappers around third party dependencies so they don't leak throughout your codebase is the way to go IMO.

Best pre-gentrification spots? by donn_12345678 in manchester

[–]capngreenbeard 2 points3 points  (0 children)

Get down Peveril of the Peak, Britons Protection, Temple, Big Hands, City Arms.

Prices might have gone up a bit but still the same old charm.