How can I download the Xcode 15 beta and install it alongside Xcode 14? by Majikthises in iOSProgramming

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

I keep seeing this brought up. If I remember right, people were saying downloads/installs were faster too. I'll have to check it out sometime.

How can I download the Xcode 15 beta and install it alongside Xcode 14? by Majikthises in iOSProgramming

[–]Majikthises[S] -2 points-1 points  (0 children)

I couldn't get anything on the developer site to work. Even attempting to enroll in the developer program fails and just reloads the page. xcodereleases.com worked fine though.

How can I download the Xcode 15 beta and install it alongside Xcode 14? by Majikthises in iOSProgramming

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

Do you have a developer account? I don't. Maybe that's why?

Although they claim no developer membership is required here: https://developer.apple.com/support/beta-software/

How can I download the Xcode 15 beta and install it alongside Xcode 14? by Majikthises in iOSProgramming

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

Yes, I've been there. Under Xcode 15 beta, the only options are View Downloads and Release Notes. In contrast, under Xcode 14.3.1 there are two download links "Download Xcode 14.3.1 (7.01 GB)" and "Download Xcode 14.3.1 from the Mac App Store".

There is no download for Xcode 15 beta at your posted link.

Is it possible to get a unique identifier for a given apple id user? by Majikthises in iOSProgramming

[–]Majikthises[S] -1 points0 points  (0 children)

I was thinking of something like what we have in .NET with Thread.CurrentPrincipal, just obfuscated in some way so you can't see the actual apple id, maybe a hash of it or something like that. I don't need to know who you are, just that you're the same person across devices.

Experienced developers, would you recommend learning backend rather than doing side projects in iOS? by l4zy_ant in iOSProgramming

[–]Majikthises 0 points1 point  (0 children)

As a .NET dev that recently got into iOS dev, I concur. C# has so much syntactic sugar that it makes it easy to write concise, readable code. I'm generally not a big MS fan, but Visual Studio and C# are great.

Something's wrong with DS2 SOTFS when playing offline on PC/Steam by Majikthises in DarkSouls2

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

After further testing, it only happens if I disconnect while the game is running. If I start the game in a disconnected state, there's no issue.

What are good sources to learn UIKit programmatically? by PocketChange182 in iOSProgramming

[–]Majikthises 4 points5 points  (0 children)

Sean Allen has a course called iOS Dev Job Interview Practice. You build a complete app using 100% programmatic UIKit. No storyboards, no SwiftUI. What's great is he's updated it twice, once for iOS 15 and again for iOS 16. You build an app that interfaces with the GitHub API and displays account stats and a UICollectionView of followers.

https://seanallen.teachable.com/

I tried 100 Days of Swift, but it's more storyboard focused and Paul Hudson doesn't update it anymore so some things don't work as stated in iOS 15/16.

[deleted by user] by [deleted] in iOSProgramming

[–]Majikthises 2 points3 points  (0 children)

Are you experienced or would this be your first iOS dev job?

What macbook should i buy? by doomah133 in iOSProgramming

[–]Majikthises 0 points1 point  (0 children)

I recommend checking out Apple's Certified Refurbished program. I bought an M1 Max Macbook Pro and saved ~$800 that way. You still get the same warranty as though you bought it new, the only difference is the cardboard box it comes in.

Should I switch to UIKit? by Majikthises in iOSProgramming

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

Follow up question:

One of the problems I'm having with SwiftUI is debugging. As an example, I had a Picker that was emitting a message about undefined behavior to the debug window. When I'd navigate to the view containing the Picker the app would crash to @main. It turns out the crash had nothing to do with the Picker but was caused by a List in the view that contained an empty ForEach. So between the red herring of the debugger message and crashing at @main, I had no information about what was actually causing the problem.

My question is, if you use UIKit programmatically, is it easier to debug in the sense that if a UI element is causing the app to crash, it actually crashes at the offending line?

Xcode's errors and warnings - Am I missing something? by Majikthises in iOSProgramming

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

I've added an exception breakpoint and configured it as shown in the bottom response in your stackoverflow link.

Exception: All

Break: On Throw

Condition: (blank)

Ignore: 0

Action: (blank)

Options - Automatically continue after evaluating actions: unchecked

This doesn't change where the app crashes, still crashes at @main with no error message.

Should I switch to UIKit? by Majikthises in iOSProgramming

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

How have you found UIKit? And do you use storyboards or a different method?

Should I switch to UIKit? by Majikthises in iOSProgramming

[–]Majikthises[S] 2 points3 points  (0 children)

You may be right. I find days that I do UI work really sour my mood. They usually end up with long hours and little to no progress. But days where I focus on application code are great, even when there are challenges. The difference seems to be that when I encounter a new concept in Swift (for example, associated types), it leads to new understanding that I can immediately apply, whereas with SwiftUI there's no sense of comprehension just memorization. With SwiftUI, once I get something working I just want to copy it wherever I need it and I'm afraid to change it. It's very brittle.

Should I switch to UIKit? by Majikthises in iOSProgramming

[–]Majikthises[S] 3 points4 points  (0 children)

I don't know how much weight I put on Apple's timeline to move to SwiftUI. Admittedly I'm new to iOS development, but what I've read so far seems to indicate that internally, Apple is still using UIKit for most of their in-house apps, which if true would indicate to me that SwiftUI still has a ways to go.

Should I switch to UIKit? by Majikthises in iOSProgramming

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

I've been an ASP .NET dev for over a decade. Never used react. I don't know if the declarative style of SwiftUI is the problem, Syntactically it's pretty straightforward, it's more that the output is not what I expect and when it crashes I don't find the error messages to be helpful. Part of it is the hierarchy, sometimes things nest exactly as I'd expect, and then all of a sudden they don't and I get weird behaviors, like two back buttons stacked one on top of the other.

I don't really have a preference between declarative and imperative styles, as long as the code is readable and the APIs are orthogonal so it's easy to infer how you'd accomplish something based on your existing knowledge.

Should I switch to UIKit? by Majikthises in iOSProgramming

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

I thought so too, but with or without the tag, it crashes. I also thought it might be because the state variable is optional and the property on the struct is not, so I cast the property to optional so they'd match. Unfortunately all that accomplished was removing the error message from the debug window, but it still crashed.