Post

Replies

Boosts

Views

Activity

Reply to Cannot clear TextField when typing in a new value
Your explanations are a bit hard to follow… I cannot understand how all the objects relate to each others. What happens ? When you have 6 in Reps and type a 7 you get 67 ? Is that it ? Where do you expect the TextField to be cleared? Did you try to do it here, with onTap ? VStack(alignment: .leading) { Text("Reps") .foregroundStyle(.gray) .font(.subheadline) TextField("\(set.reps)", value: $set.reps,formatter:Formatter.valueFormatter) .keyboardType(.decimalPad) .onTapGesture { set.reps = 0 } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Performance of SwiftUI List
Could you show the exact code of LogDetail(log:) To check if it is the issue, test with the following change: 1og in NavigationLink(destination: Text("same destination")) I found this article that shows the problem is common with large listes: https://fatbobman.com/en/posts/optimize_the_response_efficiency_of_list/ Hope you will find solution in it.
Topic: UI Frameworks SubTopic: SwiftUI
Aug ’24
Reply to swift: documentation for proper import name?
If you search for Notifications in the doc, you will get a suggested reference with a link to User notifications. Other items in the list point to 2 frameworks: import UserNotifications import UserNotificationsUI It may not be necessary to import. Do you get an error message ? If so, you may have to declare the class as conforming to UNUserNotificationCenterDelegate You can file a bug report against documentation.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to need help with Xcode (I am starting)
Please provide information: Did you succeed to compile your app ? Is it an iOS or Mac app ? When does it occur ? When you open Xcode ? When you try to compile ? When you try to archive ? When running the app in simulator ? When trying to run on device ? Which version of Xcode ? Did you search the forums for similar questions ? https://forums.developer.apple.com/forums/thread/725865 https://stackoverflow.com/questions/65989461/cant-sign-in-in-xcode-couldn-t-communicate-with-a-helper-application
Aug ’24
Reply to Information
As I told you in your other thread with the same question, the best is probably to go and measure yourself in a shop. But you can also evaluate from the image. Knowing, from Apple specs: physical width = 76.7 mmm, and is 90 mm on the image the dimension you look for (blue diagonal) measures 55 mm on image the real dimension is 76.7 * 55 / 90 = 46.87 mm. Don't forget to close your threads by making the correct answer if you got it.
Topic: Community SubTopic: Apple Developers Tags:
Aug ’24
Reply to who can answer me? Please
No one for a sure answer. Those who know don't tell (and it is strictly forbidden to disclose such information on the forums), those who tell don't know. But if rumors are enough, have a look at MacRumors. Otherwise, just wait for about 40 days now…
Aug ’24
Reply to About Apple's Review
Yes, seriously. Here are Apple's requirements: https://developer.apple.com/support/app-account/#:~:text=Before%20you%20begin%2C%20you'll,for%20the%20entire%20enrollment%20process. follow these steps to enroll in the Apple Developer Program through the Apple Developer app on iPhone, iPad, or Mac. Before you begin, you’ll need: An iPhone or iPad with Touch ID, Face ID, or passcode enabled, or a Mac with the T2 Security Chip and Apple Silicon. You must use the same device for the entire enrollment process. An Apple ID with two-factor authentication turned on. Your Apple ID information must be valid and up to date — including, but not limited to, your first name (given name), last name (family name), address, phone number, trusted phone number, and trusted devices. The latest version of the Apple Developer app installed on your device. To sign in to iCloud on your device. You may also read this: https://stackoverflow.com/questions/64896178/mandatory-to-have-an-ios-device-to-deploy-in-app-store
Jul ’24
Reply to Help!!
All dimensions of iPhones here : https://www.ios-resolution.com Ans detailed spec of 15 Pro max: https://www.gsmarena.com/apple_iphone_15_pro_max-12548.php But you want the dimension of a rear glass. It seems to be the same as the front glass. If you look for dimensions of the cameras bump, you could evaluate it using the image below and knowing the overall dimension. But the safest may be to go in a shop and measure it.
Jul ’24