That part @ 11:15 is REALLY important. I was making this mistake and couldn't figure out why my views weren't animating. Make sure to call the layoutIfNeeded() on the superview of the view you want to animate. Thanks Brian. U da man!
Great video. Every solution I was finding elsewhere was avoiding auto-layout which brought other problems in my app design. Thank you for sharing something so useful
BRIAN YOU'RE A FLIPPIN GENIUS! I've been stuck on this for ages 2 weeks almost. I had a bunch of custom ui buttons that I made and was using the frame.origin.x to move it around. BUT IVE FIGURED IT OUT WITH CONSTRAINTS. Btw I'm taking your next course! You the best
It most certainly is. Without the constraints the custom UIButtons animate all over the place in the wrong direction. Animation is much easier since you just apply the constraints and call layoutIfNeeded. Are you using a ContainerView to retain the state of each viewController in the slide out menu? Any plans on having a course that showcases different UI designs and what the best kind of interaction would be for each use case? For example custom sliders, dropdowns, draggable buttons, uigesturepan stuff etc? building up a library of you're own components I've said too much :)
There is a container view that holds both the right side and menu panel on the left. As we drag using a UIPanGestureRecognizer, we're simply manipulation the constraint constants. With the combination of animations and curves, we generate a really nice looking swiping menu system.
I am a big fan of you and have learnt a lot from your video. I hope you will value my request....Most of the applications have parallax effect...i always prefer not to use any third party library.... Please make a tutorial video...would be helpful to all your viewers and fans...
I'm having an issue where I'm animating a UIButton onto the screen from the top. The thing is that the background disappears when traveling through the safeAreaLayout zone while the text remains visible. Have you come across anything like this?
Great vid. Would be nice to get some more complex videos as well. I really like your content and way off teaching and would love for you to delve into some more advanced topics.
Thanks for the video! Could you please explain how to perform animations between, for example, 2 separate scroll views? I mean if i want to move UIImage from one SView to another with animation?
You would probably have to animate the presentation layer by using CGAffineTransform and then update the actual views by removing and adding the subviews to the new view when the animation finishes.. just a quick thought.
hi Brian, could you please make a tutorial to use Adcolony in our swift ios project , there isn't any tutorial for this, and the documentation of adcolony is not clear . thank you
Great videos. Just a friendly alternative solution to accessing the buttons function would be to add a parameter to the func, as follows: @objc func handleAnimate(sender: UIButton), with that you should be able to get rid of the Lazy variable and use let. Again great videos. keep up the great work.
Hey brian, i’m doing your instagram course at the moment. Besides i’m trying things out like animations. But i have a questions. Is this how you would do it in a real time project. ? Love your videos btw.
Hi. It used to be that if you tried to use self in the block that creates the image view you would get an error - telling you to use lazy var. But watching this you don't seem to any more. I wonder why that changed.
How a developer has to build the UI in Xcode to match the PSD perfectly in all screen size. ie if a design is built for iPhone x, which contains 5 visible cell of tableview in the PSD. How to use the Autolayout constraints such as it PSD matches for all screen size. Can you make a video for that ... Thank you :)
Animating buttons is the final touch to my app. And again, thank you Mr. Voong))
That part @ 11:15 is REALLY important. I was making this mistake and couldn't figure out why my views weren't animating. Make sure to call the layoutIfNeeded() on the superview of the view you want to animate. Thanks Brian. U da man!
It’s really important that you get all the small details correct. One tiny line of code that is missing can usually lead to a few hours of debugging.
You are magnificent man, keep up doing your staff. You make a huge difference!!!
Great video. Every solution I was finding elsewhere was avoiding auto-layout which brought other problems in my app design. Thank you for sharing something so useful
This video could not have been anymore perfectly timed!! You superstar :) AMAZING content as always.
I'm glad to see you again, Brian! Great lesson as always:)
BRIAN YOU'RE A FLIPPIN GENIUS! I've been stuck on this for ages 2 weeks almost. I had a bunch of custom ui buttons that I made and was using the frame.origin.x to move it around. BUT IVE FIGURED IT OUT WITH CONSTRAINTS. Btw I'm taking your next course! You the best
Excellent, the slide out menu course also uses constraints for animations. It’s a really helpful technique to learn.
It most certainly is. Without the constraints the custom UIButtons animate all over the place in the wrong direction. Animation is much easier since you just apply the constraints and call layoutIfNeeded. Are you using a ContainerView to retain the state of each viewController in the slide out menu?
Any plans on having a course that showcases different UI designs and what the best kind of interaction would be for each use case? For example custom sliders, dropdowns, draggable buttons, uigesturepan stuff etc? building up a library of you're own components
I've said too much :)
There is a container view that holds both the right side and menu panel on the left. As we drag using a UIPanGestureRecognizer, we're simply manipulation the constraint constants. With the combination of animations and curves, we generate a really nice looking swiping menu system.
I am a big fan of you and have learnt a lot from your video. I hope you will value my request....Most of the applications have parallax effect...i always prefer not to use any third party library.... Please make a tutorial video...would be helpful to all your viewers and fans...
Great videos Brian. You are the best. Looking forward from you some more complex and advance topics like Multithreading. Thanks.
Great video! How much do you use coreGraphics for custom control components? Such as subclass UIButton ?
Thanks so much Brian! Keep up the great work you are an amazing person!
thanks for videos Brian. Have you ever worked with iBeacons before? I wonder if big stores use it.
Whenever I watch your videos I always learn something new. and thanks for teaching the new trick :D
Great, thanks a lot!
Great! Helped me a lot, like every video!
Excelente! Estoy aprendiendo mucho de ti 😃😃. Gracias!
I'm having an issue where I'm animating a UIButton onto the screen from the top. The thing is that the background disappears when traveling through the safeAreaLayout zone while the text remains visible. Have you come across anything like this?
Thank you Brian!!
Great vid. Would be nice to get some more complex videos as well. I really like your content and way off teaching and would love for you to delve into some more advanced topics.
Love your work!!!!
I love your videos!!!!!!!!
So is the constructor a function? I new to iOS. Gonna take a udemy course on it though.
Thanks for the video! Could you please explain how to perform animations between, for example, 2 separate scroll views? I mean if i want to move UIImage from one SView to another with animation?
You would probably have to animate the presentation layer by using CGAffineTransform and then update the actual views by removing and adding the subviews to the new view when the animation finishes.. just a quick thought.
Thanks, man
hi Brian, could you please make a tutorial to use Adcolony in our swift ios project , there isn't any tutorial for this, and the documentation of adcolony is not clear . thank you
I have no idea what adcolony is.
Great videos. Just a friendly alternative solution to accessing the buttons function would be to add a parameter to the func, as follows: @objc func handleAnimate(sender: UIButton), with that you should be able to get rid of the Lazy variable and use let. Again great videos. keep up the great work.
Perfect tutorial!
+Albert Lu hi Albert long time no see
Hey brian, i’m doing your instagram course at the moment. Besides i’m trying things out like animations. But i have a questions.
Is this how you would do it in a real time project. ?
Love your videos btw.
I find there are many ways to build out your applications. I typically go with the easiest and most flexible solutions.
支持大佬,大佬加油,马上就要去北京找工作了,可是我的github就两个我个人做的开源项目,然后刷了点leetcode,我最怕问到线程的问题,大佬能否给点意见呢?
另外,大陆最近开始大力打击VPN !!!!!
Hi. It used to be that if you tried to use self in the block that creates the image view you would get an error - telling you to use lazy var. But watching this you don't seem to any more. I wonder why that changed.
This syntax has worked from Swift 1, 2, 3, 4. The lazy var compiler error is referring to something else.
Thanks for the clarification. I must have been doing something else wrong.
How a developer has to build the UI in Xcode to match the PSD perfectly in all screen size. ie if a design is built for iPhone x, which contains 5 visible cell of tableview in the PSD. How to use the Autolayout constraints such as it PSD matches for all screen size. Can you make a video for that ... Thank you :)
Designs should vary with screen sizes.
Please help me to explain about UIScrollView
+thien tran I rarely use uiscrollview
Hope you make video to instruduce UIScrollView
I would say that UIScrollView isn't needed 99% of the time.
thanks feedback from master.
Lol 5:25 420 blaze it
+Ryan Temple pass it
DOOOD!