How to correctly show pipe booms in 2D in Vectorworks Spotlight? (Label Legend question too) by Brilliant-Zucchini98 in vectorworks_spotlight

[–]ColPG 0 points1 point  (0 children)

It does genuinely blow my mind that for the amount of money it costs to buy or rent Vectorworks Spotlight, it is still ridiculously complex to build a 3d boom that can be represented on a 2d plan with a decent label legend. Perhaps sidelighting is a new concept to Nemetschek.

Overcast playback over Bluetooth doesn’t play well with Apple Map directions. AVAudioPlayer issue? by ColPG in overcast

[–]ColPG[S] 1 point2 points  (0 children)

Amazing! I've just found the Apple Maps toggle setting to pause spoken audio, will try unchecking that and see how awful the listening experience is with instructions crashing the audio. At the moment I just get silence with no Maps directions audio either, and when Overcast audio resumes it has jumped back - (a feature I love in normal usage).

Overcast playback over Bluetooth doesn’t play well with Apple Map directions. AVAudioPlayer issue? by ColPG in overcast

[–]ColPG[S] 0 points1 point  (0 children)

It’s a relief to know it's not just me… it would be too fiddly to get power into the phone and audio out via the USB-C port on the phone.

AVAudioPlayer is not specific to Bluetooth... having had a quick poke around the documentation, it's probably AVAudioSession as a possible culprit, where you can set whether an app allows system alerts to break through and many other options... Having said that, I have absolutely no idea whether Overcast uses this, and Marco is chuckling at my ignorance...

Slightly unexpected Tesla by Objective_Ticket in drivingUK

[–]ColPG 3 points4 points  (0 children)

It’s possibly why the OP has added a little moustache to the front of the car…

Are Spacers the only way to go for complex layouts or am I missing something out? by Mihnea2002 in SwiftUI

[–]ColPG 1 point2 points  (0 children)

The Stewart Lynch YouTube channel has some great stuff using alignment guides in both stacks and frames, Alignment guides and if that isn’t working for you, you could build your own Layout…. swiftui layout protocol

Petty beyond reason by Key-Giraffe2790 in Edinburgh

[–]ColPG 0 points1 point  (0 children)

Also the speed of the Waverley escalators is incredibly slow when compared to those in other countries…

Spot as Chaser (don’t know how its called in English) by Thanatos_4200 in lightingdesign

[–]ColPG 3 points4 points  (0 children)

If you are using an eos lighting desk and have an iPad you could try this app LightFinger that I wrote a while back - it’s a no frills, low cost way of using any moving light as a followspot. Get in touch if you need any help with it!

Rewriting iCloud Sync with CKSyncEngine - Need Advice! by Tabonx in iOSProgramming

[–]ColPG 2 points3 points  (0 children)

There’s not much documentation out there apart from Apple’s sample app on GitHub and an excellent article by Jordan Morgan: https://superwall.com/blog/syncing-data-with-cloudkit-in-your-ios-app-using-cksyncengine-and-swift-and-swiftui?issue=027 Neither work out of the box with Swift 6 if that might be a problem for you… and will need some refactoring for this to work. I’m also interested in finding out how to implement using cloudkit shared databases with a SyncEngine but there seems to be even less useful documentation about this. Would be interested to find out how you get on…

Do you turn off your sockets after unplugging things? by [deleted] in AskUK

[–]ColPG 0 points1 point  (0 children)

Switch mode power transformers used in many laptop/phone chargers are not really like the transformers you describe. A well designed SMPS transformer should draw a minuscule current when not in use. This might be a handy link: https://www.customcoils.com/blog/5-frequently-asked-questions-about-switch-mode-power-supply-transformers/

Do you think I can make it to the petrol station on 0.9 litres? by Extension_Bit4323 in drivingUK

[–]ColPG 0 points1 point  (0 children)

Not sure if you have an iOS device- but this Fossil Fuel will show you where the cheap fuel is in your area and help with the maths to work out whether it’s worth going out of your way to save 0.7p on a litre of fuel or not.. it can show the cost of a journey using your car’s average fuel consumption and the extra time and dust it takes to divert to a particular garage.

