• Stars
    star
    490
  • Rank 86,619 (Top 2 %)
  • Language
    Objective-C
  • Created almost 12 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A custom container view controller following the iOS 5 containment API that navigates between child view controllers via touch gestures and page-flip animations

MPFlipViewController

A custom container view controller following the iOS 5 containment API that navigates between child view controllers via touch gestures and page-flip animations

This is the app to accompany my talk "Implementing Custom Container View Controllers" I presented at CocoaConf DC 2012.

iPhone screenshot

Requirements

  • Xcode 4.4 or higher
  • LLVM compiler
  • iOS 5 or higher
  • ARC

API

The API is simple and modeled after UIKit's UIPageViewController. There is a Data Source protocol (to provide previous and next controllers) and a Delegate protocol.

More details can be found in this blog post. See MPFlipViewController.h for full details.

How To Use

Build and run the included demo app, and see how it works. The controller files are in the "Controller" directory and the demo app is in the "Demo" directory.

The background images in the demo app are not freely distributable. They're by Glyphish and you should get your own copy. While you're at it, they make a great set of icons too.

Licensing

Read Source Code License.rtf, but the gist is:

  • Anyone can use it for any type of project
  • All I ask for is attribution somewhere

Support, bugs and feature requests

There 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.

If 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 MPFlipViewController, 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.

Please don't submit bug reports without fixes!

(The preceding blurb provided courtesy of the legendary Matt Gemmell)

Best,
Mark Pospesel

Website: http://markpospesel.com/
Contact: http://markpospesel.com/about
Twitter: http://twitter.com/mpospese

More Repositories

1

MPFoldTransition

Easily add custom folding and page-flipping transitions to UIViews and UIViewControllers
Objective-C
1,820
star
2

IntroducingCollectionViews

The sample application to accompany my conference talk on UICollectionView.
Objective-C
485
star
3

EnterTheMatrix

The sample application to accompany my conference talk "Enter The Matrix" on matrix transformations. Abstract: Matrix transformations can make your user interfaces come to life: translate, scale, and rotate. Each on its own is relatively simple and straightforward. Yet many developers are daunted when 2 or more operations need to be combined. What if you need to rotate or zoom about an off-center (or even off-screen) point? How do you combine multiple transformations into a single animation? Learn everything you need to know to get started with complex matrix transformations in CoreGraphics and CoreAnimation.
Objective-C
318
star
4

CircleLayout

fixing bugs in WWDC 2012's 219 session sample code
Objective-C
259
star
5

Animation3DSandbox

Objective-C
79
star
6

AntiAliasingDemo

Sample app demonstrating a technique for efficient edge antialiasing of static content
Objective-C
51
star
7

CALayer-vs-UIView-based-animation

Sample project demonstrating some differences between animation types as regards UIKit touch event handling. UPDATE: This was apparently a compiler issue and was fixed in Xcode 4.3
Objective-C
12
star
8

AnimationPerformance

Sample iOS app to demonstrate performance tuning of animations with Instruments.
Objective-C
10
star
9

DSTutorial

Repo to accompany my half-day tutorial "Engineering Design Systems"
Swift
6
star
10

BeaconDemo

iBeacons demo app for my conference talk, "I, Beacon"
Objective-C
2
star
11

UIKit-Re-Animator

Sample code to play with new iOS 10 animation API's
Objective-C
1
star