Thanks, Brian! You are teaching things which are not easily available anywhere else.
@RobertHarrison6 жыл бұрын
Hey man not going to lie, I stumble upon your videos all the time looking for help with things in xcode and when I hear your chill intro I instantly know I can sit back and relax, because you solve all my problems everytime lol. Love the info, love the chill vibes, Love you
@NeverwinterMoon5 жыл бұрын
Great guide. But I have a question - why is this approach better than UIViewControllerTransitioningDelegate though? There, the code for animation is separate from anything else. In your example you call present with animation = false. While using UIViewControllerTransitioningDelegate you would call present before anything else with animation = true. And that would trigger animationController:forPresented or animationController:forDismissed implementation of UIViewControllerTransitioningDelegate
@fsdolphin6 жыл бұрын
Great tutorial, thanks a lot. For some reason, I didn't have to add the unwind method in the ViewController and the animation to go back works just fine, is this something new in iOS 11?
@bigmtnstudio7 жыл бұрын
This is brilliant, Brian. Thanks for this! Just what I needed!
@BrianAdvent7 жыл бұрын
Cool! Nice to hear that you could use the transitions for your own project!
@abcd987687 жыл бұрын
We need learn door opening animation which is AMAZING could you make a tutorial for that please bro ?!
@MohammedEnnabah8 жыл бұрын
Thanks a lot Brian. I have a question about this one, how can I make the scale begin from the button, like when I press on the button, It's actually scale from it not from the centre of the source VC. Thanks again for those great tutorials.
@seyhahiem45417 жыл бұрын
pretty good tutorial. could you guide to learn more detail about transitioning?
@roipropertypathfinderuae6 жыл бұрын
Hi Brian, I've watched your video and it work brilliant while you not put some elements to view controllers. In my case I've put one image view and it shows me error :Warning: Attempt to present on whose view is not in the window hierarchy! Is there an opportunity to fix it??
@secnate7 жыл бұрын
This fixed all the problems that have been frustrating me!!!
@mmtf8 жыл бұрын
I would like to requedt something. Could you elaborate on the things you do more generally. What the overriding function unwind does for ex? or when is it called? why did the program call it which of the actions youve done set the viewcontroller to call that function? Details like these are important to me. If you could be more explaining in the upcoming videos I'd be glad.
@bhagyashingale56636 жыл бұрын
How about using popToViewController ? Will it eliminate the code on the main view?
@davirv8206 жыл бұрын
This is a really good video, thank you for explaining in such detail. However I have tried to implement this going from a tab bar controller to a page view controller and I can't get it to work. Moving to the page controller works fine but when I unwind back to a controller in the tab bar the screen appears for a mili second then go's black. Any ideas what I have done from?
@samuelsenigl4 жыл бұрын
Just add this row: toViewController.modalPresentationStyle = UIModalPresentationStyle.fullScreen before: fromViewController.present(toViewController, animated: false, completion: nil)
@lapusan20086 жыл бұрын
great tutorial! I have one question: destination.view was added to src.view.superView. when animation completes, shouldn’t destination.view.removeFromSuperview() get called in the completion handler of UIView.animate function? thanks
@williamhuang60677 жыл бұрын
Hi Brian, I just tried not to override the unwind func, and the animation of dismissing works well exactly like if we override it. can you explain about it? why should we override it while it works fine if don't override it?
@krutomjer8 жыл бұрын
Amazing, thanks Brian. I now have to spend some more time on this so I can understand every thing in it.
@BrianAdvent8 жыл бұрын
I am glad you liked it and thanks for your motivating comments!
@krutomjer8 жыл бұрын
No problem, I truly appreciate what you're doing for the community.
@goblinnilgob97068 жыл бұрын
Thanks for the new tutorial. One suggestion; could you zoom to code while you record?
@wilsonbalderrama8 жыл бұрын
Thanks Brian I heard about this implementation but I've never implemented or seen it so thanks for sharing this useful video. I have a doubt in the class ScaleSegue line 52, I thought superview had to remove toViewController.view since this view is going to be removed but instead your inserting it.
@mmtf8 жыл бұрын
Wilson Raul Balderrama Gomez yes it is inserted but then the other is dismissed. dismissing i believe is the same with removing
@informaticlover95798 жыл бұрын
How to pass datas between vc (with or without nav VC)? Can you do a tutorial on it ,please?
@CrippleX897 жыл бұрын
Override prepareForSegue in the source viewcontroller and use: if let destination = segue.destination as? DestinationViewControllerClass { destination.property = value } That way, you can easily distinguish between different destinations, get the destination instance in its own type and set the required properties.
@rajaikumar98896 жыл бұрын
Can we do it without segue... I mean programmatically
@josephfrancis16727 жыл бұрын
Hey, how do I do the animation if viewController that is doing the segue is a child controller? I tried using "let source = self.source.parent!" ; it worked, but the segue is extremely slow.
@seanwei40255 жыл бұрын
how about push from right to left?
@thenhobes8 жыл бұрын
Hi Brian, love the intro to your videos. Any tips on creating something similar?
@BrianAdvent8 жыл бұрын
Thanks a lot! Do you mean the door animation?
@thenhobes8 жыл бұрын
Actually, I mean the intro from 0:00 to 0:03 :)
@BrianAdvent8 жыл бұрын
It was created in After Effects. Maybe this helps you too: lesterbanks.com/2014/07/easily-creating-accented-geometric-explosions-effects/
@thenhobes8 жыл бұрын
Thank you, Brian!
@bioshock147 жыл бұрын
Can you do a tutorial in regard to the door animation or can you point me in the right direction of where I can learn this, thank you.
@kasunNimanthaHewawas7 жыл бұрын
after segue second view controller delegate methods call twice.How to fix that ?
@699088g7 жыл бұрын
Great tutorial!
@marcb3967 жыл бұрын
Simply Wonderful!
@ianvisorr8 жыл бұрын
Thanks Brian!
@aave8656 жыл бұрын
Thanks so much!
@alex7413214 жыл бұрын
You should show what you want to accomplish before jumping right into code
@guruitcompany8 жыл бұрын
Thank you, very beautiful👌
@MostafaSh17 жыл бұрын
you are the best !
@BrianAdvent7 жыл бұрын
Thanks Man!
@StellarCats7 жыл бұрын
thks for your video !
@ix901x7 жыл бұрын
I got black screen when I add TabBar , after dismissed Second Viewcontroller , Anyone know how to solve this problem ?
@samuelsenigl4 жыл бұрын
Try to add this row: toViewController.modalPresentationStyle = UIModalPresentationStyle.fullScreen before: fromViewController.present(toViewController, animated: false, completion: nil)
@mccsokinawaappdev6075 жыл бұрын
A+
@alexanderlester74556 жыл бұрын
I'm extremely surprised that I can't find any GitHub Repo containing a collection of different segues... Am I the only one experiencing this?
@donk72837 жыл бұрын
love your videos. but you really move fast without explaining why you do what you do. I guess you assume people know but they don't