• This repository has been archived on 14/Oct/2021
  • Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Swift
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate API diffs as markdown for Objective-C, Swift, and Android libraries.

API diff

Build Status codecov

An API diff tool for Objective-C, Swift, and Android code that outputs markdown.

Requirements

Objective-C and Swift engines both require:

Usage

Run apidiff from within a git repository like so:

apidiff <old git ref> <new git ref> objc <umbrella header>
apidiff <old git ref> <new git ref> swift <workspace path> <scheme name>
apidiff <old git ref> <new git ref> android <library>

Note that all paths must be relative to the root of the git repository. For example:

apidiff v1.0.0 v2.0.0 objc src/MaterialMotionRuntime.h

Example output

Auto-generated by running:

apidiff 734d43e406f53143c2cf8440f43d858d125f0a11 6f7a52744751e511d0daf119642446c46bed1f5c objc src/MaterialMotionRuntime.h

NewClass

new class: NewClass

new constructor: NewClass()

new field: text

new method: getText()

MDMPlanPerforming

removed method: -addPlan: in MDMPlanPerforming

modified protocol: MDMPlanPerforming

Type swift declaration
From protocol MDMPlanPerforming : MDMPerforming
To protocol PlanPerforming : Performing

MDMScheduler

modified property: delegate in MDMScheduler

Type swift declaration
From weak var delegate: MDMSchedulerDelegate? { get set }
To weak var delegate: SchedulerDelegate? { get set }

modified class: MDMScheduler

Type swift declaration
From class MDMScheduler : NSObject
To class Scheduler : NSObject

License

Licensed under the Apache 2.0 license. See LICENSE for details.

More Repositories

1

material-motion-swift

A toolkit for building responsive motion using Core Animation.
Swift
1,419
star
2

direct

Direct is a tool that helps motion designers provide clear, precise motion direction for engineers.
TypeScript
462
star
3

material-motion-android

Reactive motion for Android. Deprecated; please use the Motion library in Material Components for Android instead: https://material.io/develop/android/theming/motion/.
Java
445
star
4

material-motion-js

Reusable gestural interactions in JavaScript. In development.
TypeScript
289
star
5

indefinite-observable-js

An Observable for JavaScript that never calls complete or error
JavaScript
68
star
6

motion-animator-objc

A Motion Animator creates performant, interruptible iOS animations from motion specs.
Objective-C
54
star
7

material-motion

Starmap and team docs
JavaScript
49
star
8

motion-transitioning-objc

Light-weight API for building UIViewController transitions.
Objective-C
28
star
9

physics-android

Java
28
star
10

motion-interchange-objc

A standard format for representing animation traits in Objective-C and Swift.
Objective-C
18
star
11

gestures-android

Gesture recognizers for Android
Java
18
star
12

material-motion-rebound-android

Java
17
star
13

indefinite-observable-swift

A generic Observable for Swift
Swift
8
star
14

tools

The Material Motion team's tools
Shell
7
star
15

indefinite-observable-android

An Observable for Android that never calls complete or error
Java
3
star
16

sublime

Sublime Package to support Material Motion development
Python
3
star
17

conventions-android

A convention for Android libraries.
3
star
18

material-motion-components-swift

Swift
2
star
19

material-motion-pop-swift

1
star
20

gesture-principles

1
star
21

milemarker

Organization-wide dashboard
JavaScript
1
star