UIViewController that allows to detect smile in real time (AVFoundation and CoreImage). There are additional features like photo sharing (Facebook, Twitter). It's also possible to take new selfie by pressing re-take button.
Objective-C Ruby
Switch branches/tags
Nothing to show
Latest commit 0c7a546 Dec 28, 2016 @MaximAlien Add xcode8.2 for travis

README.md

SmileViewController

Build Status codecov CocoaPods

UIViewController that allows to detect smile in real time (AVFoundation and CoreImage). There are additional features like photo sharing (Facebook, Twitter). It's also possible to take new selfie by pressing re-take button.

##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, '8.0'

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

Then, run the following command:

$ pod install

##Notes

  • Project uses AVFoundation Framework.
  • Application will work only on iOS 8 and higher.
  • Application uses ARC.

##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