Post

Replies

Boosts

Views

Activity

Reply to Digits move sideways
Monospaced is your best option. This makes a monospaced version of the current font struct ClockView: View {     @State private var date: String = "00:00:00"         var body: some View {             ZStack {                 Color.black                     .edgesIgnoringSafeArea(.all)                 Text(date)                     .foregroundColor(.white)                     .font(.system(size: 45, weight: .ultraLight, design: .default).monospaced())                     .foregroundColor(.secondary)                     .onReceive(ClockView.timer) { _ in                         self.date = ClockView.timeFormat.string(from: Date())                     }             }     }     static let timer = Timer.publish(every: 0.2, on: .main, in: .common).autoconnect()     static var timeFormat: DateFormatter {         let formatter = DateFormatter()         formatter.dateFormat = "HH:mm:ss"         return formatter } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to iOS 15.2 takes too long for calculations.
Then the worst case of your algorithm needs improvement. What does the calculation pattern look like? Is the input driven by data? How many dimensions or for loops process this data? Is my algorithm more efficient with small amounts of data but takes longer as the data get larger? Answer those questions then look for ways to improve any pattern that might be causing the issue. Iteration vs recursion, those types of questions. Now the question is if it's your API then think about how to improve it. If it is not yours then file a bug with the creator of the particular api.
Topic: App & System Services SubTopic: General Tags:
Jan ’22
Reply to Erasing strokes
A little bit of Set<> theory. When the draw state is set to erase (this behaviour will have to be modelled), do any current paths intercept any previously-stored paths if yes remove, place in a buffer (for undo purposes) and redraw. So instead of just drawing, you will need to model the behaviours.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’22
Reply to xCode Issue
This usually means you have an issue with thread safety, array bounds check error or a reference no longer exists. I will begin by performing NULL & array boundary checks on each array instance before accessing the subscripts.
Jan ’22
Reply to Digits move sideways
Monospaced is your best option. This makes a monospaced version of the current font struct ClockView: View {     @State private var date: String = "00:00:00"         var body: some View {             ZStack {                 Color.black                     .edgesIgnoringSafeArea(.all)                 Text(date)                     .foregroundColor(.white)                     .font(.system(size: 45, weight: .ultraLight, design: .default).monospaced())                     .foregroundColor(.secondary)                     .onReceive(ClockView.timer) { _ in                         self.date = ClockView.timeFormat.string(from: Date())                     }             }     }     static let timer = Timer.publish(every: 0.2, on: .main, in: .common).autoconnect()     static var timeFormat: DateFormatter {         let formatter = DateFormatter()         formatter.dateFormat = "HH:mm:ss"         return formatter } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to iOS 15.2 takes too long for calculations.
Then the worst case of your algorithm needs improvement. What does the calculation pattern look like? Is the input driven by data? How many dimensions or for loops process this data? Is my algorithm more efficient with small amounts of data but takes longer as the data get larger? Answer those questions then look for ways to improve any pattern that might be causing the issue. Iteration vs recursion, those types of questions. Now the question is if it's your API then think about how to improve it. If it is not yours then file a bug with the creator of the particular api.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Erasing strokes
A little bit of Set<> theory. When the draw state is set to erase (this behaviour will have to be modelled), do any current paths intercept any previously-stored paths if yes remove, place in a buffer (for undo purposes) and redraw. So instead of just drawing, you will need to model the behaviours.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to In-App Purchase consumable can be purchased just once
Sounds like Nonconsumable's behaviour purchase once restore as many times. Just double-check your product setup in AppStore Connect for Type Consumable
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Error CSMERR_TP_NOT_TRUSTED
Wrong forum, Xamarin is Microsoft go https://developercommunity.visualstudio.com/search?space=41
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Basic API into app to variables
This is more of a promotion (spam) for the sheetsu.co m site - ignore and mark as spam.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to xCode Issue
This usually means you have an issue with thread safety, array bounds check error or a reference no longer exists. I will begin by performing NULL & array boundary checks on each array instance before accessing the subscripts.
Replies
Boosts
Views
Activity
Jan ’22
Reply to .Net Core app made into Mac app bundle doesn't respect Info.plist's LSMinimumSystemVersion
Please go to the Microsoft support forums for anything Microsoft-related.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Could not mount “Elements SE”. (com.apple.DiskManagement.disenter error 49218.)
This is not an end-user support forum. Please go here.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to get udid
No longer a public API get udid
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Apple reviewers can't see my in-app product list
Was the In-App Purchase capability added to the target and were the In-App Products submitted for review before the app submission?
Replies
Boosts
Views
Activity
Jan ’22
Reply to Xcode 13 keeps crashing when running XCUITests on M1
Before you reopen Xcode, open Activity Monitor to see if Xcode is still running? Your best option will be to file a bug report via the feedback app
Replies
Boosts
Views
Activity
Jan ’22
Reply to SharePlay (screen share) stops working after a minute or less
Please look here in the consumer support forums: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to How to use Photos.app scripting targets from sandboxed apps
Once you're in the Sandbox, you're in the sandbox. You might have better luck just coding against the actual PhotoKit frameworks - https://developer.apple.com/documentation/photokit
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to DISK NOT EJECTED PROPERLY keeps popping up Big Sur 11.4 on mac mini M1 2020
This is not the appropriate forum please visit here: https://discussions.apple.com/welcome
Replies
Boosts
Views
Activity
Jan ’22