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

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

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)