在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):AbhimanyuForiOS/GoogleNewsStandAnimation开源软件地址(OpenSource Url):https://github.com/AbhimanyuForiOS/GoogleNewsStandAnimation开源编程语言(OpenSource Language):Swift 100.0%开源软件介绍(OpenSource Introduction):GoogleNewsStandAnimationIt is same like Google News Stand Animation with Customise Configuration file in Swift iOS Technology. This is the hot spot animation (with 4 swipe Gestures up,Down,Left,right) where user can see his/her information in only single page rather than making multiple views for showing data with Header card + Header card Detail . Suppose you want to search a weather report of 4 cities A,B,C,D Respectively . UP/DOWN Swip Gesture Use . 1.User can se A header + A header detail on the same view when he/she will swip the view Up & Down on same screen with animation.(no need to create extra views) 2.User can se B header + B header detail on the same view when he/she will swip the view Up & Down on same screen with animation.(no need to create extra views) 3.User can se C header + C header detail on the same view when he/she will swip the view Up & Down on same screen with animation.(no need to create extra views) 4.User can se D header + D header detail on the same view when he/she will swip the view Up & Down on same screen with animation.(no need to create extra views) Left/Right Swip Gesture Use .
2.When user will swipe Right from D section he/she can see next neighbour C Section and it will done till end A Section respectively with Animation effect. So by this approach here we gave only 4 views in a scroll container which is doing work of 8 table view listing with beautiful animation effect . Step 1:- Go to your ViewController File and hide "Navigation Bar" for that "ViewController" Step 2:- Register Delegate in front of your "ViewController":- class ViewController: UIViewController,AnimatorCardDelegate,AnimatorTableDelegate { } Step 3:- Register Delegate Methods in to your ViewController:-
Step 4:- Finally Initialize your Animator in "viewDidLoad()" method of "ViewController":- //1. initialize animator
//2. Or you can initialize animator with CARDS( you can configure your cards like this also):-
Step 5:- 6 Cards are Limit of this NewsStand. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论