IBCellFlipSegue
IBCellFlipSegue is a simple custom segue meant to replicate the behavior of the buttons in the new version of the Expedia Hotels & Flights app.
Install / Use
/learn @IBLabs/IBCellFlipSegueREADME
IBCellFlipSegue
IBCellFlipSegue is a simple custom segue meant to replicate the behavior of the buttons in the new version of the Expedia Hotels & Flights app. Currently, the segue is in it's very early stages of development, and it was created as a simple personal project which I have decided to share.
Requirements
The use of IBCellFlipSegue requires:
- Xcode 4.4+
- ARC Support
- iOS 5.0+
Installation
To setup IBCellFlipSegue in your project, simply follow these steps:
- Clone the IBCellFlipSegue repository, either as a submodule or into a folder on your computer.
- Add IBCellFlipSegue folder into your project.
- In your project's settings, select the project's target and under Build Phases add
QuartzCode.frameworkto Link Binary With Libraries. - Import IBCellFlipSegue where you need it in your project by adding
#import IBCellFlipSegue.hto the header file.
How To Use
To use the IBCellFlipSegue, follow these simple steps:
-
Inside your app's storyboard file, create a custom segue between the views you want to transition.
-
Using the Attributes Inspector, the the Segue Class field to
IBCellFlipSegue. -
Optional: In case the source view controller (the view controller you are transitioning from) has more than one segue, give the segue an identifier.
-
In the source view controller's implementation file (.m) implement the
prepareForSegue:sender:method of the view controller. -
Convert the segue to an IBCellFlipSegue like so:
IBCellFlipSegue *cellFlipSegue = (IBCellFlipSegue *)segue; -
Set the segues
selectedCellproperty to the button/cell that should be flipped. -
Optional: Set the direction/type of the flip by settings the segue's
flipAxisproperty to one of the following:FlipAxisHorizontal,FlipAxisVertical,FlipAxisDiagonal. -
Make beautiful transitions!
Related Skills
node-connect
334.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
334.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.1kCommit, push, and open a PR
