GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

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 Alex.

SPONSORED Alex is the iOS & Mac developer’s ultimate AI assistant. It integrates with Xcode, offering a best-in-class Swift coding agent. Generate modern SwiftUI from images. Fast-apply suggestions from Claude 3.5 Sonnet, o3-mini, and DeepSeek R1. Autofix Swift 6 errors and warnings. And so much more. Start your 7-day free trial today!

Try for free!

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.