Post

Replies

Boosts

Views

Activity

Reply to BUG: **** YOU APPLE
**** I hope it is to hide a compliment… Otherwise it would be absolutely inappropriate, and not the best way to ask for help.
Jul ’24
Reply to Peculiar EXC_BAD_ACCESS, involving sparse matrices
Welcome to the forum. This code may be readable for you, but without any comment, it is a headache, at least for me, to really understand … So I may miss something in your code. If I understand what you are doing in static func leastSquaresSolution(A: [[Double]], B: [Double]) -> [Double] { you are computing and return xValues This should be done by manipulating xPtr. Correct ? xValues.withUnsafeMutableBufferPointer { xPtr in xValues is initialised with 0.0 values. Where do you update xPtr, which would modify xValues before you return it ?
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’24
Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
Could you show the complete code so that we can better understand what happens (it would even be better to have a reproductible example) ? Maybe self in self.view.frame.size.width is just referring to the parent view and not settingsView. You could also try const int viewWidth = settingsView.view.frame.size.width; or get the width in the completion handler, to be sure you refer to the correct object.
Topic: UI Frameworks SubTopic: UIKit
Jun ’24
Reply to error code
Which API ? What is the code ? What is the exact and complete message ? Is it a warning or an error that stops compilation ?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to BUG: **** YOU APPLE
**** I hope it is to hide a compliment… Otherwise it would be absolutely inappropriate, and not the best way to ask for help.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Why did self change?
Impossible to say anything with so limited information. Please give details and the complete code you run. And explain where you observe the change.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Peculiar EXC_BAD_ACCESS, involving sparse matrices
Welcome to the forum. This code may be readable for you, but without any comment, it is a headache, at least for me, to really understand … So I may miss something in your code. If I understand what you are doing in static func leastSquaresSolution(A: [[Double]], B: [Double]) -> [Double] { you are computing and return xValues This should be done by manipulating xPtr. Correct ? xValues.withUnsafeMutableBufferPointer { xPtr in xValues is initialised with 0.0 values. Where do you update xPtr, which would modify xValues before you return it ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Just made DynamicLake Pro for macOS (DynamicIsland)
Forum is not for promoting app. It is for asking question about development.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Tiktok Live Hang on ios 18
Welcome to the developers forum. Your question is not about an app development. So it is not for this forum. You'd better file a bug report in Feedback assistant or ask on the app's forum.
Replies
Boosts
Views
Activity
Jun ’24
Reply to IOS 18.0 Beta - „Hidden“ Feature ‚Bug‘
Could you show with screenshots what you get and what you'd expect ? In any case, forum is not the right place to report bugs. Use Feedback Assistant instead.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Is there no way to support upside down orientation on newer iPhones?
You did not miss anything. Effectively, I don't think it is possible. Reason is that notch or Dynamic Island would not be compatible with the dismiss bar at the bottom. Don't forget to close your threads when done by tapping the correct answer button.
Topic: UI Frameworks SubTopic: General
Replies
Boosts
Views
Activity
Jun ’24
Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
Could you show the complete code so that we can better understand what happens (it would even be better to have a reproductible example) ? Maybe self in self.view.frame.size.width is just referring to the parent view and not settingsView. You could also try const int viewWidth = settingsView.view.frame.size.width; or get the width in the completion handler, to be sure you refer to the correct object.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’24
Reply to Why can't use
This post is a complete mess. Is it a forum editor bug or a careless writer ?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Battery Drain issue in ios 17
You'd better ask on Apple support forum: https://discussions.apple.com/welcome Here is a forum for technical questions for app development, not for product related questions. Good luck.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Apple
@Sonseyeon Is it a test ? Is it a joke ? In any case that's a poor first post on the forum. Welcome here however.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Programmatically created NSWindow crashes upon close
You declare dummyWindow inside a function. It is destroyed when you leave the appDidFinishLaunching, even though the window remains on display. Try declaring dummyWindow at the top level.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How do I generate a document like the definition of an Int type in Xcode?
Just add comments. See here how to add documentation: https://developer.apple.com/documentation/xcode/writing-symbol-documentation-in-your-source-files
Replies
Boosts
Views
Activity
Jun ’24
Reply to I can't verify my address
Welcome to the forum. You wrote 1 / 30. The / is apparently a forbidden character. Replace by 1 - 30.
Replies
Boosts
Views
Activity
Jun ’24