uistoryboard
How do I workaround this new warning in Xcode 4.3.1: “Scene is unreachable due to lack of entry points…”?
You can just set an identifier. In Xcode >5 on the identity inspector on the right pane, you’ll find a field called “Storyboard ID”. Put any string in there, and Xcode will be happy again. It just wants to know you could reach it (via that identifier) if you wanted to.
Sane localization workflow using Xcode 6, iOS 8, Storyboards and xliff?
We’ve resorted to connecting every label to an @IBOutlet and setting its translation in viewDidLoad() with NSLocalizedString. You are doing that right. Seriously. Wrap your development process around it and you’ll get way better off than trying to adopt the mess that the Storyboard localization evolved into. It solves pt.4 – you decide what you … Read more
How to dismiss a modal that was presented in a UIStoryboard with a modal segue?
There isn’t any storyboard magic for dismissing a modal view controller without writing at least a little bit of code. But while you do have to implement some code of your own, you don’t necessarily have to go to that much trouble. You can just have a button in view controller B that calls [self … Read more
Using stretchable images in Xcode storyboards
Update for iOS 7+ iOS 7+ now supports stretchable images natively via the asset catalog. Using the asset catalog you can now specify how images are sliced and how they scale (stretch or tile). These asset catalog attributes for the image will be reflected immediately in storyboard. Great new improvement. For more info, see Apple’s … Read more
UItabbar item not showing storyboard reference
You need to add the tab bar item in the destination storyboard view controller.
How to correct Tab Bar height issue on iPhone X
On iOS 12.1 I’ve solved this issue by overriding safeAreaInsets in the UITabBar subclass: class TabBar: UITabBar { private var cachedSafeAreaInsets = UIEdgeInsets.zero override var safeAreaInsets: UIEdgeInsets { let insets = super.safeAreaInsets if insets.bottom < bounds.height { cachedSafeAreaInsets = insets } return cachedSafeAreaInsets } } For iOS 13.0 onward, class TabBar: UITabBar { private var … Read more
Storyboard Entry Point Missing
Click on Top of ViewController or Controller in Document Outline window (on left side) of the Controller you want to make Storyboard Entry Point. Click on Attribute inspector button (in right side). Enable “Is Initial View Controller”. Storyboard Entry Point will reappear hopefully.