{"id":22205030,"url":"https://github.com/mor4eza/easymention","last_synced_at":"2025-10-16T17:45:27.600Z","repository":{"id":56909832,"uuid":"211610792","full_name":"Mor4eza/EasyMention","owner":"Mor4eza","description":"A Swift Library that made easy to implement mentions in a TextView","archived":false,"fork":false,"pushed_at":"2019-10-01T13:14:43.000Z","size":1236,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T16:36:16.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Mor4eza.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":"2019-09-29T05:54:27.000Z","updated_at":"2025-02-21T19:08:29.000Z","dependencies_parsed_at":"2022-08-20T20:20:49.694Z","dependency_job_id":null,"html_url":"https://github.com/Mor4eza/EasyMention","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/Mor4eza%2FEasyMention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FEasyMention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FEasyMention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FEasyMention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mor4eza","download_url":"https://codeload.github.com/Mor4eza/EasyMention/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245388764,"owners_count":20607164,"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":[],"created_at":"2024-12-02T17:25:46.477Z","updated_at":"2025-10-16T17:45:20.552Z","avatar_url":"https://github.com/Mor4eza.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyMention\n[![CI Status](https://img.shields.io/travis/Mor4eza/EasyMention.svg?style=flat)](https://travis-ci.org/Mor4eza/EasyMention)\n[![Version](https://img.shields.io/cocoapods/v/EasyMention.svg?style=flat)](https://cocoapods.org/pods/EasyMention)\n[![License](https://img.shields.io/cocoapods/l/EasyMention.svg?style=flat)](https://cocoapods.org/pods/EasyMention)\n[![Platform](https://img.shields.io/cocoapods/p/EasyMention.svg?style=flat)](https://cocoapods.org/pods/EasyMention)\n\n\nA Swift Library that made easy to implement mentions in a TextView\n\nPreview:\n\n![alt text](https://raw.githubusercontent.com/Mor4eza/EasyMention/master/preview.gif)\n\n\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n- Swift =\u003e 5\n- iOS =\u003e 10\n\n## Installation\n**Cocoapods**\n\nEasyMention is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'EasyMention'\n```\n**Manual**\n\nsimply copy classes folder to your project directory\n\n# How to Use\n- add a textView and change it super class to **EasyMention**\n\n```swift\n    @IBOutlet weak var mentionsTextView: EasyMention!\n```\n- implement mentions delegate in your class\n\n```swift\n  extension ViewController: EasyMentionDelegate {...\n```\n\n- set mentionDelegate to self\n\n```swift\n        mentionsTextView.mentionDelegate = self\n```\n\n- set mentions to your textView with:\n\n```swift\n     self.mentionsTextView.setMentions(mentions: mentionItems)\n```\n\n**async mention load from api**\n\n```swift\n  func startMentioning(in textView: EasyMention, mentionQuery: String) {...\n```\nwill called when user wants to start mentioning,\nyou can sipmly call your api here and add resut to EasyMention mention items\n\n\n**See Eaxmple Project for more info**\n\n\n\n# Made with Love in 🇮🇷\nMorteza Gharedaghi: Morteza.ghrdi@gmail.com\n\nFeel Free to create issue or open a pull request ☺️\n\n\n# Used in\nsend your application name to me,if you used this library \n\n- Wink App\n\n## License\n\nEasyMention is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor4eza%2Feasymention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmor4eza%2Feasymention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor4eza%2Feasymention/lists"}