{"id":19212646,"url":"https://github.com/fasterthanlime/hello-sdl2-ios6","last_synced_at":"2025-05-12T20:39:01.472Z","repository":{"id":6687093,"uuid":"7932173","full_name":"fasterthanlime/hello-sdl2-ios6","owner":"fasterthanlime","description":"C, SDL2, iOS 6.0, cmake = Great success!","archived":false,"fork":false,"pushed_at":"2013-01-31T20:21:54.000Z","size":3616,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T17:40:27.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"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/fasterthanlime.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":"2013-01-31T07:21:23.000Z","updated_at":"2024-05-07T03:42:42.000Z","dependencies_parsed_at":"2022-08-20T07:10:40.730Z","dependency_job_id":null,"html_url":"https://github.com/fasterthanlime/hello-sdl2-ios6","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/fasterthanlime%2Fhello-sdl2-ios6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fhello-sdl2-ios6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fhello-sdl2-ios6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fhello-sdl2-ios6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasterthanlime","download_url":"https://codeload.github.com/fasterthanlime/hello-sdl2-ios6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253817595,"owners_count":21969007,"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-09T13:47:33.438Z","updated_at":"2025-05-12T20:39:01.406Z","avatar_url":"https://github.com/fasterthanlime.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## hello-sdl2-ios6\n\nJust testing out a pure C application using SDL 2.0 (still in dev),\nOpenGL ES, running on iphonesimulator6.0, built using cmake + Xcode.\n\n### How to build for the simulator\n\n```\nmkdir xcode \u0026\u0026 cd xcode\ncmake -GXcode ..\nopen Hello.xcodeproj\n```\n\nThen hit 'Build and run' and you should see a red screen (exciting, right?)\n\n### How to build for an actual device\n\nWhen opening the XCode project, change the target to 'iPhone device'\nand run it on your iPhone. Should work splendidly!\n\n### Notes\n\nThe current project runs in iPhone 4 non-retina resolution.\nIf you want retina-resolution, you'll have to change it in\nthe code (`src/main.c`).\n\n### Why!?\n\nPartly because I'm investigating porting my ooc games to\niOS (and Android) - read [this post for example](https://amos.me/blog/2013/braindump),\nand partly because I can't for the love of me find some\ngood example code of SDL 2 to be compiled for iOS, so there\nwe go, it's there, have fun.\n\n### Credits\n\nThis repo is heavily inspired from [this 2011 tutorial by Amin Ronacher](http://immersedcode.org/2011/4/25/sdl-on-ios/), albeit my code works with more recent\nversions of SDL and the iOS SDK - and it's pure C, not C++ :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fhello-sdl2-ios6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterthanlime%2Fhello-sdl2-ios6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fhello-sdl2-ios6/lists"}