{"id":17977968,"url":"https://github.com/coderyi/iosdemos","last_synced_at":"2025-07-13T20:37:44.349Z","repository":{"id":90803683,"uuid":"44653866","full_name":"coderyi/iOSDemos","owner":"coderyi","description":"iOSDemos","archived":false,"fork":false,"pushed_at":"2017-03-24T03:21:38.000Z","size":8716,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T05:42:04.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/coderyi.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":"2015-10-21T05:05:32.000Z","updated_at":"2021-05-18T06:20:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"14196c5c-4647-47a1-a565-553a2bf1a0d5","html_url":"https://github.com/coderyi/iOSDemos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderyi/iOSDemos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FiOSDemos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FiOSDemos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FiOSDemos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FiOSDemos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderyi","download_url":"https://codeload.github.com/coderyi/iOSDemos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FiOSDemos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265201332,"owners_count":23726964,"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-29T17:30:21.189Z","updated_at":"2025-07-13T20:37:44.313Z","avatar_url":"https://github.com/coderyi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOSDemos\n## ObjCDemos\nHostToAddressDemo:1113,利用CFHost域名转IP地址\n\nObjCInjectCodeDemo:1111,Objective-C代码注入－拦截NSURLConnection的消息\n\nForwardInvocationDemo:1030,消息转发\n\n因为要解决下面这个bug\n-[XXXClass rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x7ff1d2515cb0\n所以在该类中把消息转发到NSString对象（这里转发到XXXClass类中的一个NSString属性的对象）的rangeOfCharacterFromSet中就可以了。\n\nReflectUtil:1023,利用runtime反射出一个对象的所有属性和对应的值\n\nCoreDataDemo：1021，CoreData的简单使用\n\nStarViewDemo：12.25星星评分视图\n\n#### 社区\n12.24新手引导的Demo:\n\nGitHub:https://github.com/sunljz/demo/tree/master/GuideDemo\n\n教程:http://www.jianshu.com/p/b83aefdc9519\n\n\n## SwiftDemos\n\n0217_03_AutolayoutScrollViewDemo:Autolayout的SnapKit的使用，以及结合ScrollView\n\n参考链接：[史上最简单的UIScrollView+Autolayout出坑指南](http://bestswifter.com/uiscrollviewwithautolayout/)\n\n0217_02_CoreImageDemo:CoreImage的基本使用，展示了滤镜的使用\n\n0217_01_NSOperationDemo:展示如何使用NSBlockOperation，更多内容查看，http://www.appcoda.com/ios-concurrency/\n\n0217_RecordDemo:简单地使用录音以及播放录音\n\n0216_02PickerViewDemo：如何使用UIPickerView\n\n0216_01_animate_TableViewDemo：一个简单的动画\n\n0216VideoDemo：如何播放一个video\n\n0215_02ImageZoomDemo：一个Image放大缩小的Demo\n\n0215_01RefreshControlDemo：展示UIRefreshControl的使用\n\n0215TimerDemo：展示NSTimer的使用\n\nSwiftDemo1：1204，展示怎么用UITabBarController\n\nTableViewDemo:1204,展示怎么用UITableView\n\nTableViewDemo2:1204,自定义UITableViewCell，怎么样实现delegate模式\n#### 社区\n\n20160216\n\n[CoolNaviDemo 的swift版](https://github.com/ianisme/CoolNaviDemo_Swift):演示一个View如何观察UIScrollView的属性\n\n\n## MacDemos\n\nMacMenuBar:一个简单的显示在菜单栏的Mac Demo\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fiosdemos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderyi%2Fiosdemos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fiosdemos/lists"}