Post

Replies

Boosts

Views

Activity

Reply to What’s going on with iOS 7.5
Have you looked in the faces gallery whether you could find it back ? https://support.apple.com/en-gb/guide/watch/apdd909455f0/watchos Here is the list of available faces in WatchOS 7 https://support.apple.com/en-gb/guide/watch/apdd909455f0/watchos But they do not say if they changed something in 7.5. Is the one you speak about the Infographie (which is my favorite as well) ? If you don't find it, I suggest to file a bug report. A detail: it is WatchOS 7.5, not iOS 7.5.
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to Handling Push Notifications in the app
To handle a notification, you have to: register to this notification (in general in viewDidLoad), by adding an observer NotificationCenter.default.addObserver(self, selector: #selector(someFunc), name:.kNotif, object: nil) // you need to know the name of notification The name is defined by the one who post it (here Firebase), in general as extension Notification.Name {  public static let kNotif = Notification.Name("someName") } You define the func as:     @objc func someFunc() {      // Do what you need here }
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to What is the earliest method to put in and trigger a performSegue?
Could you explain the use case and the problem ? You have a VC1 displayed. From there, you will segue to another VC2 (via a button ? Automatically ?) If so, perform is called from VC1, not in viewDidLoad, nor ViewDidAppear (users need to have time to see VC1), but from the IBAction. But the vc containing this method should remain in the stack.  This depends on the type of segue. But are you sure you don't want a navigationView here ? Have a look here: https://stackoverflow.com/questions/25966215/whats-the-difference-between-all-the-selection-segues So, please explain use case.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to How create complex ui interface in swift ?
Finally, we can have images in the forum. That's a GREAT plus. Yes, you can define different VC for each object. You can also: create the objects in IB: there are several TableViews, several Collection views Some may be a subclass of UITableView, UICollectionView, … If needed, create Views in IB, to embed some elements which are logically linked connect each object to its IBOutlet
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Is there going to be a SwiftUI version of "Develop in Swift" book series?
You have pretty good Apple tutorials for SwiftUI. Not at the level of Develop in Swift, but good enough. https://developer.apple.com/tutorials/swiftui I was wondering if it's worth learning UIKit first as given in the book, or is it better to wait for an updated SwiftUI version book, and skip learning UIKit entirely? SwiftUI has a lot of constraints, and I personally find it quite inflexible (in many cases, you have to find workarounds to achieve what you could do simply do with UIKit). So, answer is a big NO: Swift + UIKit are not obsolete and won't be obsolete any time soon.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’21