Post

Replies

Boosts

Views

Activity

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
Reply to Issue with DatePicker in Xcode 14
Seems to be a bug in the iOS16 SDK for DatePicker. you can safely ignore it. I can't remember what it was but there is a compiler flag u can set so it reduces the error message down to one line to clean up your console. you can probably find it with a google/stackoverflow/forum search
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22
Reply to Parse data from natural language text using SiriKit
yes, but you have to write all the logic to do that... Siri can recognise a specified number of phrases for you but that's about it. The new App Intents framework will help. have a watch of the WWDC sessions on it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to AppIntents: pauses in siri's speech and hiding dialog text
I tried using a ";" instead of a "." in the dialog. gives a more acceptable pause between bullet points but it's not really the correct punctuation in the displayed dialog.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Jul ’22
Reply to NavigationStack with NavigationLink - back button only works correctly one deep
seems to be fixed in ios16 beta 4
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
Aug ’22
Reply to Can not download any key!
Sorry not helpful but - "Wheres the any key!" ;-)
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Aug ’22
Reply to iOS 16 beta 6
its your device, do what u want
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to How to "properly" fetch data from CoreData in descending order?
try this let fetchRequest : NSFetchRequest<Item> = Item.fetchRequest()     fetchRequest.sortDescriptors = [NSSortDescriptor(keyPath: \Item.itemNo?, ascending: false)]     let results = try context.fetch(fetchRequest)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’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!"
Replies
Boosts
Views
Activity
Sep ’22
Reply to SwiftUI Preview doesn't work iOS16 XCodeVersion14.0beta 2 (14A5229c)
that's an old beta, try getting the latest one
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
still broken in iOS16 final
Replies
Boosts
Views
Activity
Sep ’22
Reply to Core Data + CloudKit don't synchronize in background on iOS
id also like to know this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
to fix this I had to reset the environment, let the record tables be recreated and then re-add the recordName and modifiedTimestamp indexes for the public database. exporting the environment schema and then reimporting didn't work.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Issue with DatePicker in Xcode 14
Seems to be a bug in the iOS16 SDK for DatePicker. you can safely ignore it. I can't remember what it was but there is a compiler flag u can set so it reduces the error message down to one line to clean up your console. you can probably find it with a google/stackoverflow/forum search
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22