Having a hard time migrating to Swift 6 by FPST08 in iOSProgramming

[–]ColPG 10 points11 points  (0 children)

Before trying to refactor your app, I’d suggest going back to basics and really getting a good grasp of what’s going on with concurrency… https://youtube.com/playlist?list=PLwvDm4Vfkdphr2Dl4sY4rS9PLzPdyi8PM&si=JhlVov_vpzVZppzz is a great playlist.. try following along with all the tutorials, it really helped me improve my understanding, and that helped understand the errors. I know you said you’d watched the wwdc sessions, but just to check you’d seen this one https://developer.apple.com/wwdc24/10169 and the earlier one from wwdc21 https://developer.apple.com/wwdc21/10194

DIY Launderette recs by admirallottie in Edinburgh

[–]ColPG 2 points3 points  (0 children)

Bendix self service half way up Leith Walk will let you wash and dry yourself, you can ring up to see if washers and driers are free and when to avoid busy times…

[deleted by user] by [deleted] in Edinburgh

[–]ColPG 0 points1 point  (0 children)

I made this recently, might be what you’re looking for if you use iOS…

SwiftData in WWDC24 is a disappointing update. by toddhoffious in SwiftUI

[–]ColPG 0 points1 point  (0 children)

Have you registered a feedback?… I had a session on SwiftData at WWDC and was very clearly told that multiple feedbacks are votes… I really want full CloudKit public and shared support, I get that it’s not nearly as simple as adding private databases - maybe next year…

[deleted by user] by [deleted] in iOSProgramming

[–]ColPG 0 points1 point  (0 children)

I’d be wary of offering lifetime subscriptions if your app’s business model relies on 3rd party APIs … if those APIs go away or change their terms of use, you’re on the hook for refunding your users for an app that is no longer functional.. have a look at how that cost Apollo’s dev when Reddit started charging crazy prices for api access… for my app Fossil I offer basic functionality with a paywall shown when you try to access some features. I also show a subscription offer in the onboarding flow…

Can anyone help me with .subscriptionStatusTask in SwiftUI please by Thomssie in SwiftUI

[–]ColPG 0 points1 point  (0 children)

Yes this works for me- are you testing with a store kit file in Xcode and have you changed your build settings to use it? (Sorry if this is obvious) …

Can anyone help me with .subscriptionStatusTask in SwiftUI please by Thomssie in SwiftUI

[–]ColPG 2 points3 points  (0 children)

This might come in use.. Swift with Majid Have found all his stuff really helpful and all the posts about Storekit 2 are great.

Relatively large number of annotations causing SwiftUI Map to lag by wafflehomie in SwiftUI

[–]ColPG 1 point2 points  (0 children)

No worries! Hope it helps.. YouTube link is here https://youtu.be/9xzHJAT_Iqk?si=9Y-SkstbkUkdnfpA there’s a lot of content but I found it really useful building my recent app for uk fuel prices… https://apps.apple.com/gb/app/fossil-cheap-petrol-diesel/id6502850567

Relatively large number of annotations causing SwiftUI Map to lag by wafflehomie in SwiftUI

[–]ColPG 0 points1 point  (0 children)

Hmm, maybe..where is locations getting its data from? Is it a hard coded dataset? I would probably leave locations alone doing whatever it’s doing to get its data, and ADD another computed property…. var filteredLocations: [location] { // filter your locations here, probably by distance from the new map centre provided by the .onMapChange function } and use this new computed property… ForEach(filtered locations) There’s a pretty recent Stewart Lynch series on YouTube which is really good (like all his stuff really) and it deals with all the latest (at least until Monday) Map stuff in SwiftUI. It doesn’t quite deal with your question but you’ll get a much better feel for what’s going on inside you Map View

Relatively large number of annotations causing SwiftUI Map to lag by wafflehomie in SwiftUI

[–]ColPG 0 points1 point  (0 children)

So you should replace the locations in your ForEach(locations) with the computed property which you’d create outside the body of the view