objective c - Buttons are not working -
Hello, I'm following the tutorial with some enhancements of its own. Unfortunately I am stuck at a point where I could not know what to do .. (I'm all for training / learning objectives is fairly new to iOS development).
A Segue couple for the step where I have to navigate back I did whatever tutorial said, but this one time I am on the original scene with me Do not bring back ViewController and press Cancel or End.
I've added a new title file GroceryListTableViewController.h
@interface GroceryListTableViewController called with (workaround) - (IBAction) unwindToList: (UIStoryboardSegue *) segue; @end
I have changed classname of GroceryListTableViewController.swift to
@objc (GroceryListTableViewController) class GroceryListTableViewController: UITableViewController
Then in the final step I told both of the buttons in the element that came out of the ViewController.
Either way everything works except for those 2 buttons. What am I doing wrong here?
After the text "itemprop =" text ">
for the initial beta version of the woraround xcode with a different H file and now necessary. You can destroy the h file
class file is where you should go to segue, code put you want to perform, such as :.
Cancel @IBAction function (segue: UIStoryboardSegue!) {// code here} @abouting function (segue: UIStoryboardSegue!) {// code here}
Then, on the Exit button from the ctrl-drag in your storyboard on the Exit icon:
When you release the mouse button, then 2 functions are displayed. Choose the appropriate action for that button:
This is the hope that helps.
Comments
Post a Comment