{"id":15286885,"url":"https://github.com/maximalien/smileviewcontroller","last_synced_at":"2025-10-04T11:26:27.475Z","repository":{"id":16751650,"uuid":"19509284","full_name":"MaximAlien/SmileViewController","owner":"MaximAlien","description":"UIViewController which allows to detect smile in real time.","archived":false,"fork":false,"pushed_at":"2021-06-03T08:28:06.000Z","size":38185,"stargazers_count":189,"open_issues_count":0,"forks_count":34,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-12-19T20:07:51.186Z","etag":null,"topics":["avfoundation","cocoapods","coreimage","objective-c","selfie","uiviewcontroller"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaximAlien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-06T20:17:47.000Z","updated_at":"2023-01-25T03:28:11.000Z","dependencies_parsed_at":"2022-09-24T10:00:15.145Z","dependency_job_id":null,"html_url":"https://github.com/MaximAlien/SmileViewController","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximAlien%2FSmileViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximAlien%2FSmileViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximAlien%2FSmileViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximAlien%2FSmileViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaximAlien","download_url":"https://codeload.github.com/MaximAlien/SmileViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230494921,"owners_count":18235046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avfoundation","cocoapods","coreimage","objective-c","selfie","uiviewcontroller"],"created_at":"2024-09-30T15:18:51.650Z","updated_at":"2025-10-04T11:26:27.395Z","avatar_url":"https://github.com/MaximAlien.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"SmileViewController\n===================================\n\n[![Build Status](https://travis-ci.org/MaximAlien/SmileViewController.svg?branch=master)](https://travis-ci.org/MaximAlien/SmileViewController)\n[![Carthage](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![CocoaPods](https://img.shields.io/cocoapods/v/SmileViewController.svg)](https://cocoapods.org/?q=name%3Asmileviewcontroller*)\n\nUIViewController which allows to detect smile in real time.\n\n## Installation with CocoaPods\n[CocoaPods](http://cocoapods.org) 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:\n\n```bash\n$ gem install cocoapods\n```\n\n### Podfile\n\nTo integrate SmileViewController into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '11.0'\n\ntarget 'TargetName' do\npod 'SmileViewController', '~\u003e 1.0.8'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n## Installation with Carthage\nTo install [Carthage](https://github.com/Carthage/Carthage) run following command:\n```bash\n$ brew install carthage\n```\n\n### Cartfile\n1. To integrate SmileViewController into your Xcode project using Carthage, specify it in your `Cartfile`:\n```ruby\ngithub \"MaximAlien/SmileViewController\" ~\u003e 1.0.8\n```\n\n2. Then, run the following command:\n```bash\n$ carthage update\n```\n\n3. On your application targets’ *General* settings tab, in the *Linked Frameworks and Libraries* section, drag and drop SmileViewCtrlr.framework you want to use from the Carthage/Build folder on disk.\n\n4. On your application targets’ *Build Phases* settings tab, click the *+* icon and choose *New Run Script Phase*. Create a Run Script in which you specify your shell (ex: /bin/sh), add the following contents to the script area below the shell:\n```bash\n/usr/local/bin/carthage copy-frameworks\n```\n\n5. Add path to the framework you want to use under *Input Files*: $(SRCROOT)/Carthage/Build/iOS/SmileViewCtrlr.framework\n6. Add path to the copied frameworks to the *Output Files*, e.g.: $(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/SmileViewCtrlr.framework\n\n## Usage\n\nTo use this view controller simply load it up from AppDelegate:\n```objective-c\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];\n    \n    SmileViewController *smileViewController = [SmileViewController new];\n    // or (in case when using Carthage)\n    SmileViewController *smileViewController = [[SmileViewController alloc] initWithNibName:@\"SmileViewController\" bundle:[NSBundle bundleForClass:SmileViewController.class]];\n    self.window.rootViewController = smileViewController;\n    [self.window makeKeyAndVisible];\n    \n    return YES;\n}\n```\n## Example\n![Screen1](https://raw.githubusercontent.com/MaximAlien/SmileViewController/master/resources/example.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximalien%2Fsmileviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximalien%2Fsmileviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximalien%2Fsmileviewcontroller/lists"}