Post

Replies

Boosts

Views

Activity

Install .ipa file using M1 MacBook
I recently purchased an M1 MacBook Pro. I've been working on one of my apps in Xcode. I created an archive of the app and exported it using the Development option. I then connected my iPhone to the MacBook and see it in the Devices and Simulator window. When I drag and drop the .ipa file, it shows up in the list in the Xcode window, but never appears on my iPhone. I am able to run the app in Debug mode from Xcode, so I know that the app can run on this iPhone. What am I doing wrong? Or is this a problem with M1 Macs?
0
0
2.2k
Mar ’21
macOS AppKit or Catalyst?
I've learned how to make iPhone and iPad apps over the summer. I have a few ideas for apps that I'd like to implement on the Mac. Some are only really useful on a Mac. I'm wondering if it is worth the effort of learning AppKit for these macOS only apps or can I do everything just using UIKit and Catalyst?
0
0
590
Dec ’20
How to click Commit button via keyboard shortcut?
This sounds like a simple question, but I can't figure it out. When working on my code, I like to commit often. I bring up the Commit popup window often via a keyboard shortcut. After I type in my commit message, I then have to go pickup the mouse to click on the Commit 1 File button. Is there a way to do this via the keyboard? Screenshot of popup window - https://gist.github.com/jcarucci/97f574e90565e5cefc664630bc9de6df
1
0
716
Jul ’20
Why are types defined with extension?
I'm looking through the swift stdlib code and I notice so much of the code for the built-in types, such as Bool are defined as extensions: https://github.com/apple/swift/blob/master/stdlib/public/core/Bool.swift Why is that? Why not just put all of the functionality into the main struct starting at line 64?
5
0
545
Jul ’20
playground vs playgroundbook, which to use?
My use case is that I'm reading a book about swift on my iPad. I'm using the Swift Playgrounds app to test out what I'm learning there. But there are times when I want to look at that code in Xcode and try to incorporate it into an app I'm working on. I see you can create a regular .playground on the iPad and then it can be opened on either the iPad or Xcode on the Mac. Are there any advantages to using a playgroundbook? I find it very confusing that you have two different file formats that do almost the same thing. Especially now that the Swift Playgrounds app is also available on the Mac.
1
0
853
Jun ’20
SwiftUI vs UIKit - new features?
I'me learning Swift and iOS development using the UIKit method. I decided to learn UIKit because I believe it is the most capable and I can use any API I can find, not everything is available in a SwiftUI App. I figure I can use SwiftUI after I master UIKit and decide where it is appropriate. As I watch the videos that have been coming out, I think my approach has been validated. I watched a video about Scribble and the new APIs to support it in your app. As far as I can tell, these APIs are only available in UIKit and not SwiftUI, right? UIScribbleInteraction and UIIndirectScribbleInteraction for example: https://developer.apple.com/documentation/uikit/handwriting_recognition I did watch a video on SwiftUI and I am intrigued by the new programming paradigm. So I'm looking forward to trying it out on a project. But I just want to check-in with the more experienced developers on this forum to see if I'm correct about learning UIKit first.
3
0
4.3k
Jun ’20