LAST CHANCE: Save 50% on all my Swift books and bundles! >>

Help with alerts in UIKit

Forums > Swift

Hi developers,

I'm programming mostly in SwiftUI, but I need to create this project in UIKit.

https://github.com/Tim-engineer/WBPO-UIKit

I'm having trouble with four things:

1) The alerts aren't showing when theres an error and I don't know how to connect it to the ViewController

2) Everytime I want to tap on the Follow button in the ListCell it will not work because the whole ListCell is like a big button

3) This one is not that serious but I should be using UIKit with Combine, but I don't know how or what's really the difference

4) Everytime I try to run the app on a simulator I have to do it twice, don't know what can be the problem.

In SwiftUI this solutions are easy but in UIKit it's pretty hard.

I'll be very thankful if anyone could help me with this problem...

   

Hacking with Swift is sponsored by Essential Developer.

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until July 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.