2

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.

Muhammad Nasir
  • 1,796
  • 1
  • 14
  • 22

1 Answers1

2

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:

http://cocoapods.org/

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.

Community
  • 1
  • 1
Ben Clayton
  • 80,996
  • 26
  • 120
  • 129