very basic how-to include ocmock in my project

Discussion of the OCMock framework. If you have patches we would prefer you to send them to the mailing list, but attaching them to a topic is possible, too.

very basic how-to include ocmock in my project

Postby toranb » 03 Mar 2012, 03:18

I'm very new to ocmock / ocunit and I'm looking to see if someone can point me to a very basic how-to that would show how one might include / use the ocmock library in a real project.

Currently I've downloaded and opened the 2.0 dmg and noticed an iOS folder with a ton of .h files, but I'm not sure how to include this in my project (or how it should be added)

In the past I've just added the .h / .m files to my project (drag n drop style) but I'm trying to do this right and wanted to see if someone had a simple / beginner friendly read me or tutorial

Thank you in advance
toranb
 

Re: very basic how-to include ocmock in my project

Postby erik » 04 Mar 2012, 03:05

Maybe these help a bit:

  • http://stackoverflow.com/questions/6124523/linking-a-static-library-to-an-ios-project-in-xcode-4
  • http://www.borborygmus.net/ios/xcode-4-project-ios-static-lib/
  • http://www.icodeblog.com/2011/04/07/creating-static-libraries-for-ios/
erik
 
Posts: 71
Joined: 10 Oct 2009, 15:22
Location: Hamburg, Germany


Return to OCMock



cron