I have learned a lot more after I started to ditch Storyboards and just write everything in code, lots more control and more fun. Not using Storyboards never really crossed my mind until i started watching your videoes. Keep up the good work with your high quality vidoes.
Yep, I used to use Storyboards a lot. But after a while it becomes really clunky and unnecessary when you know how everything works with code. Glad to have you on board.
Quite agree. But the project organization becomes hard once the application becomes increasingly greater because the declaration of variables (views). The solution that seems to be effective is to use the extensions. Unfortunately they do not allow the computed properties.
Just finished this episode and everything is running good so far. Thank you for your hard work you're putting into these tutorial videos here on RUclips. You've taught me so much, especially when it comes to best practices and code structuring and working without the Storyboard, which I'm starting so prefer (wasn't a big fan of the Storyboard from the beginning).
Thank you very much for your sharing. Just encounter an issue. It seems that the slider thumb jumps between the slider value set by addPeriodicTimeObserver and the other one by .valueChanged event. Besides, I actually have found that .valueChanged does not work properly, not sure whether .touchUpInside is the right event type.
Quickblox webrtc Video Chat or Twilio Video Chat tutorial would be awesome...especially if they worked in conjunction with the firebase users we created!
May I suggest Quickblox over twilio as they don't require you to setup outside servers via ngrok localtunnel etc...but yes Webrtc is the future and really cool...thanks a lot for the tutorial so far!
I have a question. I'm a beginner of Swift. I just started Swift three months ago. I don't completely understand even the usage of Storyboards. In the meanwhile, I saw your tutorial and your tutorial is very instructive. So should I learn how to use Storyboards, or ditch Storyboards and focus on mastering your coding style? It’s really helpful for other to answer my question. Thank you.
Working with very simple projects, you'll encounter much more storyboard usage. As your apps get more sophisticated, you'll need to know how to use both approaches. I've been coding for a long long time so I don't need the help of visual editors to build out applications. Having said that, Storyboards are really useful and will help you go very far.
Where can I find the episodes that show how to build the bottom portion of the VideoLauncher view? Episode 19 only explains how to build the video player.
Hey, how do you teach yourself to do this? Like, where do you learn from? I learn from videos like yours and online tutorials. Maybe you just figure it out?? Thank you!
I check out those as well. I was just thinking maybe you know some other sources but I guess the knowledge just come with time and experience. Trial & Error.
The demo doesn't show the slider moving with the video progress. IF you change the video position while a video is playing, this creates havok on the uislider, especially when testing on a device
Great channel mate, really appreciate it. I am quite new to Swift and want to create an app where people can upload pictures to it (and also rate up/down pictures), similar to Instagram and Tumblr. I've tried googling tutorials for it without success. What should I google? Where can I find such tutorials? Is this kind of app tricky to make? Cheers buddy.
It's lost in the black abyss that is my project folders. I haven't updated it for Swift 3 so it doesn't compile. Moreover, the code isn't very pretty so its hard to understand.
I keep getting this error when running my code Double value cannot be converted to Int because it is either infinite or NaN It highlights it at this line of code let secondsText = Int(seconds) % 60
I do this in Swift4. It work. if let duration = player?.currentItem?.asset.duration { let seconds = CMTimeGetSeconds(duration) let secondsText = Int(seconds.truncatingRemainder(dividingBy: 60)) videoLengthLabel.text = "00:\(secondsText)” }
Hi guys. Who can help me to fix this Warning: "Setter for 'isStatusBarHidden' was deprecated in iOS 9.0: Use -[UIViewController prefersStatusBarHidden]" UIApplication.shared.isStatusBarHidden = true
If Someone is looking for solution of jumping UISlider. Then just paste following code after slider value change. //To Avoid Jumping Of The UISlider seekBar.value = value UIView.animate(withDuration: 0.2) { [weak self] in self?.seekBar.layoutIfNeeded() }
I have learned a lot more after I started to ditch Storyboards and just write everything in code, lots more control and more fun. Not using Storyboards never really crossed my mind until i started watching your videoes. Keep up the good work with your high quality vidoes.
Yep, I used to use Storyboards a lot. But after a while it becomes really clunky and unnecessary when you know how everything works with code. Glad to have you on board.
Quite agree. But the project organization becomes hard once the application becomes increasingly greater because the declaration of variables (views). The solution that seems to be effective is to use the extensions. Unfortunately they do not allow the computed properties.
You are a PRO. This really helped me to put some audio controls in my simple app. Thank you Brian.
Just finished this episode and everything is running good so far. Thank you for your hard work you're putting into these tutorial videos here on RUclips. You've taught me so much, especially when it comes to best practices and code structuring and working without the Storyboard, which I'm starting so prefer (wasn't a big fan of the Storyboard from the beginning).
Cool video helped me with my personal project
Amazing tutorial, Brian!
awesome tutorials its very helpful
This was mmmmh mmmhhh good!
Awesome video, thanks! Does anyone know how to get a smoother scrub?
Thank you very much for your sharing. Just encounter an issue. It seems that the slider thumb jumps between the slider value set by addPeriodicTimeObserver and the other one by .valueChanged event. Besides, I actually have found that .valueChanged does not work properly, not sure whether .touchUpInside is the right event type.
App builder addict!
not a bad addiction !!
Quickblox webrtc Video Chat or Twilio Video Chat tutorial would be awesome...especially if they worked in conjunction with the firebase users we created!
Yeah, I'll have to look at how WebRTC works, this is something I'd like to learn myself.
May I suggest Quickblox over twilio as they don't require you to setup outside servers via ngrok localtunnel etc...but yes Webrtc is the future and really cool...thanks a lot for the tutorial so far!
Brian, 好料 !!
谢谢
line number 71 is not running in swift 4
please give me a solution
Please provide the episode 19
Please make a video how to seek in Core animation using UISlider
I have a question. I'm a beginner of Swift. I just started Swift three months ago. I don't completely understand even the usage of Storyboards. In the meanwhile, I saw your tutorial and your tutorial is very instructive. So should I learn how to use Storyboards, or ditch Storyboards and focus on mastering your coding style? It’s really helpful for other to answer my question. Thank you.
Working with very simple projects, you'll encounter much more storyboard usage. As your apps get more sophisticated, you'll need to know how to use both approaches. I've been coding for a long long time so I don't need the help of visual editors to build out applications. Having said that, Storyboards are really useful and will help you go very far.
Thanks for your reply. Ok I also study the usage of storyboard.
David Hey, how is your studies going? Where are you studying? Is it a boot camp or one of these online courses like Udacity or Cousera?
Where can I find the episodes that show how to build the bottom portion of the VideoLauncher view? Episode 19 only explains how to build the video player.
Hey, how do you teach yourself to do this? Like, where do you learn from? I learn from videos like yours and online tutorials. Maybe you just figure it out?? Thank you!
Doing this for more than a decade, digging through documentation isn't that difficult.
Which documentation? Just swift? or do you go to multiple libraries?
Apple docs + StackOverflow
I check out those as well. I was just thinking maybe you know some other sources but I guess the knowledge just come with time and experience. Trial & Error.
The demo doesn't show the slider moving with the video progress. IF you change the video position while a video is playing, this creates havok on the uislider, especially when testing on a device
I believe the next video addresses the video progress right? Have you clicked and watched that video yet?
Great channel mate, really appreciate it. I am quite new to Swift and want to create an app where people can upload pictures to it (and also rate up/down pictures), similar to Instagram and Tumblr. I've tried googling tutorials for it without success. What should I google? Where can I find such tutorials? Is this kind of app tricky to make? Cheers buddy.
Check out Tutorial by Rob Percival on Udemy.
Hi, Can you please do a tutorial on sliding the AVPlayer to bottom left of the screen as we have in youtube app?
There's a lot of trickery going with a UIPanGestureRecognizer I believe. Not sure if I want to go through all the weirdness of that code.
If possible can you please share me your code? I'll try to study it. It would be a great help if can do it.
It's lost in the black abyss that is my project folders. I haven't updated it for Swift 3 so it doesn't compile. Moreover, the code isn't very pretty so its hard to understand.
I'm streaming an audio file but I get nan when I try to print out CMTimeGetSeconds(duration). Please how do I fix this?
Brain, have you decided to discontinue to firebase series?
I'm doing further research on achieving push notifications using a node server. Let's see if I can put this together...
love you bro!
Firebase have an push notifications model..
Can't that be integrated directly..
I keep getting this error when running my code
Double value cannot be converted to Int because it is either infinite or NaN
It highlights it at this line of code
let secondsText = Int(seconds) % 60
I do this in Swift4. It work.
if let duration = player?.currentItem?.asset.duration {
let seconds = CMTimeGetSeconds(duration)
let secondsText = Int(seconds.truncatingRemainder(dividingBy: 60))
videoLengthLabel.text = "00:\(secondsText)”
}
@@Smilec-w5k comment section is the best. thank you
Helo could I do with video chromecast
Not exactly sure what you mean.
A video to learn chromecast
I see, I haven't looked at the chromecast apis, nor do I own a chromecast so I'm not sure if I'll put out videos for chromecast.
How to save video in local storage from AVPlayer.
Hi guys. Who can help me to fix this Warning: "Setter for 'isStatusBarHidden' was deprecated in iOS 9.0: Use -[UIViewController prefersStatusBarHidden]"
UIApplication.shared.isStatusBarHidden = true
Hi, I have a cocoa touch static library and want him to receive remote notification.
(It works like this: it's an app inside the other)
it's possible?
Remote notifications take a lot to integrate.
If Someone is looking for solution of jumping UISlider. Then just paste following code after slider value change.
//To Avoid Jumping Of The UISlider
seekBar.value = value
UIView.animate(withDuration: 0.2) { [weak self] in
self?.seekBar.layoutIfNeeded()
}