Post

Replies

Boosts

Views

Activity

Comment on Delegation in Swift
@G.U.T.explorer "discovered the nested for-loops execute over 1.5E14 times": that's effectively a lot and we may not have the patience to wait till year 3800 😉. But what loop do you refer to ? In which code precisely ?
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Comment on How can I make this kind of scroll menu?
What do you get when you run ? Could you show screen shot (please don't forget to edit the capture in Preview app and divide size by 2 or 3 (Adjust size in Tools menu). You have probably a problem with the constraints, but I would need to see them all to confirm what it is. Also check you have defined constraints for UIImage (leading and trailing and top to zero, bottom typically 50 or 60 to leave room for labels.     In storyboard it looks like you have drawn, not according to constraints. If you ask for menu command : Editor > Resolve Auto Layout Issues > Update frames, you may get a different display.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’21
Comment on Problem with layout - CollectionView
Please use the address I sent by mail to move more rapidly to the solution. It seems you have not set constraints for the collectionView respective to the safe area: leading and trailing at least. Cell is 309 wide where collection is 404. You could get them less different. You do not show either what is the image aspect.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’21
Comment on Scroll two collection view at one time, bug IOS 15
A correction on the last code posted. Before adding collection as subview to the cell, one need to remove previous subviews (the already created collection) ; add the following before cell.contentView.addSubview(collectionView)                                                                                                               for v in cell.contentView.subviews { v.removeFromSuperview()  }
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’21
Comment on I could really, really use some help with a concept that continues to hurt my head: Initializing.
I understand you have problems, trying to develop with SwiftUI. Mastering the concepts of SwiftUI do require some serious learning, before engaging in a real app development. If you did not go through this learning (with free Apple tutorials for instance), I would advise you to do so. And start designing your app once done. That will save you a lot of frustration and headaches. Good luck.      And also, when you post code, tell exactly where you get the error message such as '“Missing Parameter for accountBackEnd…”'
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21