Latest 1.0.8
Homepage https://github.com/MaximAlien/SmileViewController
License MIT
Platforms ios 11.0, requires ARC
Frameworks AVFoundation, CoreImage, UIKit, Foundation
Authors

Build Status
Carthage
CocoaPods

UIViewController which allows to detect smile in real time.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like SmileViewController in your projects. You can install it with the following command:

$ gem install cocoapods

Podfile

To integrate SmileViewController into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'TargetName' do
pod 'SmileViewController', '~> 1.0.8'
end

Then, run the following command:

$ pod install

Usage

To use this view controller simply load it up from AppDelegate:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

    SmileViewController *smileViewController = [SmileViewController new];
    self.window.rootViewController = smileViewController;
    [self.window makeKeyAndVisible];

    return YES;
}

Example

Screen1

Latest podspec

{
    "name": "SmileViewController",
    "version": "1.0.8",
    "summary": "UIViewController which allows to detect smile in real time.",
    "description": "UIViewController which allows to detect smile in real time by using AVFoundation and CoreImage frameworks.",
    "homepage": "https://github.com/MaximAlien/SmileViewController",
    "screenshots": "https://raw.githubusercontent.com/MaximAlien/SmileViewController/master/resources/example.png",
    "license": "MIT",
    "authors": {
        "MaximAlien": "[email protected]"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source": {
        "git": "https://github.com/MaximAlien/SmileViewController.git",
        "tag": "1.0.8"
    },
    "source_files": [
        "SmileViewController",
        "SmileViewController/**/*.{h,m}"
    ],
    "resources": [
        "SmileViewController/**/*.{xib}",
        "SmileViewController/**/*.{bundle}"
    ],
    "frameworks": [
        "AVFoundation",
        "CoreImage",
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This