{"id":13354386,"url":"https://github.com/JKalash/Croc","last_synced_at":"2025-03-12T11:30:51.453Z","repository":{"id":56906834,"uuid":"121539625","full_name":"JKalash/Croc","owner":"JKalash","description":"Swift emoji string parsing library","archived":false,"fork":false,"pushed_at":"2019-01-10T13:07:59.000Z","size":664,"stargazers_count":129,"open_issues_count":2,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-09T23:47:01.359Z","etag":null,"topics":["carthage","cocoapods","croc","embedded-framework","emoji","ios","string","swift","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/JKalash.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":"2018-02-14T17:27:39.000Z","updated_at":"2024-08-24T22:47:36.000Z","dependencies_parsed_at":"2022-08-20T19:50:19.713Z","dependency_job_id":null,"html_url":"https://github.com/JKalash/Croc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKalash%2FCroc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKalash%2FCroc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKalash%2FCroc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKalash%2FCroc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JKalash","download_url":"https://codeload.github.com/JKalash/Croc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243208775,"owners_count":20254102,"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":["carthage","cocoapods","croc","embedded-framework","emoji","ios","string","swift","xcode"],"created_at":"2024-07-29T21:02:00.441Z","updated_at":"2025-03-12T11:30:50.436Z","avatar_url":"https://github.com/JKalash.png","language":"Swift","readme":"\u003cimg src=\"https://cdn.rawgit.com/jkalash/croc/4dd2f48/Resources/Croc.svg\" width=\"370\"/\u003e\n\n**Croc** is a library for parsing emojis on iOS. It provides a simple and lightweight interface for detecting, generating, categorizing and managing emoji characters, making emoji-powered features an easy task for developers. \n\n[![Build Status](https://travis-ci.org/JKalash/Croc.svg?branch=master)](https://travis-ci.org/JKalash/Croc)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Croc.svg)](https://img.shields.io/cocoapods/v/Croc.svg)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/Croc.svg)](https://img.shields.io/cocoapods/dt/Croc.svg)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/Croc.svg?style=flat)](https://jkalash.github.io/)\n[![License](https://img.shields.io/cocoapods/l/Croc.svg?style=flat)](http://cocoapods.org/pods/Croc)\n[![Swift-4.0](http://img.shields.io/badge/Swift-4.1%2B-orange.svg)]()\n[![Codecov](https://codecov.io/github/jkalash/croc/coverage.svg?branch=master)](https://codecov.io/github/jkalash/croc)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MHHC3G7U6UHE2)\n\n## Usage\n\n### Checking for emojis\n\n![checking emojis](https://github.com/jkalash/croc/raw/master/Resources/checking_emojis.png)\n\n### Querying for emojis\n\n![querying emojis](https://github.com/jkalash/croc/raw/master/Resources/querying_emojis.png)\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\n\u003e CocoaPods 1.1+ is required to build Croc\n\nTo integrate Croc into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '10.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'Croc'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate Croc into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"JKalash/Croc\"\n```\n\nRun `carthage update` to build the framework and drag the built `Croc.framework` into your Xcode project.\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Croc does support its use on supported platforms. \n\nOnce you have your Swift package set up, adding Croc as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n#### Swift 3\n\n```swift\ndependencies: [\n    .Package(url: \"https://github.com/JKalash/Croc.git\", majorVersion: 0)\n]\n```\n\n#### Swift 4\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/JKalash/Croc.git\", from: \"0.0.0\")\n]\n```\n\n### Manually\n\nIf you prefer not to use any of the aforementioned dependency managers, you can integrate Croc into your project manually.\n\n#### Embedded Framework\n\n- Open up Terminal, `cd` into your top-level project directory, and run the following command \"if\" your project is not initialized as a git repository:\n\n  ```bash\n  $ git init\n  ```\n\n- Add Croc as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:\n\n  ```bash\n  $ git submodule add https://github.com/JKalash/Croc.git\n  ```\n\n- Open the new `Croc` folder, and drag the `Croc.xcodeproj` into the Project Navigator of your application's Xcode project.\n\n    \u003e It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.\n\n- Select the `Croc.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.\n- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the \"Targets\" heading in the sidebar.\n- In the tab bar at the top of that window, open the \"General\" panel.\n- Click on the `+` button under the \"Embedded Binaries\" section.\n- You will see two different `Croc.xcodeproj` folders each with two different versions of the `Croc.framework` nested inside a `Products` folder.\n\n    \u003e It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Croc.framework`.\n\n- Select the top `Croc.framework` for iOS and the bottom one for OS X.\n\n    \u003e You can verify which one you selected by inspecting the build log for your project. The build target for `Croc` will be listed as either `CrociOS`, `CrocOSX`, `CrocTVOS` or `CrocWatchOS`.\n\n- And that's it!\n\n  \u003e The `Croc.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.\n\n## Requirements\n\n- iOS 8.0+ / macOS 10.9+ / tvOS 9.0+ / watchOS 2.0+\n- Xcode 8.3+\n- Swift 3.1+\n\n## Author\n\nJoseph Kalash, josephkalash@gmail.com\n\n## Donation\nIf this project helps you reduce time to develop, you can give me a cup of coffee :) \n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://monzo.me/josephkalash)\n\n## License\n\nCroc is released under the MIT license. [See LICENSE](https://github.com/JKalash/Croc/blob/master/LICENSE) for details.\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MHHC3G7U6UHE2"],"categories":["Libs","Text [🔝](#readme)"],"sub_categories":["Text"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJKalash%2FCroc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJKalash%2FCroc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJKalash%2FCroc/lists"}