{"id":28344991,"url":"https://github.com/1998code/19-splash-screen-for-swiftui","last_synced_at":"2026-02-05T16:03:40.998Z","repository":{"id":276798893,"uuid":"930268646","full_name":"1998code/19-Splash-Screen-for-SwiftUI","owner":"1998code","description":"Be the first to try the next-gen SwiftUI Splash Screen. [ AI Assistant available below ]","archived":false,"fork":false,"pushed_at":"2026-02-02T03:21:06.000Z","size":5016,"stargazers_count":182,"open_issues_count":1,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-02T14:37:21.287Z","etag":null,"topics":["splash","splashscreen","splashscreenkit","swift","swiftui"],"latest_commit_sha":null,"homepage":"https://shareby.vercel.app/4zel3m","language":"Swift","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/1998code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"1998code"}},"created_at":"2025-02-10T11:05:26.000Z","updated_at":"2026-02-02T13:08:56.000Z","dependencies_parsed_at":"2025-02-10T14:37:41.383Z","dependency_job_id":"5470fd19-215c-49a7-8ea7-89b0c1513cb0","html_url":"https://github.com/1998code/19-Splash-Screen-for-SwiftUI","commit_stats":null,"previous_names":["1998code/19-splash-screen-for-swiftui"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/1998code/19-Splash-Screen-for-SwiftUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2F19-Splash-Screen-for-SwiftUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2F19-Splash-Screen-for-SwiftUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2F19-Splash-Screen-for-SwiftUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2F19-Splash-Screen-for-SwiftUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1998code","download_url":"https://codeload.github.com/1998code/19-Splash-Screen-for-SwiftUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2F19-Splash-Screen-for-SwiftUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29125107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["splash","splashscreen","splashscreenkit","swift","swiftui"],"created_at":"2025-05-27T11:09:01.001Z","updated_at":"2026-02-05T16:03:40.992Z","avatar_url":"https://github.com/1998code.png","language":"Swift","funding_links":["https://github.com/sponsors/1998code"],"categories":[],"sub_categories":[],"readme":"# SplashScreenKit\n### A New Splash Screen for SwiftUI\n\n\u003cimg width=\"1585\" alt=\"Screenshot 2025-02-10 at 8 18 53 PM\" src=\"https://github.com/user-attachments/assets/7f35a079-f74d-4c35-8f25-ea3239cc645f\" /\u003e\n\n## Version\n**2.1.0 (Stable Release)** \u003cbr\u003e\n*Optimized for high-performance interaction with zero jank.*\n\n- **Seamless Infinite Carousel:** New virtual-index logic prevents \"flying cards\" and ensures smooth infinite rotation.\n- **Performance Optimized:** Metal-accelerated rendering (`drawingGroup`) and efficient per-frame updates via `RunLoop`.\n- **Momentum Scrolling:** Butter-smooth, velocity-based interactive gestures with native deceleration feel.\n- **AsyncImage Support:** Pre-validated URL handling for lag-free remote image loading.\n- **Two Display Modes:** Choose between dynamic `.carousel` and elegant `.static` layouts.\n- **Advanced Text Effects:** Beautiful text rendering and transitions using SwiftUI 6.0 features.\n\n## Environment / Tested on\n- 📲 iOS 18.0+ required\n- Swift 6.0\n- Xcode 16.0+\n\n## How to use\nAdd the package to your project: ```https://github.com/1998code/19-Splash-Screen-for-SwiftUI```\n\n### Carousel Mode (Default)\nThe classic interactive experience with rotating images.\n```swift\nSplashScreen(\n    images: [\n        Photo(\"ImageName1\"),\n        Photo(\"https://example.com/image.jpg\") // Remote URLs supported!\n    ],\n    title: \"Welcome to\",\n    product: \"Apple TV\",\n    caption: \"Browse all movies, TV shows, and more.\",\n    cta: \"Watch Now\"\n) {\n    print(\"Action Button Tapped\")\n}\n```\n\n\u003cimg src=\"https://github.com/user-attachments/assets/28c8a5dc-cb8c-4aa4-b0a8-d7139ce3cefc\" width=\"350\" /\u003e\n\n### Static Mode (NEW)\nA clean, scrollable layout perfect for product introductions.\n```swift\nSplashScreen(\n    mode: .static,\n    images: [Photo(\"https://url.to/header_image.jpg\")],\n    title: \"Creator Studio\",\n    product: \"3 months of Creator Studio for free.\",\n    caption: \"Bring your vision to life with powerful apps.\",\n    features: [\n        SplashFeature(title: \"Feature 1\", icon: \"video\"),\n        SplashFeature(title: \"Feature 2\", icon: \"waveform\")\n    ],\n    footer: \"Terms and conditions apply.\",\n    cta: \"Accept Offer\",\n    secondaryCta: \"See All Plans\",\n    secondaryAction: {\n        print(\"Secondary action tapped\")\n    }\n) {\n    print(\"Primary action tapped\")\n}\n```\n\n\u003cimg src=\"https://github.com/user-attachments/assets/44f9aeef-7906-4251-b338-f9504b30b278\" width=\"350\" /\u003e\n\n## Known Issues\n- Only compatible with iOS 18+, leveraging the latest SwiftUI `TextRenderer` and visual effect APIs.\n- Resizing: Carousel mode is optimized for Pro/Pro Max. Static mode includes a ScrollView to handle smaller devices and varying content lengths.\n\n## Copyright\nApp Store Screenshots © 2025 Apple Inc.\n\n## Reference\n[Creating visual effects with SwiftUI - Apple Developer](https://developer.apple.com/documentation/swiftui/creating-visual-effects-with-swiftui)\n\n## Related Posts on X\nhttps://x.com/1998design/status/1888641485303878110 \u003cbr\u003e\nhttps://x.com/1998design/status/1888945523845140677\n\n## Combinations\nUse [SwiftNEWKit](https://github.com/1998code/SwiftNEWKit) together, 2X effective!\n\u003cbr\u003e\u003cbr\u003e\n\u003cimg height=300 src=\"https://github.com/user-attachments/assets/cc88b31d-326f-4a43-9e6a-5f583fcf153b\" /\u003e\n\n## License\nMIT\n\n## Supported By\n\u003ca href=\"https://m.do.co/c/ce873177d9ab\"\u003e\n    \u003cimg src=\"https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg\" width=\"201px\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1998code%2F19-splash-screen-for-swiftui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1998code%2F19-splash-screen-for-swiftui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1998code%2F19-splash-screen-for-swiftui/lists"}