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
Comment on ProgressBar with DispatchQueue
deleted
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Does unifiedContacts(matching:keysToFetch:) return only unified contacts and leave out non-unified contacts?
@ShinehahGnolaum,  that may interest you: h t t p s : / / newbedev.com/fetching-all-contacts-in-ios-swift
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on SF Symbols Fill
Thanks. So not a bug, but different from UIKit.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on AppStore doesn't show preview pictures of app
When I open thins link (from Mac), as well as from de/app/, I get the icon and all images. I cannot test on AppStore, as app is probably not available in my country.
Replies
Boosts
Views
Activity
Nov ’21
Comment on Resetting a NSPredicate
So, why don't you call _filterTracks(str: "") in searchFieldDidEndSearching ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21
Comment on How can I make this kind of scroll menu?
Great. Don't forget to close this one.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Problem with layout - CollectionView
I sent you a mail at p…t @ g m a i l .c o m . I send again. Check in your spam.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Scroll two collection view at one time, bug IOS 15
I tested on iOS 15.2, no issue. Tested also with higher CollectionViews, exceeding the height of tableView cell. No issue either.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Scroll two collection view at one time, bug IOS 15
I tested both with vertical and horizontal scroll. Still works fine in iOS 15.2 simulator. Tested as well with iOS 15.0 simulator (Xcode 13.1). No problem either, collections scroll independantly.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Reference to currently active window
Valuable explanation, thanks. Would be a useful complement to 'isKeyWindow' documentation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21