ioscodesnippet.com is a collection of self contained inspiring little pieces on iOS development. Most code snippets here can be installed easily through our public ioscodesnippet / Spec CocoaPods custom repo.

There's something new here:

Start using CocoaPods

To configure the ioscodesnippet custom repo, run this once.

$ pod repo add ioscodesnippet https://github.com/ioscodesnippet/Specs.git

Create a Podfile for your project.

$ edit Podfile
platform :ios, '6.0'
pod 'UIView-JTViewToImage', '~> 0.0.1'
pod 'UIImage-JTColor'

Remove and add the lines you needed in your Podfile, then you can run:

$ pod install

You'll be instructed to open the project with yourproject.xcworkspace.

Don't have CocoaPods?

Learn more, or you can browse our original usage guide.

If you like this page, you can follow us to keep track of our updates!