{"id":15050721,"url":"https://github.com/alepacho/base","last_synced_at":"2026-01-02T10:02:55.311Z","repository":{"id":209615687,"uuid":"724509913","full_name":"Alepacho/base","owner":"Alepacho","description":"A small collection of general-purpose objects for your projects.","archived":false,"fork":false,"pushed_at":"2024-01-21T03:00:21.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T17:41:17.340Z","etag":null,"topics":["base","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alepacho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-28T08:19:56.000Z","updated_at":"2023-11-29T04:22:39.000Z","dependencies_parsed_at":"2023-12-21T20:04:02.979Z","dependency_job_id":"2e63a4dc-833f-4d77-9df4-fbc7be16d694","html_url":"https://github.com/Alepacho/base","commit_stats":null,"previous_names":["alepacho/base"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alepacho%2Fbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alepacho%2Fbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alepacho%2Fbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alepacho%2Fbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alepacho","download_url":"https://codeload.github.com/Alepacho/base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225406513,"owners_count":17469548,"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":["base","objective-c"],"created_at":"2024-09-24T21:29:06.284Z","updated_at":"2026-01-02T10:02:50.281Z","avatar_url":"https://github.com/Alepacho.png","language":"Objective-C","readme":"# Base\n\nBase is a small collection of utilities for projects written in Objective-C.\nBase does not require Foundation framework (except for [macOS compatibility](https://github.com/Alepacho/base/blob/master/include/base/base.h)).\n\n## Features\n\n* Easy string manipulation\n* Simple Arrays\n* System related methods\n* Exception handling\n\n## Usage\n\nBase requires the following dependencies:\n\n```\n    * clang   (at least 16)\n    * libobj2 (for Windows and Linux only)\n    * ninja   (you can also use makefile)\n```\n\n### Windows:\n\nYou have to compile `libobjc2` first.\n\n```powershell\n\u003e git submodule update --init --recursive\n\u003e cd 3rdparty/libobjc2/\n\u003e mkdir build\n\u003e cd build\n\u003e cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang\n\u003e ninja\n```\n\nAnd now you can make a `base` library.\n\n```powershell\n\u003e cd ../../../\n\u003e mkdir build\n\u003e cd build\n\u003e cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang\n\u003e ninja\n```\n\n### UNIX:\n\nLinux and other UNIX-like systems are not tested yet.\n\n```bash\n$ I dunno...\n```\n\n### macOS:\n\nCompilation is way simpler than on all systems above.\nNotice that you need clang 16 or above to compile it!\n\n```bash\n$ mkdir build \u0026\u0026 cd build\n$ cmake ..\n$ make\n```\n\n## Playground\n\nIf you want to test something, use `test/` project.\n\n## License\n\n```\n   Copyright 2023 Alepacho\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falepacho%2Fbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falepacho%2Fbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falepacho%2Fbase/lists"}