GithubHelp home page GithubHelp logo

ethanmick / cloudmine-ios-testbed Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8.51 MB

This is the CloudMine iOS Library, but perhaps with some quirks, tweaks, or changes.

License: MIT License

Ruby 0.15% JavaScript 17.76% CSS 3.13% Objective-C 78.75% C 0.11% Shell 0.11%

cloudmine-ios-testbed's Introduction

CloudMine iOS SDK

This is the native iOS SDK for communicating with the CloudMine platform. It uses ARC (Automatic Reference Counting) and is thus compatible only with XCode 4.1 or higher and iOS 4 or higher.

Installation

CloudMine hosts the most recent version of the Library in a packaged format already. You can download it here.

  1. Download the library from CloudMine.
  2. Extract the CloudMine.framework and drag it into your Xcode project. Ensure "Copy items into destination group's folder" is checked, and to check your application's target in the "Targets" section.
  3. The iOS Library has some dependencies which needed to be added to your App:
    3.1 CFNetwork.framework
    3.2 CoreGraphics.framework
    3.3 libz.dylib
    3.4 MobileCoreServices.framework
    3.5 SystemConfiguration.framework
    3.6 UIKit.framework
  4. The iOS Library also requires some linker flags to be set in the project, due to its nature as a static library. From the project editor, select your application's target, go into the Build Settings tab, and add the -all_load and -ObjC flags to the Other Linker Flags section.

Watch the introductory screencast to see how to set up a new iOS project in XCode using the CloudMine framework, including how to specify all the dependencies.

Please see the documentation overview on our website for more details.

Building the Library

  1. Download the repository to your local machine: git clone git://github.com/cloudmine/cloudmine-ios.git;cd cloudmine-ios
  2. Get the submodules for the repository: git submodule update --init
  3. At this point, the framework can be modified and edited. To do so, open the cm-ios.xcworkspace file in XCode. Do not open any of the project files in the ios/ directory directly, as things won't work properly.
  4. To build the framework, choose the CloudMine Universal Framework scheme, clean, and build. This will build a universal framework that can run both on the iOS simulator as well as an iOS device. You can find the resulting framework under ios/build/Release-iphoneuniversal.

Testing

Use the libcloudmine scheme for development work and for running the unit tests. To run the tests, select the libcloudmine scheme and do Product -> Test (โŒ˜U). All the unit tests are written using Kiwi, a nice BDD-style unit testing framework.

Contributing

Contributions to the SDK are always welcome. However, please be sure you have well-written tests that cover all your cases. Since this is a framework, it is sometimes hard to test what you've written using unit tests. If that is the case for your contribution, write a small sample iPhone or iPad application (it doesn't even need a UI) that demonstrates the correct, intended functionality of your additions to the framework. Once all that is done, submit a pull request clearly explaining your additions and providing links to the external test cases if applicable. If you have any questions, please contact the maintainer directly at [email protected].

Thanks in advance for all your hard work and awesome code! :)

cloudmine-ios-testbed's People

Contributors

ethanmick avatar marcweil avatar nikkoschaff avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.