All Projects → likedan → Kdintroview

likedan / Kdintroview

Licence: mit

Programming Languages

swift
15916 projects
swift3
66 projects

Projects that are alternatives of or similar to Kdintroview

Pvview
A small library that helps you to make an amazing parallax view
Stars: ✭ 227 (-24.33%)
Mutual labels:  ios-lib, ios-ui, ios-animation, onboarding
Flexlayout
FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.
Stars: ✭ 1,342 (+347.33%)
Mutual labels:  swift-framework, ios-lib, ios-ui
Iosproject
IOS综合项目,完善的框架,路由模块化设计,集成科大讯飞SDK方便iOS基本输入控件实现语音辅助输入,UI效果参照京东APP,JS与OC交互,ionic跨平台开发,MQTT 协议,即时通讯协议,视屏播放,跑马灯效果 仿美团地图定位,城市收索, 友盟分享,基础动画 增加FCUIID帮助类,引导页功能模块,照片上传 ,UIView自定义导航栏,文件下载,Masonry 案例,fmdb,数据库,sqlite,百度地图,二维码,照片上传,照片上传有进度,列表倒计时,H5和原生交互,自定义各种弹框,常见表单类型,人脸识别,列表加载图片,列表拖拽,日历操作,导航条渐变,核心动画,动画特效等等
Stars: ✭ 291 (-3%)
Mutual labels:  ios-lib, ios-ui, ios-animation
Nvactivityindicatorview
A collection of awesome loading animations
Stars: ✭ 10,031 (+3243.67%)
Mutual labels:  ios-lib, ios-ui, ios-animation
Rhplaceholder
Show pleasant loading view for your users 😍
Stars: ✭ 238 (-20.67%)
Mutual labels:  ios-lib, ios-ui, ios-animation
Pinlayout
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
Stars: ✭ 1,870 (+523.33%)
Mutual labels:  swift-framework, ios-lib, ios-ui
Mycoretextlabel
图文混排 , 实现图片文字混排 , 可显示常规链接比如网址,@,#话题#,手机号 , 邮箱号等 , 可以自定义链接字,设置关键字高亮等功能 . 适用于微博,微信,IM聊天对话等场景 . 实现这些功能仅用了几百行代码,耦合性也较低
Stars: ✭ 192 (-36%)
Mutual labels:  ios-lib, ios-ui, ios-animation
StackViewLayout
Coming soon!
Stars: ✭ 26 (-91.33%)
Mutual labels:  swift-framework, ios-ui, ios-lib
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+293.33%)
Mutual labels:  swift-framework, ios-animation
Awesome Ios
A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects
Stars: ✭ 38,720 (+12806.67%)
Mutual labels:  swift-framework, ios-animation
Shift
Animate gradient changes with time or motion for iOS Swift
Stars: ✭ 165 (-45%)
Mutual labels:  swift-framework, ios-animation
Timliu Ios
iOS开发常用三方库、插件、知名博客等等
Stars: ✭ 10,898 (+3532.67%)
Mutual labels:  swift-framework, ios-animation
Avatarimageview
DEPRECATED!!! --- Use https://github.com/neone/NDAvatarApp
Stars: ✭ 257 (-14.33%)
Mutual labels:  ios-lib, ios-ui
Taniwhatextfield
My first cocoapod framework
Stars: ✭ 26 (-91.33%)
Mutual labels:  swift-framework, ios-ui
Parade
Parallax Scroll-Jacking Effects Engine for iOS / tvOS
Stars: ✭ 754 (+151.33%)
Mutual labels:  swift-framework, ios-ui
FacebookMessengerActivity
Share with Facebook Messenger App.
Stars: ✭ 16 (-94.67%)
Mutual labels:  ios-ui, ios-lib
Sequents
A simple continuous animation library for iOS UI.
Stars: ✭ 31 (-89.67%)
Mutual labels:  swift-framework, ios-ui
circularProgressBar
This repo contains a demo app for circularProgressBar.swift
Stars: ✭ 17 (-94.33%)
Mutual labels:  ios-animation, ios-ui
Lmmediaplayer
A video and audio player with replaceable UI component.
Stars: ✭ 183 (-39%)
Mutual labels:  ios-lib, ios-ui
extensions-kit
📦 Collection of Swift+Apple Frameworks extensions for speeding up software development [iOS & iPadOS].
Stars: ✭ 71 (-76.33%)
Mutual labels:  swift-framework, ios-ui

KDIntroView

Installation

To install it, simply add the following line to your Podfile:

pod 'KDIntroView'

or drag these files into the project

KDIntroView.swift
KDIntroViewController.swift

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8.0

Introduction

KDIntroView is a framework to create dynamic onboarding views(onboarding flows) for your iOS App. You can create all sorts of cool animations.

Start!!!

  • Step One

Create all the views you need as xibs. Link each xib file with a class that inherits KDIntroView. Override moveEverythingAccordingToIndex(index: CGFloat).

Design your interface as you wish. This framework works for both code generated UI and autolayout.

Make sure each view has a clear background color if you wish to perform color change.

  • Step Two

Create a ViewController that inherits KDIntroViewController. (don't forget to import KDIntroView)

In viewDidAppear, call setup, and pass in an array that contains the name of all the xibs you created. Arrange them in the order you with them to appear. Override moveEverythingAccordingToIndex(index: CGFloat).

Now, you can see your views, but they are static.

  • Step Three

Implement the moveEverythingAccordingToIndex(index: CGFloat) in each view. The index: CGFloat variable is the offset of the scroller. In the first and the last view, index: CGFloat range from 0 ~ frame.width. In all the other views, index: CGFloat range from 0 ~ 2 * frame.width.

We have build-in functions, but you can easily customize your animation with CGAffineTransformation. There are more example in the demo project.

Also implement the moveEverythingAccordingToIndex(index: CGFloat) in viewcontroller to perform color animation and touchable elements. All the touchable elements must be added in the view controller and call view.bringSubviewToFront() after setup to make them reachable.

You can literally create any kind of animation! Play around with it, and free your imagination!

Author

Kedan Li, TakefiveInteractive.com

License

KDIntroView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].