Giter Site home page Giter Site logo

animoji's Introduction

Animoji

Language Version License Platform Carthage compatible

Animoji is an iOS library that gives access to the private framework AvatarKit to generate Animoji, just like the Messages app.

Support for recording coming soon!

100% Swift version coming soon!

Animoji uses iPhone X and iOS 11.1 features so no Simulator support yet.

Demo Video

$ pod try Animoji

Requirements

  • iOS 11.1
  • Xcode 9.1
  • Swift 4

Usage

You can initialize an Animoji like a UIView. Animoji is a SCNView so if your using a storyboard/xib use a SceneKit View.

import Animoji

class ViewController: UIViewController {

    lazy var animoji: Animoji = {
        let animoji = Animoji(frame: self.view.bounds)
        animoji.setPuppet(name: .cat) // set puppet
        self.view.addSubview(animoji)
        return animoji
    }()
    
}

Installation

Animoji is available via CocoaPods and Carthage.

CocoaPods

To install with CocoaPods, simply add this in your Podfile:

use_frameworks!
pod "Animoji"

Carthage

To install with Carthage, simply add this in your Cartfile:

github "efremidze/Animoji"

Privacy Settings

You must provide a description for how your app uses the following privacy settings in your app's Info.plist file.

  • NSPhotoLibraryAddUsageDescription
  • NSMicrophoneUsageDescription
  • NSCameraUsageDescription

Disclaimer

Animoji utilizes Apple's private API to do its magic. Use caution, submitting this code to the App Store adds the risk of being rejected!

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Apps Using Animoji

Feel free to submit a PR if you’re using this library in your apps.

License

Animoji is available under the MIT license. See the LICENSE file for more info.

animoji's People

Contributors

lasha-ring 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.