Post

Replies

Boosts

Views

Activity

Comment on Button that takes to new view controller does not work
I have tested the code like you said and I am getting the following result in the console: fightButton called BattleViewController instantiated navigationController nil Why am I getting navigation controller as nil? I have clearly added it in my storyboard. I am also getting this warning for the print statement for the navigation controller: Expression implicitly coerced from 'UINavigationController?' to 'Any'
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Comment on Failed to produce diagnostic for expression in SwiftUI, XCode 13.2
Yes, i actually wanted to fix the issue,Thanks for the help!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Button that takes to new view controller does not work
I have tested the code like you said and I am getting the following result in the console: fightButton called BattleViewController instantiated navigationController nil Why am I getting navigation controller as nil? I have clearly added it in my storyboard. I am also getting this warning for the print statement for the navigation controller: Expression implicitly coerced from 'UINavigationController?' to 'Any'
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on this class is not key value coding-compliant for the key result. - Error
Yes I have noticed and removed the connection.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21