diff --git a/Transitioning.podspec b/MaterialMotionTransitioning.podspec similarity index 92% rename from Transitioning.podspec rename to MaterialMotionTransitioning.podspec index 55c9d44..9e028ed 100644 --- a/Transitioning.podspec +++ b/MaterialMotionTransitioning.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.name = "Transitioning" + s.name = "MaterialMotionTransitioning" s.summary = "Light-weight API for building UIViewController transitions." s.version = "1.1.1" s.authors = "The Material Motion Authors" diff --git a/Podfile b/Podfile index 7155316..5a86075 100644 --- a/Podfile +++ b/Podfile @@ -1,15 +1,15 @@ -workspace 'Transitioning.xcworkspace' +workspace 'MaterialMotionTransitioning.xcworkspace' use_frameworks! target "TransitionsCatalog" do pod 'CatalogByConvention' - pod 'Transitioning', :path => './' + pod 'MaterialMotionTransitioning', :path => './' project 'examples/apps/Catalog/TransitionsCatalog.xcodeproj' end target "UnitTests" do - pod 'Transitioning', :path => './' + pod 'MaterialMotionTransitioning', :path => './' project 'examples/apps/Catalog/TransitionsCatalog.xcodeproj' end @@ -18,7 +18,7 @@ post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |configuration| configuration.build_settings['SWIFT_VERSION'] = "3.0" - if target.name.start_with?("Transitioning") + if target.name.start_with?("MaterialMotion") configuration.build_settings['WARNING_CFLAGS'] ="$(inherited) -Wall -Wcast-align -Wconversion -Werror -Wextra -Wimplicit-atomic-properties -Wmissing-prototypes -Wno-sign-conversion -Wno-unused-parameter -Woverlength-strings -Wshadow -Wstrict-selector-match -Wundeclared-selector -Wunreachable-code" end end diff --git a/Podfile.lock b/Podfile.lock index 72dd94b..be2a670 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,19 +1,19 @@ PODS: - CatalogByConvention (2.1.1) - - Transitioning (1.1.1) + - MaterialMotionTransitioning (1.1.1) DEPENDENCIES: - CatalogByConvention - - Transitioning (from `./`) + - MaterialMotionTransitioning (from `./`) EXTERNAL SOURCES: - Transitioning: + MaterialMotionTransitioning: :path: "./" SPEC CHECKSUMS: CatalogByConvention: c3a5319de04250a7cd4649127fcfca5fe3322a43 - Transitioning: ea1a8225812799c7ff07630af17008ab5e306bf3 + MaterialMotionTransitioning: 461f119955d874d31babb8331b4eea151504fd7e -PODFILE CHECKSUM: 1949e62e9d70d554783c0bb931d6b52780775cfb +PODFILE CHECKSUM: a339d385d38b29a0052f32984921c8567d0c57e5 COCOAPODS: 1.2.1 diff --git a/README.md b/README.md index 477d301..b3a9fa0 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Transitioning +# Material Motion Transitioning > Light-weight API for building UIViewController transitions. [![Build Status](https://travis-ci.org/material-motion/transitioning-objc.svg?branch=develop)](https://travis-ci.org/material-motion/transitioning-objc) [![codecov](https://codecov.io/gh/material-motion/transitioning-objc/branch/develop/graph/badge.svg)](https://codecov.io/gh/material-motion/transitioning-objc) -[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Transitioning.svg)](https://cocoapods.org/pods/Transitioning) -[![Platform](https://img.shields.io/cocoapods/p/Transitioning.svg)](http://cocoadocs.org/docsets/Transitioning) -[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/Transitioning.svg)](http://cocoadocs.org/docsets/Transitioning) +[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/MaterialMotionTransitioning.svg)](https://cocoapods.org/pods/MaterialMotionTransitioning) +[![Platform](https://img.shields.io/cocoapods/p/MaterialMotionTransitioning.svg)](http://cocoadocs.org/docsets/MaterialMotionTransitioning) +[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/MaterialMotionTransitioning.svg)](http://cocoadocs.org/docsets/MaterialMotionTransitioning) This library standardizes the way transitions are built on iOS so that with a single line of code you can pick the custom transition you want to use: @@ -73,9 +73,9 @@ final class CustomTransition: NSObject, Transition { > > gem install cocoapods -Add `Transitioning` to your `Podfile`: +Add `MaterialMotionTransitioning` to your `Podfile`: - pod 'Transitioning' + pod 'MaterialMotionTransitioning' Then run the following command: @@ -85,7 +85,7 @@ Then run the following command: Import the framework: - @import Transitioning; + @import MaterialMotionTransitioning; You will now have access to all of the APIs. @@ -97,7 +97,7 @@ commands: git clone https://github.com/material-motion/transitioning-objc.git cd transitioning-objc pod install - open Transitioning.xcworkspace + open MaterialMotionTransitioning.xcworkspace ## Guides @@ -112,7 +112,7 @@ commands: > animation, interaction, and presentation controller. These controllers are then expected to > implement the transition's motion. -Transitioning provides a thin layer atop these protocols with the following advantages: +MaterialMotionTransitioning provides a thin layer atop these protocols with the following advantages: - Every view controller has its own **transition controller**. This encourages choosing the transition based on the context. diff --git a/examples/CustomPresentationExample.swift b/examples/CustomPresentationExample.swift index 8e7f57f..f9cb7c8 100644 --- a/examples/CustomPresentationExample.swift +++ b/examples/CustomPresentationExample.swift @@ -15,7 +15,7 @@ */ import UIKit -import Transitioning +import MaterialMotionTransitioning // This example demonstrates how to make use of presentation controllers to build a flexible modal // transition that supports presenting view controllers at aribtrary frames on the screen. diff --git a/examples/FadeExample.swift b/examples/FadeExample.swift index 8d2d088..f0d6c0b 100644 --- a/examples/FadeExample.swift +++ b/examples/FadeExample.swift @@ -15,7 +15,7 @@ */ import UIKit -import Transitioning +import MaterialMotionTransitioning // This example demonstrates the minimal path to building a custom transition using the Material // Motion Transitioning APIs in Swift. The essential steps have been documented below. diff --git a/src/Transitioning.h b/src/MaterialMotionTransitioning.h similarity index 100% rename from src/Transitioning.h rename to src/MaterialMotionTransitioning.h diff --git a/tests/unit/TransitionTests.swift b/tests/unit/TransitionTests.swift index a82f68e..60ea7a7 100644 --- a/tests/unit/TransitionTests.swift +++ b/tests/unit/TransitionTests.swift @@ -15,7 +15,7 @@ */ import XCTest -import Transitioning +import MaterialMotionTransitioning class TransitionTests: XCTestCase { diff --git a/tests/unit/TransitionWithPresentationTests.swift b/tests/unit/TransitionWithPresentationTests.swift index ed4b05f..d0f22a8 100644 --- a/tests/unit/TransitionWithPresentationTests.swift +++ b/tests/unit/TransitionWithPresentationTests.swift @@ -15,7 +15,7 @@ */ import XCTest -import Transitioning +import MaterialMotionTransitioning class TransitionWithPresentationTests: XCTestCase {