{"id":21530973,"url":"https://github.com/frog-frog/storyview","last_synced_at":"2025-09-05T23:48:01.922Z","repository":{"id":62456112,"uuid":"130547059","full_name":"Frog-Frog/StoryView","owner":"Frog-Frog","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-28T07:34:36.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T08:41:06.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Frog-Frog.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}},"created_at":"2018-04-22T08:00:01.000Z","updated_at":"2018-08-28T07:34:38.000Z","dependencies_parsed_at":"2022-11-02T00:01:00.082Z","dependency_job_id":null,"html_url":"https://github.com/Frog-Frog/StoryView","commit_stats":null,"previous_names":["pkpk-carnage/storyview"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Frog-Frog/StoryView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frog-Frog%2FStoryView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frog-Frog%2FStoryView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frog-Frog%2FStoryView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frog-Frog%2FStoryView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frog-Frog","download_url":"https://codeload.github.com/Frog-Frog/StoryView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frog-Frog%2FStoryView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"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-07-28T02:00:09.689Z","response_time":68,"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-11-24T02:11:03.191Z","updated_at":"2025-07-28T14:05:58.938Z","avatar_url":"https://github.com/Frog-Frog.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StoryView\n\n## Description\nStoryView is a UIView library that can make carousel like Instagram's story.\nThis library use easily like UITableView.\n\n## Features\n・Change border color\n\n・Change border width\n\n・Crop an image into a circle \n\n## Demo\n\n## Usage\n\n### Make property.\n\n```swift\nimport StoryView\n\nclass ViewController: UIViewController {\n\n  @IBOutlet weak var storyView: StoryView! {\n    willSet {\n      newValue.delegate = self\n      newValue.dataSource = self\n    }\n  }\n\n  override func viewDidLoad() {\n    super.viewDidLoad()\n\n    // If you do not use IBOutlet, create a StoryView with code.\n    //self.storyView = StoryView()\n  }\n}\n```\n\n### Implement StoryViewDataSource.\nYou must implement these methods.\n\n```swift\nextension ViewController: StoryViewDataSource {\n\n  func numberOfItems(in storyView: StoryView) -\u003e Int {\n    return yourStories\n  }\n\n  func storyView(_ storyView: StoryView, storyForItem item: Int) -\u003e Story {\n    let story = Story(image: yourImage, title: yourTitle)\n    return story\n  }\n}\n```\n\n### Implementt StoryViewDelegate\nYou must implement these methods.\n\n```swift\nextension ViewController: StoryViewDataSource {\n\n  func storyView(_ storyView: StoryView, tappedCellAt item: Int) {\n    // This process is executed when Story is tapped.\n  }\n\n  func storyView(_ storyView: StoryView, longPressedCellAt item: Int) {\n    // This process is executed when Story is long pressed.\n  }\n}\n```\n\n## Install\n\n### CocoaPods  \nAdd this to your Podfile.\n\n```PodFile\npod 'StoryView'\n```\n\n### Carthage  \nAdd this to your Cartfile.\n\n```Cartfile\ngithub \"PKPK-Carnage/StoryView\"\n```\n\n## Help\n\nIf you want to support this framework, you can do these things.\n\n* Please let us know if you have any requests for me.\n\nI will do my best to live up to your expectations.\n\n* You can make contribute code, issues and pull requests.\n\nI promise to confirm them.\n\n## Licence\n\n[MIT](https://github.com/PKPK-Carnage/StoryView/blob/master/LICENSE)\n\n## Author\n\n[PKPK-Carnage🦎](https://github.com/PKPK-Carnage)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrog-frog%2Fstoryview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrog-frog%2Fstoryview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrog-frog%2Fstoryview/lists"}