**** I hope it is to hide a compliment… Otherwise it would be absolutely inappropriate, and not the best way to ask for help.
Post
Replies
Boosts
Views
Activity
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:
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:
Forum is not for promoting app. It is for asking question about development.
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.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
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.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
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
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
This post is a complete mess. Is it a forum editor bug or a careless writer ?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
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.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
@Sonseyeon
Is it a test ? Is it a joke ? In any case that's a poor first post on the forum.
Welcome here however.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
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:
Just add comments.
See here how to add documentation: https://developer.apple.com/documentation/xcode/writing-symbol-documentation-in-your-source-files
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Welcome to the forum.
You wrote 1 / 30.
The / is apparently a forbidden character.
Replace by 1 - 30.
Topic:
Business & Education
SubTopic:
General
Welcome to the forum.
The version reference (1015.7) you give is a bit bizarre. And you likely misread it.
You probably have Catalina which is 10.15.7 (the latest MacOS 10 version). But it is much older than MacOS 14.
Hence the message you get is logical.
Which Mac have you got, to see if it can support MacOS 14 ?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
**** 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
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
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
Forum is not for promoting app. It is for asking question about development.
- Replies
- Boosts
- Views
- Activity
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.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
- Replies
- Boosts
- Views
- Activity
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.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
- Replies
- Boosts
- Views
- Activity
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
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
This post is a complete mess. Is it a forum editor bug or a careless writer ?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
- Replies
- Boosts
- Views
- Activity
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.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
- Replies
- Boosts
- Views
- Activity
@Sonseyeon
Is it a test ? Is it a joke ? In any case that's a poor first post on the forum.
Welcome here however.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
- Replies
- Boosts
- Views
- Activity
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
Just add comments.
See here how to add documentation: https://developer.apple.com/documentation/xcode/writing-symbol-documentation-in-your-source-files
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
- Replies
- Boosts
- Views
- Activity
Welcome to the forum.
You wrote 1 / 30.
The / is apparently a forbidden character.
Replace by 1 - 30.
Topic:
Business & Education
SubTopic:
General
- Replies
- Boosts
- Views
- Activity
Welcome to the forum.
The version reference (1015.7) you give is a bit bizarre. And you likely misread it.
You probably have Catalina which is 10.15.7 (the latest MacOS 10 version). But it is much older than MacOS 14.
Hence the message you get is logical.
Which Mac have you got, to see if it can support MacOS 14 ?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
- Replies
- Boosts
- Views
- Activity