Post

Replies

Boosts

Views

Activity

Comment on TableView editingStyle
If you wanted to remove from self.trades, you should: find what is the position in trades of the section/row you remove (it is NOT indexPath.row). Then remove it from self.trades. After that, recompute self.sections dictionary with self.sections = groupBySymbol.map {(Key, Value) in return sectionBySymbol(symbol: Key, trades: Value) }. So it is much simpler to update sections[indexPath.section].trades directly.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22
Comment on Solve a set of equations
So you had seen the answer on SO, and seen the answer there was essentially same as mine: no generic solution to solving. Note: if you set one of the unknown, you will not explore the whole surface and will probably fall out of the intersection. But if that fits your needs, that's OK? Good luck.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22
Comment on TableView editingStyle
But you can do it !
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on What is the logic of autocapitalizationType and the corresponding global setting?
I tried to set on the UITextField class, with         DispatchQueue.main.async { UITextField.appearance().autocapitalizationType = .words }  in viewDidLoad  but did not succeed yet.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Swift TextField Not Horizontally Scrolling
At the bottom of this page, you have a FeedBack and bug report link (in the Support section). Please report the bug number here, in case.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Deleting Forum Posts
There are developers on the forum who don't pay developer fees.
Replies
Boosts
Views
Activity
Apr ’22
Comment on Swift TextField Not Horizontally Scrolling
I also tested in MacOS 12.3.1, Xcode 13.3.1, iOS 15.4 simulator. Works OK. Did you reboot the Mac, in case ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Are there application classes where UIKit is a better choice than SwiftUI?
For the first part of the question, please show code.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Swift TextField Not Horizontally Scrolling
I tested on MacOS 12.3.1, Xcode 13.3 (not 13.3.1) and iOS 15.4. Does work. I will try on 13.3.1, in case.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Swift TextField Not Horizontally Scrolling
@Raphael95 I just tested your code. It scroll. Which versions of Xcode, iOS ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on convertPoint returning wrong data in tableview
If you don't show code, it is impossible to say. Which version of iOS ? And tell precisely what value you get, what value you expected.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on TableView editingStyle
Thanks for the feedback. You can close the thread now on the correct answer.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Blank project page in Xcode
There is also the Editor menu > Preview
Replies
Boosts
Views
Activity
Apr ’22
Comment on Error "Missing argument for parameter #1 in call.
Yes, post your mail here please.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Working with Contractors
Working with someone since a year is not enough (in my mind) to create absolute trust… Can you meet them in person, not remotely ?
Replies
Boosts
Views
Activity
Apr ’22
Comment on TableView editingStyle
If you wanted to remove from self.trades, you should: find what is the position in trades of the section/row you remove (it is NOT indexPath.row). Then remove it from self.trades. After that, recompute self.sections dictionary with self.sections = groupBySymbol.map {(Key, Value) in return sectionBySymbol(symbol: Key, trades: Value) }. So it is much simpler to update sections[indexPath.section].trades directly.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Solve a set of equations
So you had seen the answer on SO, and seen the answer there was essentially same as mine: no generic solution to solving. Note: if you set one of the unknown, you will not explore the whole surface and will probably fall out of the intersection. But if that fits your needs, that's OK? Good luck.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22