-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Wes Byrne edited this page Oct 23, 2015
·
5 revisions
Welcome to the CBToolkit wiki!
Check out the example app in action here Or you can try it yourself. Clone the repo and open CBApp to see some examples of what you can do with the CBToolkit.
ManualDownload or clone the files and drop CBToolkit/CBToolkit into your project. Your good to go.
CocoaPods
CBToolkit is now available on cocoapods
Add pod 'CBToolkit', '~> 0.0'
to your podfile and run pod update.
For example, to add a CBProgressView
just drop in a UIVIew, open the attributes inspector in the right utilities panel and set the class to CBProgressView. The custom properties will now be available right along side the standard backgroundColor and such.
And if you really have the urge to type, you can always create CBToolkit views progamatically just like anything else.
-
CBView
: Round those corners, add a border, event drop some shadow all from the storyboard/IB inspector. -
CBBorderView
: Add borders to each side of a view as needed. -
CBGradientView
: Draw a gradient as a background or an overlay with zero code. -
CBImageView
: Style your imageViews and even load remote image with a url.
-
CBButton
: Give your buttons some style and bounce. -
CBIconButton
: From the classic hamburder to arrows, this button render it's icon with seamless transition. -
CBButtonView
: A custom UIControl so you can turn any view into a button. Ctrl drag to link it to you code.
-
CBTextField
: Style your text views without a single line. Make your fields stand out right in the storyboard. -
CBTextView
: Let this textview take care of resizign to fit its text. You can also add a placholder
-
CBActivityIndicator
: A clean and customizable replacement for UIActivityIndicator -
CBProgressView
: Downloading or uploading? Show the prgress in style.
-
CBCollectionViewLayout
: A full features layout with waterfall, aspect ratio sizing, drag and drop and more. -
CBSliderCollectionViewLayout
: A simple full screen horizontal layout with autoscrolling.
More about collection view layouts
-
CBPhotoFetcher
: A image fetching util for retrieving and caching iamges with a url. -
CBDate
extension: A collection of helpful date function and formatters. -
CBPhoneNumber
: Just initialize with a string, then format or call the number.