{"id":13628810,"url":"https://github.com/mpospese/MPFoldTransition","last_synced_at":"2025-04-17T04:32:25.529Z","repository":{"id":3191080,"uuid":"4223858","full_name":"mpospese/MPFoldTransition","owner":"mpospese","description":"Easily add custom folding and page-flipping transitions to UIViews and UIViewControllers","archived":false,"fork":false,"pushed_at":"2013-11-13T22:35:25.000Z","size":249,"stargazers_count":1806,"open_issues_count":15,"forks_count":236,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-04-08T02:39:24.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://markpospesel.com/2012/05/07/mpfoldtransition/","language":"Objective-C","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/mpospese.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-04T10:50:13.000Z","updated_at":"2025-02-18T13:20:43.000Z","dependencies_parsed_at":"2022-09-10T22:10:12.587Z","dependency_job_id":null,"html_url":"https://github.com/mpospese/MPFoldTransition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpospese%2FMPFoldTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpospese%2FMPFoldTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpospese%2FMPFoldTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpospese%2FMPFoldTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpospese","download_url":"https://codeload.github.com/mpospese/MPFoldTransition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249315989,"owners_count":21249868,"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":[],"created_at":"2024-08-01T22:00:57.817Z","updated_at":"2025-04-17T04:32:20.519Z","avatar_url":"https://github.com/mpospese.png","language":"Objective-C","readme":"MPTransition\n=====================\n__Update__: MPTransition now comprises MPFoldTransition and MPFlipTransition  \n  \n__Update 2__: For a touch gesture-enabled container controller with page-flipping (not just a transition), see [MPFlipViewController](https://github.com/mpospese/MPFlipViewController)  \n  \nMPFoldTransition is a set of classes to add folding-style transitions to iOS 5 projects.  \n![iPhone Fold](http://markpospesel.files.wordpress.com/2012/05/iphone-fold2.png)  \nMPFlipTransition is a set of classes to add page-flipping transitions to iOS 5 projects.  \n![iPhone Flip](http://markpospesel.files.wordpress.com/2012/05/iphone-flip-3.png)  \nI built it using ARC (and for the demo portion storyboards) strictly for convenience, so it uses iOS 5.  I imagine the relevant code (minus the UIStoryboardSegue helper classes) could be easily ported to iOS 4.3 under ARC, or ported to iOS 4.0 with memory management inserted.  (_Hint:_ If you're porting to non-ARC, you'll need to retain [sourceView superView] in the init method.)\n\nFeatures\n---------\n* Convenience methods to extend UIViewController to present/dismiss a view controller modally using fold/flip transitions\n* Convenience methods to extend UINavigationController to push/pop view controllers onto the navigation stack using fold/flip transitions\n* Convenience methods to transition between any 2 UIViewControllers or UIViews\n* 3 Custom UIStoryboardSegue subclasses to easily add folding/flipping transitions via Interface Builder in your storyboards\n* Fully customizable to adjust style, duration, timing curves, and completion action\n* Blocks-based: many methods include a completion block parameter following the pattern of block-based animations introduced in iOS 4.\n\nFold Styles\n---------\nCurrently there are 3 style bits that can be combined for 8 different styles.\n* __Direction:__ Fold vs. Unfold  \n![Fold vs. Unfold](http://markpospesel.files.wordpress.com/2012/05/fold-vs-unfold2.png)  \n* __Mode:__ Normal vs. Cubic  \n![Normal vs. Cubic](http://markpospesel.files.wordpress.com/2012/05/normal-vs-cubic2.png)  \n* __Orientation:__ Vertical vs. Horizontal  \n![Vertical vs. Horizontal](http://markpospesel.files.wordpress.com/2012/05/vertical-vs-horizontal2.png)  \n\nFlip Styles\n---------\nCurrently there are 3 style bits that can be combined for 8 different styles.\n* __Direction:__ Forward vs. Backward  \n![Forward vs. Backward](http://markpospesel.files.wordpress.com/2012/05/forward-vs-backward-3.png)  \n* __Orientation:__ Horizontal vs. Vertical  \n![Horizontal vs. Vertical](http://markpospesel.files.wordpress.com/2012/05/horizontal-vs-vertical-3.png)  \n* __Perspective:__ Normal vs. Reverse  \n![Normal vs. Reverse](http://markpospesel.files.wordpress.com/2012/05/normal-vs-reverse-3.png)  \n\nRequirements\n-----------\n* Xcode 4.4 or higher\n* LLVM compiler\n* iOS 5 or higher\n\nHow To Use\n---------\nSee the \"MPFoldTransition.h\" (and \"MPFlipTransition.h\") header file(s) for methods and use the demo project as a reference.  The Segue classes (under directory of the same name) are optional, only if you want to include storyboard support.  Otherwise you just need the classes under the bottommost MPFoldTransition directory.\n\nLicensing\n---------\nRead Source Code License.rtf, but the gist is:\n* Anyone can use it for any type of project\n* All I ask for is attribution somewhere\n\nSupport, bugs and feature requests\n----------------------------------\nThere is absolutely no support offered with this component. You're on your own! If you want to submit a feature request, please do so via [the issue tracker on github](https://github.com/mpospese/MPFoldTransition/issues).  \n  \nIf you want to submit a bug report, please also do so via the issue tracker, including a diagnosis of the problem and a suggested fix (in code). If you're using MPTransition, you're a developer - so I expect you to do your homework and provide a fix along with each bug report. You can also submit pull requests or patches.  \n  \nPlease don't submit bug reports without fixes!  \n\n(The preceding blurb provided courtesy of the legendary [Matt Gemmell](https://github.com/mattgemmell/))\n\nBest,  \nMark Pospesel\n\nWebsite: http://markpospesel.com/  \nContact: http://markpospesel.com/about  \nTwitter: http://twitter.com/mpospese  \nHire Me: http://crazymilksoftware.com/  \n","funding_links":[],"categories":["Objective-C","Objective-C  Stars 1000以内排名整理","etc","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpospese%2FMPFoldTransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpospese%2FMPFoldTransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpospese%2FMPFoldTransition/lists"}