{"id":20936528,"url":"https://github.com/eneskaraosman/loremswiftify","last_synced_at":"2025-05-13T21:31:08.970Z","repository":{"id":229458905,"uuid":"776367807","full_name":"EnesKaraosman/LoremSwiftify","owner":"EnesKaraosman","description":"LoremSwiftify is a Macro that creates lorem ipsum data for your models","archived":false,"fork":false,"pushed_at":"2025-04-02T23:20:57.000Z","size":67,"stargazers_count":14,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-03T22:35:35.823Z","etag":null,"topics":["code-generation","ios","lorem-ipsum","lorem-ipsum-generator","macros","no-boiler","swift","swift-macros","swift-package-manager","swift-syntax"],"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/EnesKaraosman.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"enesKaraosman","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-03-23T10:04:39.000Z","updated_at":"2024-11-12T17:17:55.000Z","dependencies_parsed_at":"2024-04-04T13:58:51.676Z","dependency_job_id":"0adbe2be-5fff-42da-9f29-1d0d529f3cf8","html_url":"https://github.com/EnesKaraosman/LoremSwiftify","commit_stats":null,"previous_names":["eneskaraosman/loremswiftsumize","eneskaraosman/loremswiftify"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnesKaraosman%2FLoremSwiftify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnesKaraosman%2FLoremSwiftify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnesKaraosman%2FLoremSwiftify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnesKaraosman%2FLoremSwiftify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnesKaraosman","download_url":"https://codeload.github.com/EnesKaraosman/LoremSwiftify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254030937,"owners_count":22002674,"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":["code-generation","ios","lorem-ipsum","lorem-ipsum-generator","macros","no-boiler","swift","swift-macros","swift-package-manager","swift-syntax"],"created_at":"2024-11-18T22:20:29.370Z","updated_at":"2025-05-13T21:31:07.712Z","avatar_url":"https://github.com/EnesKaraosman.png","language":"Swift","funding_links":["https://github.com/sponsors/enesKaraosman"],"categories":[],"sub_categories":[],"readme":"# LoremSwiftify\n\n### Features\n- [X] Support class (nesting is supported as well)\n- [X] Support struct (nesting is supported as well)\n- [X] Support enum (nesting is supported as well)\n- [X] Support commonly used types\n    - [X] String\n    - [X] Int, Int8, Int16, Int32, Int64\n    - [X] UInt, UInt8, UInt16, UInt32, UInt64\n    - [X] Double, Float\n    - [X] Bool\n    - [X] Array\n    - [X] Dictionary\n    - [X] Optional\n    - [X] Date\n    - [X] URL\n    - [X] Color\n- [X] Custom types supported if it's annotated with macro or confirms `LoremIpsumize` protocol\n- [ ] Add #if DEBUG\n- [X] Create Example SwiftUI project to demonstrate package usage for previews\n- [X] Provide a way to customize lorem in different categories (like creditCard, phoneNumber, name, price etc..) (works for auto generated init)\n- [ ] Provide a way to customize loreming for the supported built-in types (to completely determine what to receive for the lorem data)\n- [ ] Implement unit test\n\n---\n\nSee example project\n\n[Example](Example/Example)\n\n---\n\n- Annotate any struct, class or enum with `@LoremSwiftify`\n\nThen use `StructName.lorem()` or `ClassName.lorem()` or `EnumName.lorem()`. Basically `.lorem()` everywhere :)\n\n\n```swift\nextension ContentView {\n    @LoremSwiftify\n    struct Display {\n        let developers: [Developer]\n\n        @LoremSwiftify\n        struct Developer: Identifiable {\n            let id: String = UUID().uuidString\n\n            @Lorem(.string(.name))\n            let name: String\n\n            @Lorem(.string(.email))\n            let email: String\n\n            @Lorem(.string(.phoneNumber))\n            let phoneNumber: String\n\n            @Lorem(.url(.image))\n            let imageURL: URL\n\n            @Lorem(.url(.website))\n            let profileURL: URL\n        }\n    }\n}\n\n#Preview {\n    ContentView(display: .lorem())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneskaraosman%2Floremswiftify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feneskaraosman%2Floremswiftify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneskaraosman%2Floremswiftify/lists"}