{"id":16698904,"url":"https://github.com/hanton/layoutsublayersdemo","last_synced_at":"2025-03-14T04:29:14.776Z","repository":{"id":25701519,"uuid":"29137978","full_name":"hanton/layoutSublayersDemo","owner":"hanton","description":null,"archived":false,"fork":false,"pushed_at":"2015-01-12T14:15:03.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T23:27:57.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hanton.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}},"created_at":"2015-01-12T14:01:27.000Z","updated_at":"2015-01-12T14:15:03.000Z","dependencies_parsed_at":"2022-07-12T16:08:11.794Z","dependency_job_id":null,"html_url":"https://github.com/hanton/layoutSublayersDemo","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/hanton%2FlayoutSublayersDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanton%2FlayoutSublayersDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanton%2FlayoutSublayersDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanton%2FlayoutSublayersDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanton","download_url":"https://codeload.github.com/hanton/layoutSublayersDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243524873,"owners_count":20304892,"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-10-12T18:04:35.590Z","updated_at":"2025-03-14T04:29:14.748Z","avatar_url":"https://github.com/hanton.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A PR Demo for DAAttributedStringUtils\n\nNeed to add `[super layoutSublayers];` to `DAAttributedLabelBaseLayer-layoutSublayers` of `DAAttributedLabel.m`, or the text won't resize when rotating device. \n\nReference:\nProgramming in iOS 8\nhttps://books.google.com/books?id=wLaVBQAAQBAJ\u0026pg=PT161\u0026lpg=PT161\u0026dq=layoutSublayers+super\u0026source=bl\u0026ots=7tsw1NY1ET\u0026sig=viF-J-xJiHV9CqgUo3NdF2bfCv0\u0026hl=en\u0026sa=X\u0026ei=0MuzVKywMcOqggS2z4LgDA\u0026ved=0CDIQ6AEwBjgK#v=onepage\u0026q=layoutSublayers%20super\u0026f=false\n\n\"Don't forget to call [super layoutSubviews], as this can cause unexpected behavior in various UIKit classes.\"\nhttp://stackoverflow.com/questions/2504151/calayers-didnt-get-resized-on-its-uiviews-bounds-change-why\n\nAsyncDisplayKit\nhttps://github.com/facebook/AsyncDisplayKit/blob/c1f7d9f78d721ab5d5fa590f7decb2bc97ec4d62/AsyncDisplayKit/Details/_ASDisplayLayer.mm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanton%2Flayoutsublayersdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanton%2Flayoutsublayersdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanton%2Flayoutsublayersdemo/lists"}