Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Initial preparation for project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Jun 8, 2017
1 parent 1fe294d commit 28666db
Show file tree
Hide file tree
Showing 13 changed files with 259 additions and 91 deletions.
4 changes: 2 additions & 2 deletions .arcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"arc.feature.start.default": "origin/develop",
"unit.xcode": {
"build": {
"workspace": "MaterialMotionAnimator.xcworkspace",
"workspace": "MotionAnimator.xcworkspace",
"scheme": "UnitTests",
"configuration": "Debug",
"destination": "platform=iOS Simulator,name=iPhone 6s"
},
"coverage": {
"product": "MaterialMotionAnimator.framework/MaterialMotionAnimator"
"product": "MotionAnimator.framework/MotionAnimator"
},
"pre-build": "pod install"
}
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ before_install:
script:
- set -o pipefail
- arcanist/bin/arc unit --everything --trace
- xcodebuild build -workspace MaterialMotionAnimator.xcworkspace -scheme Catalog -sdk "iphonesimulator10.1" -destination "name=iPhone 6s,OS=10.1" ONLY_ACTIVE_ARCH=YES | xcpretty -c;
- xcodebuild build -workspace MotionAnimator.xcworkspace -scheme MotionAnimatorCatalog -sdk "iphonesimulator10.1" -destination "name=iPhone 6s,OS=10.1" ONLY_ACTIVE_ARCH=YES | xcpretty -c;
after_success:
- bash <(curl -s https://codecov.io/bash)
29 changes: 0 additions & 29 deletions MaterialMotionAnimator.podspec

This file was deleted.

16 changes: 16 additions & 0 deletions MotionAnimator.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|
s.name = "MotionAnimator"
s.summary = "Motion Animator"
s.version = "1.0.0"
s.authors = "The Material Motion Authors"
s.license = "Apache 2.0"
s.homepage = "https://github.com/material-motion/motion-animator-objc"
s.source = { :git => "https://github.com/material-motion/motion-animator-objc.git", :tag => "v" + s.version.to_s }
s.platform = :ios, "9.0"
s.requires_arc = true

s.public_header_files = "src/*.h"
s.source_files = "src/*.{h,m,mm}", "src/private/*.{h,m,mm}"

s.dependency "MotionInterchange"
end
12 changes: 6 additions & 6 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
workspace 'MaterialMotionAnimator.xcworkspace'
workspace 'MotionAnimator.xcworkspace'
use_frameworks!

target "Catalog" do
target "MotionAnimatorCatalog" do
pod 'CatalogByConvention'
pod 'MaterialMotionAnimator/examples', :path => './'
project 'examples/apps/Catalog/Catalog.xcodeproj'
pod 'MotionAnimator', :path => './'
project 'examples/apps/Catalog/MotionAnimatorCatalog.xcodeproj'
end

target "UnitTests" do
project 'examples/apps/Catalog/Catalog.xcodeproj'
pod 'MaterialMotionAnimator/tests', :path => './'
project 'examples/apps/Catalog/MotionAnimatorCatalog.xcodeproj'
pod 'MotionAnimator', :path => './'
end

post_install do |installer|
Expand Down
22 changes: 22 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PODS:
- CatalogByConvention (2.1.1)
- MotionAnimator (1.0.0):
- MotionInterchange
- MotionInterchange (1.0.1)

DEPENDENCIES:
- CatalogByConvention
- MotionAnimator (from `./`)

EXTERNAL SOURCES:
MotionAnimator:
:path: "./"

SPEC CHECKSUMS:
CatalogByConvention: c3a5319de04250a7cd4649127fcfca5fe3322a43
MotionAnimator: 73b1d3d22c8d5becd42f1023133a4373b23bcbba
MotionInterchange: 7a7c355ba2ed5d36c5cf2ceb76cacd3d3680dbf5

PODFILE CHECKSUM: 634239e7b183e669593b273198da9227ed207777

COCOAPODS: 1.2.1
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Motion Animator

[![Build Status](https://travis-ci.org/material-motion/motionanimator-objc.svg?branch=develop)](https://travis-ci.org/material-motion/motionanimator-objc)
[![codecov](https://codecov.io/gh/material-motion/motionanimator-objc/branch/develop/graph/badge.svg)](https://codecov.io/gh/material-motion/motionanimator-objc)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/MaterialMotionAnimator.svg)](https://cocoapods.org/pods/MaterialMotionAnimator)
[![Platform](https://img.shields.io/cocoapods/p/MaterialMotionAnimator.svg)](http://cocoadocs.org/docsets/MaterialMotionAnimator)
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/MaterialMotionAnimator.svg)](http://cocoadocs.org/docsets/MaterialMotionAnimator)
[![Build Status](https://travis-ci.org/material-motion/motion-animator-objc.svg?branch=develop)](https://travis-ci.org/material-motion/motion-animator-objc)
[![codecov](https://codecov.io/gh/material-motion/motion-animator-objc/branch/develop/graph/badge.svg)](https://codecov.io/gh/material-motion/motion-animator-objc)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/motion-animator.svg)](https://cocoapods.org/pods/motion-animator)
[![Platform](https://img.shields.io/cocoapods/p/motion-animator.svg)](http://cocoadocs.org/docsets/motion-animator)
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/motion-animator.svg)](http://cocoadocs.org/docsets/motion-animator)

## Installation

Expand All @@ -17,9 +17,9 @@
>
> gem install cocoapods
Add `MaterialMotionAnimator` to your `Podfile`:
Add `motion-animator` to your `Podfile`:

pod 'MaterialMotionAnimator'
pod 'motion-animator'

Then run the following command:

Expand All @@ -29,7 +29,7 @@ Then run the following command:

Import the framework:

@import MaterialMotionAnimator;
@import motion-animator;

You will now have access to all of the APIs.

Expand All @@ -38,10 +38,10 @@ You will now have access to all of the APIs.
Check out a local copy of the repo to access the Catalog application by running the following
commands:

git clone https://github.com/material-motion/motionanimator-objc.git
cd motionanimator-objc
git clone https://github.com/material-motion/motion-animator-objc.git
cd motion-animator-objc
pod install
open MaterialMotionAnimator.xcworkspace
open motion-animator.xcworkspace

## Guides

Expand All @@ -56,7 +56,7 @@ commands:

We welcome contributions!

Check out our [upcoming milestones](https://github.com/material-motion/motionanimator-objc/milestones).
Check out our [upcoming milestones](https://github.com/material-motion/motion-animator-objc/milestones).

Learn more about [our team](https://material-motion.github.io/material-motion/team/),
[our community](https://material-motion.github.io/material-motion/team/community/), and
Expand Down
4 changes: 2 additions & 2 deletions examples/apps/Catalog/Catalog/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2016-present The Material Motion Authors. All Rights Reserved.
Copyright 2017-present The Material Motion Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
self.window = window

let rootViewController = CBCNodeListViewController(node: CBCCreateNavigationTree())
rootViewController.title = "Motion Animator"
rootViewController.title = "Motion Animator Catalog"
window.rootViewController = UINavigationController(rootViewController: rootViewController)

window.makeKeyAndVisible()
Expand Down
Loading

0 comments on commit 28666db

Please sign in to comment.