9 Patchable UI elements for iOS
It makes easy to setup 9-patch ui elements inside Interface Builder.
Read more about [9-patch image files] (http://developer.android.com/tools/help/draw9patch.html)
- iOS 6.0 (I haven't tested it on previous versions)
Copy the BA9PatchUISet folder to your project.
In Interface Builder, change your item's custom class to the
- BA9PatchUISetUIView
- BA9PatchUISetUIImageView
- BA9PatchUISetUIButton
Set top, left, bottom, right edge insets in Interface Builder's Attributes Inspector
This code is distributed under the terms and conditions of the MIT license