Use of xcassets

Use of xcassets is the new standard as of Xcode 5 and iOS 7. Import images by clicking on the blue folder called “Images.xcassets” then click on the small “+” plus sign at the bottom of the window that appears. Now choose “Import” to put images in there. This is also the new location of … Read more

How to sync localized storyboards’ strings after modifying storyboard in Xcode 5

Check out ReMafoX, it’s a Mac app that perfectly solves your problem. It can be easily installed and integrated within your project, watch this video for a detailed walkthrough. Alternatively, if you prefer an open-source CLI tool without a GUI, you can also use BartyCrouch. Install BartyCrouch via Homebrew: brew install bartycrouch Alternatively, install it … Read more

Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5

EDIT Note that in iOS 9 this technique will become unnecessary, because a UIStackView will perform distribution automatically. I’ll add another answer explaining how that works. How to Perform Even Distribution Using Autolayout The simplest way to do this in Interface Builder alone (rather than constructing constraints in code) is to use “spacer” views: Position … Read more

Xcode workspaces with sub-projects and project dependencies triggering builds

This solution was intended for another problem, but maybe it fills your needs. After adding your subproject to the workspace: Select the Target which should use the newly added subproject In “Link Binaries with Libraries” under Build Phases hit the + button If the Library does´t show up hit “Add Other…” Navigate to the Folder … Read more