{"id":2067,"url":"https://github.com/morizotter/SwiftFontName","last_synced_at":"2025-08-02T23:31:26.522Z","repository":{"id":35110959,"uuid":"39293827","full_name":"morizotter/SwiftFontName","owner":"morizotter","description":"OS font complements library. Localized font supported.","archived":true,"fork":false,"pushed_at":"2019-04-01T14:00:12.000Z","size":475,"stargazers_count":113,"open_issues_count":2,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-16T09:34:59.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/morizotter/SwiftFontName","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/morizotter.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":"2015-07-18T09:48:34.000Z","updated_at":"2024-10-03T01:52:03.000Z","dependencies_parsed_at":"2022-09-16T13:12:33.663Z","dependency_job_id":null,"html_url":"https://github.com/morizotter/SwiftFontName","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morizotter%2FSwiftFontName","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morizotter%2FSwiftFontName/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morizotter%2FSwiftFontName/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morizotter%2FSwiftFontName/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morizotter","download_url":"https://codeload.github.com/morizotter/SwiftFontName/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503092,"owners_count":17930509,"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-01-05T20:16:02.660Z","updated_at":"2024-12-06T17:30:32.517Z","avatar_url":"https://github.com/morizotter.png","language":"Swift","funding_links":[],"categories":["Text","Libs","Testing"],"sub_categories":["Font","Other free courses","Fonts"],"readme":"# SwiftFontName\n\nSwiftFontName is font name complements and supports localized font library.\n\nYou don't need to search font name any more with SwiftFontName. When using UIFont, you sometimes search font name string because UIFont needs string font name value. Font family name and font name don't have organized naming rule, so it's painful to search correct string. With SwiftFontName, font name candidates shows up when you put first word of font family name.\n\n[![Version](https://img.shields.io/cocoapods/v/SwiftFontName.svg?style=flat)](http://cocoapods.org/pods/SwiftFontName)\n[![License](https://img.shields.io/cocoapods/l/SwiftFontName.svg?style=flat)](http://cocoapods.org/pods/SwiftFontName)\n[![Platform](https://img.shields.io/cocoapods/p/SwiftFontName.svg?style=flat)](http://cocoapods.org/pods/SwiftFontName)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n![Helvetica](misc/helvetica.png)\n\n## Features\n\n- Complements for all font names in OS version.\n- Localized font name support.\n\n## Usage\n\n### Font Name\n\nTo start using SwiftFontName, write the following line wherever you want to user font complements:\n\n```swift\nimport SwiftFontName\n```\n\nThen:\n\n```swift\nFontName.HelveticaNeueLight // HelveticaNeue-Light\n```\n\nIt is really simple!\n\n### Localized Font Name\n\nAnd you can select localized font:\n\n```swift\nLocalizedFontName(FontName.Copperplate, [\"ja\": FontName.HiraKakuProNW6, \"en\": FontName.HelveticaNeueLight])\n```\n\nIt means that when preferredLanguage is Japanese, use `HiraKakuProNW6`. And when preferredLanguage is English, use `HelveticaNeue-Light`. And in other case, use `Copperplate`.\n\n## Requirements\n\n- iOS8.0 or later\n- Xcode 10.2\n- Swift 5\n\n## Installation\n\nSwiftFontName is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n### [CocoaPods](http://cocoapods.org):\n\n```ruby\nuse_frameworks!\npod 'SwiftFontName', '~\u003e 4.0.0'\n```\n\n### [Carthage](https://github.com/Carthage/Carthage):\n\n```ogdl\ngithub \"morizotter/SwiftFontName\" ~\u003e 4.0\n```\n\n### Manually\n\nTo copy `FontName.swift` and `LocalizedFontName.swift` in SwiftFontName directory, you can use this library, too.\n\n## Contribution\n\n1. Fork\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create new Pull Request\n\n## Author\n\nNaoki Morita, namorit@gmail.com\n\n## License\n\nSwiftFontName 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%2Fmorizotter%2FSwiftFontName","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorizotter%2FSwiftFontName","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorizotter%2FSwiftFontName/lists"}