Browse Source

Adds Podfile for cocoapods

master
Joshua Moerman 10 years ago
parent
commit
657362b405
  1. 4
      .gitignore
  2. 17
      Podfile
  3. 2
      README.md

4
.gitignore

@ -1,4 +1,6 @@
.DS_Store
*.xcworkspace
*.xcuser*
project.xcworkspace
Podfile.lock
Pods

17
Podfile

@ -0,0 +1,17 @@
# Basic Podfile template
# Put all the pods in both targets (I did not succeed in making this nicer)
# A Podfile always need a default platform (I get an error otherwise)
platform :osx, '10.9'
target 'OSX' do
platform :osx, '10.9'
# pod 'AFNetworking'
end
target 'iOS' do
platform :ios, '7.0'
# pod 'AFNetworking'
end

2
README.md

@ -19,3 +19,5 @@ I wanted a unified framework for OpenGL on both OSX and iOS without to much of a
## Where to plug in
Just change Game.h and Game.mm to whatever you like. Note that everything in there is hardcoded and should not be regarded as example code.
If you need any third party libraries, just add them in the Podfile and run ```pod install```. An Xcode workspace will be generated, and you will be good to go.