{"id":20828641,"url":"https://github.com/penoty/nsmutableattributedstring-simple","last_synced_at":"2025-10-29T03:19:46.310Z","repository":{"id":102694652,"uuid":"100246770","full_name":"penoty/NSMutableAttributedString-Simple","owner":"penoty","description":"Simplify the process of creating NSMutableAttributeString with block. 使用block实现链式调用，从而简化Objective-c富文本创建过程。","archived":false,"fork":false,"pushed_at":"2018-04-04T07:02:15.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T07:44:01.888Z","etag":null,"topics":["ios","nsmutableattributedstring","simple"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/penoty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-08-14T08:46:05.000Z","updated_at":"2019-01-08T05:37:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7837bdf-148a-4096-96fc-7b6bf1685ff2","html_url":"https://github.com/penoty/NSMutableAttributedString-Simple","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/penoty/NSMutableAttributedString-Simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penoty%2FNSMutableAttributedString-Simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penoty%2FNSMutableAttributedString-Simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penoty%2FNSMutableAttributedString-Simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penoty%2FNSMutableAttributedString-Simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/penoty","download_url":"https://codeload.github.com/penoty/NSMutableAttributedString-Simple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penoty%2FNSMutableAttributedString-Simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273723205,"owners_count":25156303,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ios","nsmutableattributedstring","simple"],"created_at":"2024-11-17T23:17:43.312Z","updated_at":"2025-10-29T03:19:41.278Z","avatar_url":"https://github.com/penoty.png","language":"Objective-C","readme":"# NSMutableAttributedString-Simple\nSimplify the process of creating NSMutableAttributedString with block. 使用链式调用简化Objective-c富文本创建过程。\n\n    NSMutableAttributedString *attributedStr = [NSMutableAttributedString stringWithFormat:@\"%@\\r\\n%@\\r\\n%@\" strings:@[\n        @\"Test1\".setBackgroundColor([UIColor redColor]).setSystemFontSize(20.f).setColor([UIColor blueColor]),\n        @\"Test2\".setUnderlineColor([UIColor yellowColor]).setUnderlineStyle(@(NSUnderlineStyleThick))\n                .setSystemFontSize(30.f).setColorWithRGB(0xfb8800),\n        @\"Test3\".setStrikelineStyle(@(NSUnderlineStyleThick)).setStrikelineColor([UIColor blueColor])\n    ]];\n    \n![image](https://github.com/penoty/NSMutableAttributeString-Simple/blob/master/test.png )\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenoty%2Fnsmutableattributedstring-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenoty%2Fnsmutableattributedstring-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenoty%2Fnsmutableattributedstring-simple/lists"}