{"id":3012,"url":"https://github.com/jspahrsummers/libextobjc","last_synced_at":"2025-09-27T07:32:33.126Z","repository":{"id":45514553,"uuid":"1445827","full_name":"jspahrsummers/libextobjc","owner":"jspahrsummers","description":"A Cocoa library to extend the Objective-C programming language.","archived":true,"fork":false,"pushed_at":"2019-04-23T07:16:41.000Z","size":1601,"stargazers_count":4522,"open_issues_count":30,"forks_count":462,"subscribers_count":159,"default_branch":"master","last_synced_at":"2025-09-21T22:38:32.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/jspahrsummers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-06T08:47:33.000Z","updated_at":"2025-09-16T05:58:31.000Z","dependencies_parsed_at":"2022-08-21T00:40:26.090Z","dependency_job_id":null,"html_url":"https://github.com/jspahrsummers/libextobjc","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/jspahrsummers/libextobjc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jspahrsummers%2Flibextobjc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jspahrsummers%2Flibextobjc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jspahrsummers%2Flibextobjc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jspahrsummers%2Flibextobjc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jspahrsummers","download_url":"https://codeload.github.com/jspahrsummers/libextobjc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jspahrsummers%2Flibextobjc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276857082,"owners_count":25716776,"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-25T02:00:09.612Z","response_time":80,"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":[],"created_at":"2024-01-05T20:16:28.916Z","updated_at":"2025-09-27T07:32:32.118Z","avatar_url":"https://github.com/jspahrsummers.png","language":"Objective-C","funding_links":[],"categories":["Utility","Objective-C","**Index**","Foundation"],"sub_categories":["Web View","ReactiveCocoa should transform EVERYTHING when it comes to writing iOS code so here's a bunch of projects that should make your RAC transtion a little bit smoother","Other free courses"],"readme":"The Extended Objective-C library extends the dynamism of the Objective-C programming language to support additional patterns present in other programming languages (including those that are not necessarily object-oriented).\n\nlibextobjc is meant to be very modular – most of its classes and modules can be used with no more than one or two dependencies.\n\n# Features\n\nlibextobjc currently includes the following features:\n\n * **Safe categories**, using EXTSafeCategory, for adding methods to a class without overwriting anything already there (identifying conflicts for you).\n * **Concrete protocols**, using EXTConcreteProtocol, for providing default implementations of the methods in a protocol.\n * **Simpler and safer key paths**, using EXTKeyPathCoding, which automatically checks key paths at compile-time.\n * **Compile-time checking of selectors** to ensure that an object declares a given selector, using EXTSelectorChecking.\n * **Easier use of weak variables in blocks**, using `@weakify`, `@unsafeify`, and `@strongify` from the EXTScope module.\n * **Scope-based resource cleanup**, using `@onExit` in the EXTScope module, for automatically cleaning up manually-allocated memory, file handles, locks, etc., at the end of a scope.\n * **Algebraic data types** generated completely at compile-time, defined using EXTADT.\n * **Synthesized properties for categories**, using EXTSynthesize.\n * **Block-based coroutines**, using EXTCoroutine.\n * **EXTNil, which is like `NSNull`, but behaves much more closely to actual `nil`** (i.e., doesn't crash when sent unrecognized messages).\n * **Lots of extensions** and additional functionality built on top of `\u003cobjc/runtime.h\u003e`, including extremely customizable method injection, reflection upon object properties, and various functions to extend class hierarchy checks and method lookups.\n\nThe [experimental](https://github.com/jspahrsummers/libextobjc/tree/experimental)\nbranch contains additional features that may be interesting, but are not\nconsidered stable or safe for production use. Check out the headers for more\ninformation.\n\n# Running tests\n\nTo execute libextobjc's tests, first run `git submodule update --init --recursive`\nto bring in the [xcconfigs](https://github.com/jspahrsummers/xcconfigs) submodule,\nthen open the project file and choose the desired test target.\n\n# Adding to your project\n\nIf you want to add libextobjc as a dependency to an **application**, add the\nrepository as a [submodule](http://git-scm.com/book/en/Git-Tools-Submodules),\nthen include the source files you care about in your Xcode project.\n\nIf you want to add libextobjc as a dependency to a **framework or library**,\nprefer [subtree merging](http://git-scm.com/book/en/Git-Tools-Subtree-Merging),\nwhich will allow you to rename symbols to avoid conflicts, and make any tweaks\nyou need to for your library.\n\nTo create a libextobjc subtree:\n\n```\n$ git remote add libextobjc https://github.com/jspahrsummers/libextobjc.git\n$ git fetch libextobjc\n$ git read-tree --prefix=External/ -u libextobjc/master\n$ git reset\n```\n\nRename any symbols or change whatever you want, `git add` the specific files\nthat you want in your library, and then add them to your Xcode project.\n\nTo bring in upstream changes later:\n\n```\n$ git fetch -p libextobjc\n$ git merge -Xsubtree=External/ libextobjc/master\n$ git reset\n```\n\nThen, again, just add the changes you want.\n\n# License\n\nReleased under the MIT License. See the\n[LICENSE](https://github.com/jspahrsummers/libextobjc/blob/master/LICENSE.md)\nfile for more information.\n\n# Requirements\n\nlibextobjc must be built with ARC enabled, and many of its macros require ARC in the calling files as well. MRR usage is not supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjspahrsummers%2Flibextobjc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjspahrsummers%2Flibextobjc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjspahrsummers%2Flibextobjc/lists"}