Is there a Mail API that will allow you iterate through all the email stored on a user's computer?
Post
Replies
Boosts
Views
Activity
I’m trying to use CloudKit with my SwiftUI app. Are there any good tutorials or example projects showing how to do this? I’ve only been able to find UIKit examples.
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?
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?
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
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?
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.
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.
When I search for a term like iPad Sidebar, I’d like to be able to sort with the latest posts on top, but I don’t see any controls to sort the search results.
How can I share the code I write in the Swift Playgrounds app on iPad? I see that I can create modules and files on the iPad, but I don't see any way to share that with my Mac besides copying and pasting the code into an email. Is there a way to see this playground content in iCloud?