Custom UITableViewCell – Not Quite As Daunting As I’d Thought…

customtablecell

I’ve previously hit on the need to use a custom UITableViewCell, though I’ve always shied away from it because of project time constraints and the assumption that it would take some sweet time to perfect. Well… as it turns out I was wrong. It’s easy! Create in X-Code If you create a new file in [...]

resignFirstResponder ‘bug’ in UIModalPresentationFormSheet

So err… this has been killing me for a while. The keyboard on my UIModalPresentationFormSheet would not Fuck Off! The problem I presented a modal view controller with a modalPresentationStyle of UIModalPresentationFormSheet, but further to that, my view controller was presented within a UINavigationController. Here’s a quote from Apple: [with regard to UIModalPresentationFormSheet] To avoid [...]

Sending Data Between UIViewControllers

Previously, I’ve been in the position where I need to send a variable to a modal view controller that I’m about to present. Here is my presenting code in my MainViewController:

So I want to send the variable ‘variableName’ to my modal view controller. In order to do this, I first need to allow [...]