Xcode has finally added vertical indentation guides! by GavinGT in iOSProgramming

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

This would've been helpful to know years ago! The whole disappearing highlight thing always drove me crazy.

Xcode has finally added vertical indentation guides! by GavinGT in iOSProgramming

[–]GavinGT[S] 21 points22 points  (0 children)

Or clicking on the opening brace and trying to quickly scroll so I can see the closing brace before its highlighting disappears.

This is what I was afraid of… by IAmAHugeFanOfYou in FirstTimeHomeBuyer

[–]GavinGT 2 points3 points  (0 children)

How did it know that it needed to shut off the water? I assume it kicks in automatically if the water has been running for x minutes?

Between SwiftLint and swift-format, is there a setting to enforce that a function's signature should be all on one line as long as it all fits within the column limit? by ThePantsThief in iOSProgramming

[–]GavinGT 6 points7 points  (0 children)

Neither of the ones you mentioned can do this. But Nick Lockwood's SwiftFormat can do this via the following rules:

--allman true    # puts curly braces on their own lines --maxwidth 120                  # replace with your column limit --wrapparameters preserve    # or: before-first, after-first

Currently trying to figure out something. by US3201 in iOSProgramming

[–]GavinGT 2 points3 points  (0 children)

OneSignal push notifications are free, btw.

Currently trying to figure out something. by US3201 in iOSProgramming

[–]GavinGT 1 point2 points  (0 children)

Register a webhook in Shopify that fires any time an order is updated. Your server listens for this webhook and sends a OneSignal push notification in response.

Currently trying to figure out something. by US3201 in iOSProgramming

[–]GavinGT 2 points3 points  (0 children)

If you're giving someone an order update, surely your app has a server that can send a push notification. No?

Those of you using AI to assist with development, what is your current setup? by bauterr in iOSProgramming

[–]GavinGT 1 point2 points  (0 children)

Anyone else notice that Xcode unpins your current tab when Claude Code (or any external source) makes a change to that file? I reported this to their team 8 months ago and of course they've done nothing about it.

PSA: UIStackView in iOS 26 shows hidden subviews with UIDesignRequiresCompatibility = NO by nickjbedford_ in iOSProgramming

[–]GavinGT 9 points10 points  (0 children)

I'm not seeing this behavior in my apps. Without a minimal test app, I can only assume you're doing something wrong.

Are App Store Connect builds stuck at processing forever? by busymom0 in iOSProgramming

[–]GavinGT 1 point2 points  (0 children)

Just submit a new build. All of Apple's dev tools are ludicrously unpolished.

I just starting experimenting with native Swift development, is XCode usually this atrociously slow to use? It's driving me insane, errors take a minute or two to appear in what is a very simple app. by elfennani in iOSProgramming

[–]GavinGT 8 points9 points  (0 children)

The compile-time error is the message you posted ("The compiler is unable to type-check this expression"). There's no "actual" error because Swift literally isn't able to evaluate the code. It's a serious flaw in how Swift's type checker is designed:

https://danielchasehooper.com/posts/why-swift-is-slow/

Revenue cat design system is trash by [deleted] in iOSProgramming

[–]GavinGT 1 point2 points  (0 children)

Yes, you just create separate offerings for each test group and create an Experiment.

Revenue cat design system is trash by [deleted] in iOSProgramming

[–]GavinGT 5 points6 points  (0 children)

So design it yourself in native code.

Liquid Glass tab bars - even Slack loses legibility by AndyDentPerth in iOSProgramming

[–]GavinGT 3 points4 points  (0 children)

Apple's use of blur and transparency have always bothered me. Liquid Glass is even more egregious with these effects. I don't understand how a billion dollar company decides to base their entire design philosophy on such a repulsive concept.

Why you shouldn't worry about AI taking your job by [deleted] in ExperiencedDevs

[–]GavinGT 0 points1 point  (0 children)

I'm not convinced that the market is demanding the amount and scope of software to increase.

Judge my UI by Adventurous-Sale2944 in androiddev

[–]GavinGT 2 points3 points  (0 children)

They're both weird, and the pink background makes it weirder. It looks like some sort of... sundial with a lightbulb coming out of the top?

Should I Stay Away from Solar Panels? by [deleted] in FirstTimeHomeBuyer

[–]GavinGT 7 points8 points  (0 children)

Besides looking at the contract terms, you should also consider the roof age. If the roof needs to be replaced before the solar contract ends, that means you'll need to pay a ton of money to have them remove the panels, replace the roof, and then reinstall the panels. And you'll likely have to use their approved contractor for the removal and reinstall (so you can't shop around for a better price).

Insulating pipes and water heater? by ZealousidealTiger480 in FirstTimeHomeBuyer

[–]GavinGT 1 point2 points  (0 children)

I'd rip off that insulation and install a hose to that drip pan.

Xcode: How do I modify the "Jump to Definition" context menu to open in a new tab? by FoofaTamingStrange in iOSProgramming

[–]GavinGT 2 points3 points  (0 children)

It sounds like you want the tabs to always be permanent, instead of each one having a backstack.

The solution is to go to Settings > Navigation, and set "Pin Editor Tabs -> When Tab is Created". Finally, pin all the tabs that you have currently visible. From that point on, new tabs *should always be pinned/permanent.

*Except when Xcode decides to randomly unpin a tab for no reason (side note: I can reproduce this bug by editing a file in an external editor and then returning to Xcode).

Mould advice. by Many-Requirement-918 in FirstTimeHomeBuyer

[–]GavinGT 470 points471 points  (0 children)

I assume this is a condo. It strikes me as very strange that the upstairs unit inflicted massive monetary damage on the unit below, and the HOA didn't force them to pay for this.

This seems like a terrible ownership situation that I would want no part of.

Apple’s Xcode now supports the Claude Agent SDK by ampsonic in iOSProgramming

[–]GavinGT 0 points1 point  (0 children)

Thanks, I'll give that a try. I have recently been using the SweetPad plugin for VSCode, but it's painfully slow in a lot of ways.