{"id":20909876,"url":"https://github.com/yigitozt/viewslidetransition","last_synced_at":"2026-05-26T14:02:15.304Z","repository":{"id":15021122,"uuid":"17746831","full_name":"yigitozt/ViewSlideTransition","owner":"yigitozt","description":"Slide between two view","archived":false,"fork":false,"pushed_at":"2014-03-14T14:00:04.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T01:42:26.935Z","etag":null,"topics":["animate","animation","between","controller","easy-to-use","finger","navigation-controller","objective-c","slide","swipe","view","viewcontroller","xcode","xcode-plugin"],"latest_commit_sha":null,"homepage":null,"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/yigitozt.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":"2014-03-14T13:21:34.000Z","updated_at":"2018-01-24T00:21:30.000Z","dependencies_parsed_at":"2022-08-28T14:20:56.323Z","dependency_job_id":null,"html_url":"https://github.com/yigitozt/ViewSlideTransition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yigitozt/ViewSlideTransition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigitozt%2FViewSlideTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigitozt%2FViewSlideTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigitozt%2FViewSlideTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigitozt%2FViewSlideTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yigitozt","download_url":"https://codeload.github.com/yigitozt/ViewSlideTransition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigitozt%2FViewSlideTransition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33523669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"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":["animate","animation","between","controller","easy-to-use","finger","navigation-controller","objective-c","slide","swipe","view","viewcontroller","xcode","xcode-plugin"],"created_at":"2024-11-18T14:13:07.803Z","updated_at":"2026-05-26T14:02:15.261Z","avatar_url":"https://github.com/yigitozt.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"ViewSlideTransition\n===================\nSlide between two view\n\n-Slides smoothly between two views and rotates an view in scene(optional).\n\nInstructions(for 4' retina screen, you can change the values for other screens)\nYou have to use navigation controller\n\nIn Storyboard\n- Add a view first, let say it mainBigView (frame: 0,0,640,568)\n- Add 2 views in the mainBigView and name them view1, view2 (frameforview1: 0,0,320,568) (frameforview2: 320,0,320,568)\n- Add a view between two views inside of mainBigView. This is for rotating animation while transition.(optional)\n- Now specify them in the ViewController's .h file.\n- Let's say them mainBigView,firstView,secondView,rotatingObject\n\nCode\n\n1-Add a gesture recognizer in the ViewController\n\n  @property(strong, nonatomic)UILongPressGestureRecognizer * tapGesture;\n\n2-Initialize the recognizer in viewDidLoad\n\n    self.tapGesture = [UILongPressGestureRecognizer new];\n  \n    [self.tapGesture addTarget:self action:@selector(tapScreen:)];\n    \n    self.tapGesture.minimumPressDuration = 0.001f;\n    \n    [self.view addGestureRecognizer:self.tapGesture];\n    \n3-Write down the tapScreen method\n\n    - (IBAction)tapScreen:(id)sender\n    {\n    \n    }\n   \n4- Add the makeAnimatedCrossFadeWithFirstView method inside\n      \n      [Storage makeAnimatedCrossFadeWithFirstView:\u003c#(UIView *)#\u003e secondView:\u003c#(UIView *)#\u003e mainBigView:\u003c#(UIView *)#\u003e      rotatingObject:\u003c#(UIView *)#\u003e currentView:\u003c#(UIView *)#\u003e currentController:\u003c#(UIViewController *)#\u003e currentLongPressGesture:\u003c#(UILongPressGestureRecognizer *)#\u003e makeNavigationBarDissappear:\u003c#(BOOL)#\u003e];\n  \n5- Now fill the areas with views that we specified before. If you have no rotating object, you can write nil.\n\n    [Storage makeAnimatedCrossFadeWithFirstView:self.firstView secondView:self.secondView mainBigView:self.mainBigView   rotatingObject:self.rotatingObject currentView:self.view currentController:self currentLongPressGesture:self.tapGesture makeNavigationBarDissappear:YES];\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyigitozt%2Fviewslidetransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyigitozt%2Fviewslidetransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyigitozt%2Fviewslidetransition/lists"}