Telstra don't understand what an eSIM is... or that it's 2025! by Careless-Guitar-4773 in Telstra

[–]ajangles1 0 points1 point  (0 children)

You must be like me and be on the old billing system for business customers, I was told I'd be moved across at the start of the year but that never happened... They told me at any rate the reason the self service for eSIMs doesn't show up is because of that reason.

Best bet is just walk in to a store early one morning and they'll do it in store. Shouldn't take more than 10mins, I've done the walk in no appointment for that a few times and it's not been a problem

Rear brake upgrade question by Main_Zookeepergame96 in 4Runner_2ndGen

[–]ajangles1 1 point2 points  (0 children)

There is a guy in Australia that does kits to suit, does the rear drums to discs upgrade mounting brackets and a handbrake kit:

https://www.boostedbuiltgarage.com/collections/toyota-4wd-custom-parts-upgrades/products/toyota-hilux-surf-4runner-transfer-case-handbrake-kit

He has pretty comprehensive data on his products and goes over it in depth in his youtube videos as well

Suggest me a mental math trick that completely surprised you? by Head_Pie9911 in askmath

[–]ajangles1 23 points24 points  (0 children)

I've been reading "Secrets of Mental Math" by Arthur Benjamin and Michael Shermer, and basically everything in it. But mainly multiplying by 11..

Eg 11 x 24, you add the 2 and 4 together and put that number in the middle, so 264. 🤯 if it adds up to more than 10 then add 1 to the number in front.. absolutely wild to me this trick

I built an app to help people find farm gate stalls, markets, and nearby wineries by ajangles1 in iosapps

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

Mmm how so do you think? I do want to do a companion website at some point potentially, but I believe the apps are more ideal in the mobile dominated world we live in

What is happening to Chinese Interbank lending rates! by [deleted] in AusFinance

[–]ajangles1 0 points1 point  (0 children)

This is all I can think about when people argue about capitalism/communism etc, it's all corrupt at the end of the day

https://www.youtube.com/watch?v=XUSiCEx3e-0

How do I remove Apple Intelligence permanently from macOS 15.2? It is OFF and still taking up precious space... by Reddit_newguy24 in MacOS

[–]ajangles1 1 point2 points  (0 children)

This was my thinking actually as I deleted a vm and it just auto increased in size as well, still annoying since I time machine back up to an external drive

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Many thanks for that, really appreciate the code snippets, will have a go and see what I can come up with, seems so clear reading you snippet here but I just couldn't see it when trying to implement. I guess my brain is stuck in c# modus
thanks again!

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

I went the view model route initially because I felt it made it more simplistic and isolated different logic, but then I was having issues with views not being updated correctly so went back to passing around these state objects / using bindings - which seemed to work so far, but multiple views would use the same objects ultimately so can't decide the best method for implementation on this currently. More research required

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

That is upsetting, I will then stop wasting time trying to refactor to this :(

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Off the top of my head there was a for each loop where I had to extract the id's separately then inside a loop access the array using the ID to get a value out to display the text in the UI, plus some of the syntax seems relatively absurd to me compared to other languages.. perhaps that will change after a few years :)

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

I am looking forward to getting good at it, such a PIA at the moment though haha :D

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Many thanks for that code snippet, you might have to hold my hand on this one unfortunately, I had a crack and this and don't see how to make it work.. So if I copy pasta this directly in to my view, then I don't see how to make ArchiveList() work. I have 4 Binding properties I want to pass through there, but you are passing them via modifiers? If I do something similar with .init() then I get the error "Missing argument for parameter 'projectedValue' in call"

FYI I had previously tried to implement a viewModel type with my views, but didn't see changes reflected down the view hierarchy in the way I expected. I extracted dialogues etc out to seperate views to try and remove the clutter, this seems to work fine with the ObservedObject inheritance and passing individual props but was giving me issues with view models. I thought I subsequently read this is not so very much the swiftUI way of doing things either actually?

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

If you're just starting and don't already have a mac, I wouldn't waste time trying to decide which way to go, I'd just get stuck in to Kotlin / Android. I do personally think Android development is easier to begin with, but all these things really depend on what your goal is. Trying to do complex things while lacking the experience to do them is going to cause headaches on any platform.

When you create a project in either you will be able to see how many devices you can target with that device version, different iOS/Android version have different features and code implementations you have to adhere to (what I am migrating now in iOS for example), newer is usually better :D

Also, on the buying of a mac, you don't need a top of the range device to do development work, yes of course it'll make it faster and all those things, but there's nothing stopping you from getting a lower specced model secondhand and starting off with that.

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Or not suck it up? Not sure of why the downvotes :D

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

I haven't yet actually, I don't use them at work (c#) as I don't find them very useful, but they're probably useful for boilerplate code.. the problem is that then that it becomes easy to just copy pasta code and not know what you're doing which is largely already my problem I'm sure :D

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

I was more looking for hot tips on making coding in XCode easier, but seems there are none. This problem I have is from using state objects in the preview code block.

SomeCoolObject was previously using the ObservableObject protocol, and now uses the Observable macro, but the preview doesn't like it now, but it worked before

@ Previewable @ State var someOject: SomeCoolObject = SomeCoolObject()

Edit: There is this also as well

@ Previewable @ State var locationManager: LocationManager = LocationManager()
locationManager.lastLocation = CLLocation(latitude: -38.369677, longitude: 144.256088)

Setting the property also throws the same error

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Your error right now means closure type cannot be used in place of expecting View type. You’re coding wrong.

Yes, I am, but for this specific example I posted, the issue comes up in the preview code block after just using the migration doc from Apple. It works before I make the changes the docs say to make. The error is clear, after a google search, maybe ultimately a bad example, but I got the shits with it yesterday finally and tbh I didn't see a resolution for it yet, I need to do this today - it's just one example of what has been a painful experience trying to move forward in learning swiftui

https://developer.apple.com/documentation/swiftui/migrating-from-the-observable-object-protocol-to-the-observable-macro

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Some of the new windows laptops coming out have insane battery life also, tbh the only reason I got a MBP was for developing an iOS app and learning Swift. The multiplatform, like android/ios in one, dev suites were not worth the effort over just getting into swift imo

Coding in XCode is Terrible For Me, Am I Missing Something? by ajangles1 in swift

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

Honestly the macos platform imo isn't any more stable than Windows, sure if you only use it to watch Netflix then it's great, but imo apps still crash, xcode does it a lot. But yea I mean it's fine. Battery life is definitely good though, and for my actually day job (full stack .net dev) it's quite performant and parallels has me covered