UIPageViewController Tutorial

  Рет қаралды 46,963

Code Pro

Code Pro

Күн бұрын

Пікірлер: 43
@CodePro
@CodePro 5 жыл бұрын
At 4:22 make sure to add an additional property to the DataViewController var index: Int? This is used later on when assigning the index for the presented view controller.
@eladeforwa
@eladeforwa 4 жыл бұрын
Thank you : ) I came to the comment section to look for it😊
@diglan78
@diglan78 3 жыл бұрын
Cool tutorial
@judeiyoha6695
@judeiyoha6695 4 жыл бұрын
Nice tutorial video. Please how can i make it autoscroll?
@Fauzi-zk7jf
@Fauzi-zk7jf 5 жыл бұрын
Thank you! I'm already liked and subscribed! Is possible to change the position page control from bottom to above? If possible, How? Is possible to change the size or shape of page control dots? How?
@satishmavani21
@satishmavani21 4 жыл бұрын
let me know if you have found anything
@arkadijsmakarenko9212
@arkadijsmakarenko9212 4 жыл бұрын
Good stuff ! how to make auto start with Timer?
@reignover17
@reignover17 2 жыл бұрын
this is the most fucking tricky thing i've seen in iOS. thanks a lot!
@diegocruz6406
@diegocruz6406 4 жыл бұрын
It works for iOS 12 or lower?
@yanchengcheok
@yanchengcheok 4 жыл бұрын
In the video, it doesn't explicitly show that, DataViewController needs to be the custom class for Storyboard's newly added ViewController. So, the missing step might not be obvious to newbie. Thanks anyway for this great tutorial video. My entire day of watching and following this video is well spent :-)
@olavmartiniustomter5170
@olavmartiniustomter5170 4 жыл бұрын
This might be the problem I have, where did you out the class DataViewController in the storyborad? :)
@nishads4357
@nishads4357 5 жыл бұрын
Your newest student and subscriber.. i am gonna build a tent here and learn all these things..
@eladeforwa
@eladeforwa 4 жыл бұрын
Thanks for this tutorial It has help me a lot..!
@eladeforwa
@eladeforwa 4 жыл бұрын
Please how can I make the pages change on button click?
@sankalpa4477
@sankalpa4477 4 жыл бұрын
is it necessary to put UIPageControl.appearance() in appDelegate? Is there anything wrong in using it in viewDidLoad() in the same ViewController?
@elliotthgilmore6975
@elliotthgilmore6975 3 жыл бұрын
how would you add images to each view controller as well?
@LarsVision
@LarsVision 5 жыл бұрын
Amazing tut. Still slowly working thorough it. But, I noticed that you don't show how the DataViewController xib is connected the to subclass code. I could not use the assistant editor because the nib class was not set to DataViewController class. I remembered to link it in the inspectors panel.
@schelbinerik
@schelbinerik 4 жыл бұрын
Hello, I incorporate the code to a current project and I am calling it from a Table View, every tome that I run it show me an error: "Can't add self as subview". What must I need to change in your current code to avoid it?
@thisisalsonotreal9245
@thisisalsonotreal9245 5 жыл бұрын
Getting a lot of errors even when I follow your code word for word....for instance, in line 66 of your code at 17:08, it says "Cannot assign to property: 'index' is a method". Can you please explain this?
@CodePro
@CodePro 5 жыл бұрын
Did you make sure to create a property named index on your DataViewController? That would need to be an Int property so you can assign the index: Int to it on line 66.
@LarsVision
@LarsVision 5 жыл бұрын
@@CodePro I don't see where you added the index property. You can add the correction (errata:) to the comments, to save your viewers from unnecessary checking for errors. thx
@CodePro
@CodePro 5 жыл бұрын
@@LarsVision Yep you are correct, I believe I added that back afterwards but not at the start of the video. Will update in the comments.
@akshaym5362
@akshaym5362 5 жыл бұрын
Is dis working fine in swift 4 ?
@tonys5631
@tonys5631 3 жыл бұрын
Hi, This tutorial doesn't fully function in swift 5. It doesn't show the page control at the bottom of the page.
@rgenericson5361
@rgenericson5361 5 жыл бұрын
Awesome!
@akshaym5362
@akshaym5362 5 жыл бұрын
can u put d complete code ?
@codewithmunashe4274
@codewithmunashe4274 3 жыл бұрын
I copied your code but it shows that the screen is trying to scroll but its just not going to the next page , please share source code to make it easier
@mohmmedAlSaPlel
@mohmmedAlSaPlel 5 жыл бұрын
Thank you
@mohmmedAlSaPlel
@mohmmedAlSaPlel 5 жыл бұрын
Is it possible to get a full code?
@CodePro
@CodePro 5 жыл бұрын
Yes it is, I provide full source code access for my supporters on Patreon.
@mohmmedAlSaPlel
@mohmmedAlSaPlel 5 жыл бұрын
@@CodePro Thank you how I can get source code to try it better
@zohaibahmad7082
@zohaibahmad7082 5 жыл бұрын
Value of type 'WelcomePageViewController' has no member 'descriptionDataSource' Getting this error after setting the delegate. Please help
@DonaGanz
@DonaGanz 5 жыл бұрын
I find this unnecessarily difficult to follow through - it doesn't really explain the WHY of doing certain things. Just wanted to give some feedback for future reference.
@andrew_espinosa
@andrew_espinosa 4 жыл бұрын
Feel the same way
@RicardoFoxPB
@RicardoFoxPB 5 жыл бұрын
Is it like on the last page to go back to the first page, making an infinite loop? And also how to put image with a link, in case would use a button right? What I need to change in the code to make it happen
@andrewkestler9078
@andrewkestler9078 2 жыл бұрын
DARK MODE
@yanchengcheok
@yanchengcheok 4 жыл бұрын
Thanks for the tutorial. It is very useful to me, especially for someone just switches from Android to iOS dev. I notice there might be a minor mistake in line 116 : kzbin.info/www/bejne/nnqwg6GVgcmphck Instead of "if currentIndex == dataSource.count", isn't it should be "if currentIndex == dataSource.count-1"?
@ironicannoyed5625
@ironicannoyed5625 3 жыл бұрын
you didn't clear about the errors in this tutorial that we have to face, worse part of this tutorial
UISearchController Tutorial
27:58
Code Pro
Рет қаралды 18 М.
iOS Swift Tutorial: Programmatic and Storyboard Segues
16:47
Code Pro
Рет қаралды 46 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 206 МЛН
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 49 М.
Onboarding with the UIPageViewController (Swift/iOS)
17:51
Swift Arcade
Рет қаралды 16 М.
Custom View Controller Transitions
35:21
Code Pro
Рет қаралды 26 М.
Working with PageControl and UIScrollViews! (Swift 4 in Xcode 9)
11:39
Objective C Classes
32:29
Code Pro
Рет қаралды 10 М.
#17 UIPageControl. уроки UIKit
16:11
justaSid
Рет қаралды 3 М.
iOS Unit Test Mocking Tutorial
24:50
Code Pro
Рет қаралды 27 М.
UIPAGEVIEWCONTROLLER Tutorial
19:44
Rebeloper - Rebel Developer
Рет қаралды 11 М.