Reputation: 1806
I am trying to add MWPhotoBrowser library to my ios project which uses storyboard and arc. I am getting all sorts of nasty errors. The method proposed in gethub is somewhat not clear.
So if anyone can please show step by step how to add MWPhotobrowser to a project. Screen shots along with answers would be much appreciated.
Upvotes: 2
Views: 1243
Reputation: 82227
There's a Cocoapod for this: See http://www.cocoacontrols.com/controls/mwphotobrowser.
If you haven't used it before, it's a package dependancy manager for iOS / Mac Projects. It makes adding libraries to your project much much easier.
EDIT: You'll need to install the Xcode Command Line tools before this'll work (see here)
Follow the install instructions at:
Then in your 'podfile' add the line:
pod 'MWPhotoBrowser', '~> 1.0.1'
then type
pod install
It should automagically deal with ARC vs non-ARC for you.
Upvotes: 2