{"id":21768126,"url":"https://github.com/below/textviewappearance","last_synced_at":"2025-03-21T05:43:45.595Z","repository":{"id":66512625,"uuid":"59590811","full_name":"below/TextViewAppearance","owner":"below","description":"Sample Project for Text View Appearance","archived":false,"fork":false,"pushed_at":"2016-05-24T20:40:44.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T02:44:06.172Z","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/below.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T16:41:02.000Z","updated_at":"2016-05-24T19:04:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"320a7655-6ca7-4c9e-9a0a-db8423bfbe2f","html_url":"https://github.com/below/TextViewAppearance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FTextViewAppearance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FTextViewAppearance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FTextViewAppearance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FTextViewAppearance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/below","download_url":"https://codeload.github.com/below/TextViewAppearance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745707,"owners_count":20503048,"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-11-26T13:33:41.728Z","updated_at":"2025-03-21T05:43:45.575Z","avatar_url":"https://github.com/below.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TextViewAppearance\nSample Project for Text View Appearance\n\nI use the `UIAppearance` API to set the textColor of my textViews:\n```swift\nUITextView.appearance().textColor = UIColor.blackColor()\n```\nHowever, when I then set an attributed text with a different color, this does not seem to be honored:\n```swift\noutput.replaceCharactersInRange(range, withAttributedString: NSAttributedString(string:red, attributes:[NSForegroundColorAttributeName : UIColor.redColor()]))\n```\n\n# Expected Result\n![Expected Result](https://raw.githubusercontent.com/below/TextViewAppearance/master/Expected%20Result.png)\n\n# Actual Result\n![Actual Result](https://raw.githubusercontent.com/below/TextViewAppearance/master/Actual%20Result.png)\n\nIs this behaviour expected?\n\nAm I doing it wrong?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Ftextviewappearance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelow%2Ftextviewappearance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Ftextviewappearance/lists"}