Тёмный
No video :(

iOS Dev. #3 - UIPageViewController & UIPageControl Tutorial in Storyboard Swift 3.0 Xcode 8 

EEEnthusiast
Подписаться 41 тыс.
Просмотров 35 тыс.
50% 1

In this tutorial on iOS Development, we are looking at UIPageViewController and UIPageControl which are very often used to create tutorial screens inside of applications. This practice is common, yet fairly poorly documented by Apple using Swift and Objective-C. I’ll be walking you through a full storyboard implementation of the UIPageViewController as well as three distinct UIViewControllers which it will be scrolling through. I’ll aalso show you how to properly implement the protocols associated with this controller.
Thank you for your contributions to my projects. With your help, I am able to showcase, teach and inspire people all over the world!
Patreon: / ee_enthusiast
Get in touch:
Facebook: / eeenthusiast
Twitter: / ee_enthusiast
Website: eeenthusiast.com
GitHub: github.com/VRo...
Personal website: vladromanov.com
Software:
github.com/VRo...
Relevant Links:
UIPageViewController Documentation: developer.appl...
Relevant Search Terms:
EEEnthusiast, Vladimir Romanov, Vlad, UIPageViewController, iOS Tutorial, uipageviewcontroller swift, uipageviewcontroller tutorial, uipageviewcontroller xcode 8, uipageviewcontroller swift 3, pageviewcontroller swift, pageviewcontroller tutorial, swift tutorial for beginners, swift tutorial xcode 8, swift tutorial ios 9, swift storyboard tutorial, swift page control, swift page based application, ios swift development tutorial for beginners, ios development swift 3, ios development swift 3 tutorial, swift 3 ui, xcode 8 auto layout, xcode 8 storyboard tutorial, ios programming tutorial for beginners, ios profile and device management, xcode programming tutorial

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@DSJboyz
@DSJboyz 6 лет назад
I literally never comment on RU-vid videos but you’re actually such a legend. Thanks man
@robosatch
@robosatch 7 лет назад
Thank you soooo much for this! All the better known tutorials on this topic don't work when it comes to displaying the page indicators (dots) on the bottom. This is the first one I came across after some serious searching, that FINALLY solved the problem for me. Thanks man!!!
@pepinoveloz
@pepinoveloz 3 года назад
Fantastic tutorial. The dots in the iphone SE where not shown with my approach (adding directly the PageController component in the ViewController avoiding the use of PageViewController). With your solution the PageControll dots are shown properly in every device. Thank you!
@k6unal
@k6unal 4 года назад
Great tutorial and your are right there's is not much help online in regards to UIPageViews. Thanks for the video.
@developerios6096
@developerios6096 7 лет назад
I was struggling figuring out how to use this control. Thank you a lot, you definitely saved me.
@eggsonyoutube
@eggsonyoutube 7 лет назад
I searched this everywhere and this was the one that helped me a lot. Thnks!
@sardarsaqibkhan4911
@sardarsaqibkhan4911 5 лет назад
very help full tutorial
@florianseidl6097
@florianseidl6097 7 лет назад
Very helpful tutorial! Thanks a lot! There are very few tutorials for swift 3. I really hope you keep making such videos.
@MrMaelzin
@MrMaelzin 7 лет назад
thanks!! You saved my life!! Please, continue teaching us
@lowerlowerhk
@lowerlowerhk 7 лет назад
Helpful tutorial, thx.
@saadirahman8331
@saadirahman8331 4 года назад
Very cool tutorial. thanks a lot man..
@liptherapy
@liptherapy 7 лет назад
1:53 in and already like this guy :)
@RobertPetras
@RobertPetras 6 лет назад
👍 Thank you so much for this great tutorial on UIPageViewController!
@saramikac8368
@saramikac8368 7 лет назад
That was an excellent tutorial. Thank you for sharing
@lucywoika3549
@lucywoika3549 6 лет назад
So helpful and informative. Thank you!!
@thebellarose
@thebellarose 6 лет назад
Great video, very clear explanations. Thanks!
@writtenbybc
@writtenbybc 7 лет назад
ABSOLUTELY EXCELLENT!!! THANK YOU SO MUCH!
@gracetang1025
@gracetang1025 7 лет назад
Thank you for your tutorial!
@lucascordeiro7493
@lucascordeiro7493 7 лет назад
Thanks for the great tutorial!
@RodolfoRamos0
@RodolfoRamos0 7 лет назад
really like this tutorial. thank you for sharing knowledge!!!! subscribed!! ;)
@nickropes
@nickropes 6 лет назад
Thank you bro!
@amisma468
@amisma468 7 лет назад
thank you so much! this is one of the best tutorials I have come across on any swift subject. I am stuck though... It is telling me that I do not conform to the UIPageViewControllerDataSource...Considering your tutorial is more in depth than anything I can find on the web, I am a little confused on what I could be lacking. Especially since I have gone over this code excessively now at this point. Any help is appreciated. Thank you again for the video!!
@alikhavari8364
@alikhavari8364 7 лет назад
great video, thanks, been stuck how to move guide dots a bit upper, because I have a button there and I want to push dots a bit up...
@rayid4027
@rayid4027 6 лет назад
Ua just amazing Pal ......:::you helped me alot tysm ......:thus is called video 🙏🏻🙏🏻🙏🏻🙏🏻
@glockenspiel_
@glockenspiel_ 7 лет назад
Very useful! Thank you so much!
@idleappsinc1517
@idleappsinc1517 7 лет назад
Thanks alot! This really helped me :D
@kubapawelski3076
@kubapawelski3076 7 лет назад
thank you so much , great work :)
@rohitchawla6645
@rohitchawla6645 7 лет назад
Hi EEEEnthusiast , what a Awesome explaination.....just stucking on one thing that after the third tutorial if I scroll horizontal direction , it took me to first tutorial page.. How to stop this ?
@emmanuelogbewe2334
@emmanuelogbewe2334 7 лет назад
Great tutorial , could you please show how to make a custom camera similar to snapchat and incorporate it in the page view controller ?
@user-fo2im5qy6b
@user-fo2im5qy6b 7 лет назад
Fantastic content you got my friend. You explained this very thorough and I've learned a lot. I appreciate the work you've put into your videos. I'm making a step-by-step sign up page (like snapchat or airbnb) where the user enters one piece of information per page. After the user enters their info they would press continue which would open up the next view controller until the sign up is complete. I was curious on what you'd think would be the best approach in doing this? Should I just use a bunch of view controllers or is there a more efficient way?
@finnwlr
@finnwlr 7 лет назад
Great Video.
@mahmudislam86
@mahmudislam86 7 лет назад
Hey, Thanks for the video. I am getting the black screen, and I double checked for the class name in the PageVC. But still getting the blank screen. Where can I see your code?
@GruntyGunner
@GruntyGunner 6 лет назад
It's a great tutorial, but is there any way to preload the three view controllers before the user gets to them? There is a delay when switching screens when loading, but it swipes fine when it loads.
@eddiema6124
@eddiema6124 7 лет назад
Hi, Thanks for your video. I want to know how to pass value between child views when I scroll one page to another. Thanks in advance
@karlmorisset2186
@karlmorisset2186 7 лет назад
hi how are you i’m learning Xcode via udemy and youtube. and i like your UI view controller. suggestion on that video is that personally i would like to learn how to put the tutorial on page 2 on a different location let’s say. “tutorial 2” in constrained at the bottom second suggestion instead of making ui view controller that swipe right or left i would like to swipe up and down
@deeptichaudhari3770
@deeptichaudhari3770 6 лет назад
Hi, having one issue in this tutorial... if we are adding scrollview in pages viewcontrollers of UIPagerviewController, why viewcontroller does not scroll vertically? i m having 5 to6 view controolers which is of part of UIPagerview controllers, but the details in viewcontrollers are long, so i m using scrollview, but besides of using scrollview, the text is not scrolling, dont know whats going wrong... please give description on the same
@ghami2519
@ghami2519 7 лет назад
this is a wonderful video sir! thanks. I'm getting an error though: public func presentationIndex(for pageViewController: UIPageViewController) -> Int { guard let presentationIndex = ViewController?.first, let firstViewControllerIndex = VCArr.index(of: firstViewController) else { return 0 } on the presentation Index, ViewController says 'Typer 'ViewController?' has no member 'first'" what's the fix?
@kelvinfok
@kelvinfok 7 лет назад
Can you teach about closures? Asynchronous stuff. (:
@RahulPahuja1991
@RahulPahuja1991 7 лет назад
Thanks alot pal
@lucascordeiro7493
@lucascordeiro7493 7 лет назад
I have the same question. =) How could we add next/previous buttons?
@emojitechnologieslimited6574
@emojitechnologieslimited6574 7 лет назад
how do you get buttons to action on subview view controllers? The buttons on my subviews don't seem to work? Something to do with adding child views?
@maksimsavich7953
@maksimsavich7953 7 лет назад
Can you help me, please? How can I customize the dots?
@edstergadget5120
@edstergadget5120 7 лет назад
been stuck on how to make the scroll view of pages horizontal and vertical.. as snapchat.. any Idea on how?
@retrocoderss
@retrocoderss 5 лет назад
how to finish page and redirect to another ViewController
@ridwanputra72
@ridwanputra72 7 лет назад
thanks for your sharing ... i want to ask what can i do if i want to stop the scroll in last index when scrolling ?
@EEEnthusiast
@EEEnthusiast 7 лет назад
Excellent question. You could include an if statement in the PageViewController which would disable the feature if the element is the last one from the array.
@borisss96B
@borisss96B 7 лет назад
can you provide source code for that? I appreciate your effort :)
@jfkmedia1395
@jfkmedia1395 7 лет назад
return nil rather than array.last
@jfkmedia1395
@jfkmedia1395 7 лет назад
or array.first
@thomastupper2594
@thomastupper2594 6 лет назад
I followed this tutorial but am having trouble getting a programatically triggered. As an example, suppose I use: setViewControllers([myControllers.last], direction: .forward, animated: true, completion: nil) This will not fail, but neither will it result in paging. It would be nice if someone could explain what it is about this implementation that interferes with this.
@janaustinmagtoto3911
@janaustinmagtoto3911 7 лет назад
i really appreciate this video but it gives me a SIGABART error :( i don't know how to fix this. cant someone help me here? (newbie here)
@yousefbahar7076
@yousefbahar7076 6 лет назад
Hey, I've followed the code but am struggling to display the page indicator at the bottom of the pages, is there something obvious I may have missed?
@yousefbahar7076
@yousefbahar7076 6 лет назад
if anyone is having the same problem I had the transition style set to page and not scroll :)
@chriskelly9821
@chriskelly9821 7 лет назад
does anybody know how to move the position of the page view layout sub views (aka move the three dots at the bottom)
@haiderashfaq7437
@haiderashfaq7437 7 лет назад
How to add next and skip buttons?
@qahtanbajuayfir5796
@qahtanbajuayfir5796 7 лет назад
Hello i tread to create arry of instance of UIViewController and repeat the element 20 time. ass your video i implement the datatSourc and delegate to my PageVC class. every thing is ok but when i run the app. the simulator is black and storybord throw this error. (Main.storyboard: “InctancVC“ is unreachable because it has no entry points, and no identifier for runtime access via). * InctancVC is my instance of UIController i create it in storybord and repeat it in the array.
@qahtanbajuayfir5796
@qahtanbajuayfir5796 7 лет назад
in other way. Can i repeat the uiviewcontroller instance of create it in storybord ?
@hopperdietzel
@hopperdietzel 7 лет назад
You need to set the UIPageViewController as the first view, just check the "Is Initial View Controller" box
@allepiccondor1166
@allepiccondor1166 7 лет назад
i kept on getting sigabrt does anyone know how to fix it
@janaustinmagtoto3911
@janaustinmagtoto3911 7 лет назад
alright!! i already figured out why is that i wasn't able to run my program (this tutorial) i can't open the program if i'm just calling it from the main.storyboard and the program is on another storyboard... but if someone can help me to use this UIPageViewController out of the main.storyboard.... because i'm planning to put my login form to the main.storyboard then it has the sign up button then go to the signup.storyboard using these UIPageViewController.
@ErfanHossainShoaib
@ErfanHossainShoaib 7 лет назад
how use page view controller into a view controller???
@aldiyarualiyev
@aldiyarualiyev 6 лет назад
bro did you solve this problem?
@kwokpinglau2400
@kwokpinglau2400 6 лет назад
Erfan Hossain Shoaib use a container view
@mountainbikeriderzz3413
@mountainbikeriderzz3413 6 лет назад
I did it word for word (sry, i'am from Germany) 😅 but it stil dosnt work in Xcode ☹️ 14 Fails
@godwinebikwo6544
@godwinebikwo6544 5 лет назад
"big black.... bar "😅
@m424t
@m424t 7 лет назад
While this is pretty good, I don't think this will work with "dynamic" view controllers - view controllers that have their IBOutlets set at runtime. See this: stackoverflow.com/questions/12523198/storyboard-instantiateviewcontrollerwithidentifier-not-setting-iboutlets
@izonedotus
@izonedotus 6 лет назад
your eyes are really awesome Copy Paste Matters :P hehehe :D
@juanignaciox_
@juanignaciox_ 7 лет назад
Woho! Not an Indu
Далее
How to code in Swift | Swift Basics #1
18:25
Просмотров 45 тыс.
How to Animate a Button Menu (iOS, Xcode 8, Swift 3)
20:02
НЕ ИГРАЙ В ЭТУ ИГРУ! 😂 #Shorts
00:28
Просмотров 128 тыс.
Onboarding with the UIPageViewController (Swift/iOS)
17:51
S11 C12 Split View Controller
24:22
Просмотров 695
The Secret Science of Perfect Spacing
9:40
Просмотров 408 тыс.
13 Things To Remove From Your Website Immediately
12:33
UIPAGEVIEWCONTROLLER Tutorial
19:44
Просмотров 10 тыс.