Post

Replies

Boosts

Views

Activity

Reply to App Intent not Discoverable by Siri
just say "Show me my books". don't need your app name. Also it seems you don't need the AppShortcutsProvider. I was able to get it working with just the AppIntent struct struct ShowMeMyBooks: AppIntent {     static var title: LocalizedStringResource = "Show me my books"     @MainActor     func perform() async throws -> some IntentResult {         return .result(dialog: "These are your books")     }     static var openAppWhenRun: Bool = false } note: it seems the sample code in the WWDC session is wrong. its right in the video but not in the attached code.
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Reply to SwiftUI slowly adoption
what I do is write the apps in swiftui then its pretty easy to bridge to UIKit for a particular view or part of it to get all of the functionality u have listed. I believe there is a WWDC session on this specifically. SwiftUI and UIKit generally plays together pretty well. Tbh its way easier and faster to do it that way than write everything in UIKit. some of what you have listed have been implemented in native swiftui already. eg pull down to refresh - have a look at the "what's new in swiftui" from the past few years wwdc's. I believe its called .refreshable MapKit has been recently brought into swiftui. not sure about the specific functionality you need but I recently converted my UIKit maps components into the native swiftui version. For the custom controls on a Video view, I overlayed some custom swiftui controls over the top of a bridged AVKit video player using a ZStack. it'll be another decade before everything is in swiftui, if ever. they still haven't got everything in objective c implemented for swift (try catching a core data fetch thrown exception in swift) and there are still a few obscure functionality that u still need to fall back to C for. So it'll pay to learn how to bridge the UIKit controls into swiftui so u can move to swiftui more seamlessly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’22
Reply to Do I need to establish LLC in the US when we launch an app in App store in the US
No, but from memory (I did it over 10 years ago) you will need to create a US tax file number or whatever they call it there. the iTunes connect process will take you through the process (or at least it used to). I think you also need one for Japan and one other country (Canada?) from memory if u want to avoid withholding taxes for sales in those locations. not sure if the process has changed now. feel free to correct me if it has.
Aug ’22
Reply to .fileExporter issue
yea I put it as high in the hierarchy as I can. for me that's generally on the content() view - makes it easy to know where it is, particularly if u want to call it from multiple different places var body: some View { content() .fileImporter {} .fileExporter {} } func content() -> some View { //all the other views }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to need help
start by telling us what the app is, what u are doing to make it crash, what os and device you are using, any error messages, your code. no one can help you with "can someone help me understand why this app is crashing? thank you so much!"
Sep ’22