Latest 1.0.0
Homepage https://github.com/AdaptiveMe/adaptive-arp-darwin
License Apache 2.0 License
Platforms osx 10.10, requires ARC
Dependencies AdaptiveArpApi
Frameworks Foundation
Authors

Adaptive Runtime Platform for iOS / OSX

Build Status
GitHub tag
License
Adaptive Runtime Platform for iOS/OSX
adaptive.me
Adaptive Runtime Platform

Introduction

About This Project

The Adaptive Runtime Platform for Darwin is the Native Layer for deploying Adaptive HTML5 project on Apple devices (iOS & OSX). This layers provides to HTML5 apps all the interfaces and methods for using all the native functionalities for Darwin devices.

Project Specifications

ARP for Darwin is configued for iOS Devices (>=8.0) and OSX Machines (>=10.10)

About Adaptive Runtime Platform

Hybrid apps are applications that are built using HTML5/CSS3/JavaScript web technologies and use a native "containers" to package the app to enable access to the native functionalities of a device. In essence, you can write a rich mobile/wearable/tv application using HTML and JavaScript and package that application as a native app for multiple mobile/wearable/tv platforms and distribute them on the different app stores and markets.

The Adaptive Runtime Platform (ARP) provides these native "containers" to package apps for the main mobile, wearable and desktop platforms… and other platforms as they emerge. Adaptive Runtime Platform (ARP) and sub-projects are open-source under the Apache License, Version 2.0. The Adaptive Runtime Platform (ARP) project was created by Carlos Lozano Diez as part of the adaptive.me set of products.

Please refer to the project site for more information.

Project Structure

The Darwin Runtime Platform is composed by a set of files and libraries

adaptive-arp-rt (Project & Build Settings)
├── App 
│   │   apppack.realm (Encrypted/Compressed file with app resources)
├── App.Source
│   ├── assets (Graphical Assets)
│   ├── config (App Configuration files)
│   ├── www (HTML5 application)
├── AdaptiveArpRtiOS (AppDelegates & ViewControllers)
├── AdaptiveArpRtiOSTests (Unit Tests)
├── Frameworks (Result Frameworks)
├── Pods (Cocoapods configuration)
├── Products (Result products)
├── Sources.Common
│   ├── Compression (Compression utility classes)
│   ├── Core (Core Platform classes)
│   ├── Resources (Resource utility readers)
│   ├── StreamUtils (Stream extensions)
│   ├── Utils (Utility classes)
├── Sources.Impl (Implementation of ARP Bridges)
Pods (Cocoapods project)

Set-Up Environment

Prerequisites

  • XCode >= 7.0.1 (7A1001) with Swift 2.1 for compiling the project and building the application
  • Cocoapods >= 0.39 Dependency manager for Swift. For installing cocoapods just follow the instructions provided here

Importing the project

  1. Clone or Fork this project into your machine
  2. Open a terminal and run:
    git submodule update --init --recursive
  3. Open a terminal in the the adaptive-arp-rt folder where the Podfile is located and run:
    pod install
  4. Open the adaptive-arp-rt.xcworkspace file with Xcode and Run the AdaptiveArpiOs -> iOS Device target into the simulator or a plugged device.

Work Backlog

Board: Stories in Ready

Throughput Graph

Contributing

We’d love to accept your patches and contributions to this project. There are a just a few small guidelines you need to follow to ensure that you and/or your company and our project are safeguarded from inadvertent copyright infringement. I know, this can be a pain but we want fair-play from the very start so that we’re all on the same page. Please refer to the project site for more information.

Attributions

  • Adaptive Runtime Platform (ARP) artwork by Jennifer Lasso.
  • Project badge artwork by shields.io.
  • All other logos are copyright of their respective owners.

License

All the source code of the Adaptive Runtime Platform (ARP), including all Adaptive Runtime Platform (ARP) sub-projects curated by Carlos Lozano Diez, are distributed, and must be contributed to, under the terms of the Apache License, Version 2.0. The license is included in this repository.

Forged with :heart: in Barcelona, Catalonia · © 2013 – 2015 adaptive.me / Carlos Lozano Diez.

Latest podspec

{
    "name": "AdaptiveArpImplOsx",
    "version": "1.0.0",
    "summary": "The Adaptive Runtime Platform (ARP) provides native u201ccontainersu201d for Hybrid Apps. This is the API all platforms must adhere to.",
    "description": "The Adaptive Runtime Platform (ARP) provides these native u201ccontainersu201d for the main mobile and desktop platforms so that Hybrid apps can be compiled and deployed on a multiplicity of devices leveraging the same code developed using modern web technologies. This project represents the implementation of the APIs to be supported on the OSX platform.",
    "homepage": "https://github.com/AdaptiveMe/adaptive-arp-darwin",
    "license": {
        "type": "Apache 2.0 License",
        "file": "LICENSE"
    },
    "authors": {
        "Carlos Lozano": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AdaptiveMe/adaptive-arp-darwin.git",
        "branch": "master",
        "tag": "v1.0.0"
    },
    "social_media_url": "https://twitter.com/adaptivecoder",
    "platforms": {
        "osx": "10.10"
    },
    "frameworks": "Foundation",
    "requires_arc": true,
    "dependencies": {
        "AdaptiveArpApi": [
            "~> 1.0"
        ]
    },
    "source_files": [
        "adaptive-arp-impl-universal/*.swift",
        "adaptive-arp-impl-universal/**/*.swift",
        "adaptive-arp-impl-osx/ARP/*"
    ]
}

Pin It on Pinterest

Share This