IBAnimatable /IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.
★ 8,639⑂ 773👁 209⑃ 385● 261▤ 29
+0
Daily
+5
Weekly
+5
Monthly
8,639
stars
773
forks
209
watchers
385
prs
261
issues
29
releases
README
!IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.
!IBAnimatable hero image
The app was made in Interface Builder with IBAnimatable without a single line of code. Due to the size of the GIF file on Dribbble, it only demonstrates a subset of features. We can also find the full HD version on YouTube or MP4 on Github
Key features
- ✅ 100% compatible with UIKit. All IBAnimatable APIs are extensions of UIKit. No pollutions to UIKit's APIs.
- ✅ 100% compatible with Auto Layout and Size Classes. No custom layout system.
- ✅ User interface design and preview in IB: corner radius, border, mask, shadow, gradient colors, tint color, blur effect etc.
- ✅ Animation design in IB: slide in/out, fade in/out, zoom in/out, flip, pop, shake, rotate, move etc.
- ✅ Transition design in IB: fade, slide, flip, cube, portal, fold, explosion etc.
- ✅ Interactive gesture design in IB: pan, screen edge pan, pinch etc.
- ✅ Presentation design in IB: flip, cover, zoom, dropdown etc.
- ✅ Activity indicator design in IB: ball beat, ball rotate, cube transition, Pacman etc.
!StoryboardPreview
Here is the full design in a Storyboard in Interface Builder.
With IBAnimatable, we can design a UI in Interface Builder like what we can do in Sketch, and prototype animations in a Swift playground like what we can do in Framer. Also, we can use the output of the design directly in the production ready App.
As a designer, we love Sketch, which is a simple but yet super powerful tool to create UI. However, Sketch can't design interaction, navigation, transition and animation, and we may need another tool like Framer to design some of them. Moreover, to make an App Store ready App, we need to use Xcode and Interface Builder to implement the UI and animations. To speed up the process and minimize the waste, we create IBAnimatable to make Interface Builder designable and animatable.
How to install
Manually install
Copy and paste IBAnimatable folder in your Xcode project.
Swift package manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
swift
.package(url: "https://github.com/IBAnimatable/IBAnimatable.git", .upToNextMajor(from: "6.1.0"))
CocoaPods
Add the following entry in your Podfile:
ruby
pod 'IBAnimatable'
Carthage
Add the following entry in your Cartfile:
github "IBAnimatable/IBAnimatable"
Accio
Add the following entry in your Package.swift:
swift
.package(url: "https://github.com/IBAnimatable/IBAnimatable.git", .upToNextMajor(from: "6.1.0")),
Next, add IBAnimatable to your App targets dependencies like so:
swift
.target(
name: "App",
dependencies: [
"IBAnimatable",
]
),
Please Notice, there is a limitation of a built framework for @IBDesignable and @IBInspectable, that will impact on IBAnimatable when you use Carthage or Accio. There is a wTop issues
#461backgroundColor for AnimatableStackView not set by FillDesignable12 comments · 2017-04-26#78Random data generator12 comments · 2016-02-08#305Most of transitions do not respect non translucent navigation bar leading to glitches and wrong frames.10 comments · 2016-09-07#104FontAwesomeAnimatableView10 comments · 2016-02-14#501[QUESTION] Custom logic during animation8 comments · 2017-06-18#500IBAnimatable Themes7 comments · 2017-06-12#238IBAnimatable App 7 comments · 2016-07-07#155Custom transition animators (animation controllers)6 comments · 2016-04-02
Latest release
6.1.0 6.1.0 2020-04-06Release 6.1.0 to support Swift 5.1 🎉. Great thanks to all contributors 👍 API breaking changes N/A Enhancements - Allow imbricated AnimationType options, Array and operator + to create compound animation by string. 611 by @phimage - Implement Hashable with Hasher. 616 by @phimage - Add roundedPolygon, a polygon MaskType with corner radius. 619 by @phimage - Add new mask type kite. 619 by @phimage Bugfixes - Fix swift build 623 by @phimage - Fix grandient heigth on navigation bar 625 by @phimage