Hey guys, I'm trying to create an application which displays a grid of buttons that the user can press into to modify its title and save it into an underlying data model. To do this, I created a custom UITableViewCell and loaded into a table view, as I felt this was simpler than manually building out every single button in the application. I used the following tutorial:
http://www.e-string.com/content/custom-uitableviewcells-interface-builder
My question is, where would I implement the IBAction methods that will allow me to actually manipulate the buttons and data?
I tried to set the file's owner in the custom cell's nib file to the same view controller that's displaying the table view, but when I hook up an IBAction that way, it causes the app to crash without any messages. When I create the IBAction method in the custom cell's implementation file, it seems to work fine. But this means that I will have to pass the managedObjectContext into it in order to manipulate the underlying data. Is this correct?
Thanks in advance.
http://www.e-string.com/content/custom-uitableviewcells-interface-builder
My question is, where would I implement the IBAction methods that will allow me to actually manipulate the buttons and data?
I tried to set the file's owner in the custom cell's nib file to the same view controller that's displaying the table view, but when I hook up an IBAction that way, it causes the app to crash without any messages. When I create the IBAction method in the custom cell's implementation file, it seems to work fine. But this means that I will have to pass the managedObjectContext into it in order to manipulate the underlying data. Is this correct?
Thanks in advance.