Passing Data Between View Controllers (Swift 5, Xcode 12, 2020) - iOS Development

  Рет қаралды 20,847

iOS Academy

iOS Academy

Күн бұрын

In this video we will learn how to pass data between view controllers in a variety of ways and use cases. We will be working in Swift 5 and Xcode 12. We will also go over pros and cons of each approach with examples.
💻 Source Code: / iosacademy
🎥 Subscribe for more: www.youtube.co...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosaca...
#swift #passData #viewControllers
Join this channel to get access to perks, code, groups, and more:
/ @iosacademy
Join the iOS Academy Community: iosacademy.io/
** Get Skillshare free for 2 Months and learn iOS
www.skillshare...
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZbin tech channel with TubeBuddy:
www.tubebuddy....

Пікірлер: 39
@danifonts
@danifonts 3 жыл бұрын
Never stop doing this videos. You are the best. Your content helps us so much!!!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@eric9964
@eric9964 4 жыл бұрын
Very informative videos. I’ve seen plenty of the “passing data between view controllers” and no one goes in depth as much showing different use cases and in such an ordered manner. Great job
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thank you!
@mkang10
@mkang10 3 жыл бұрын
thank you, wish I could hit that like button twice
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thank you!
@ricolamoretti4515
@ricolamoretti4515 4 жыл бұрын
can't wait!!! I always wanted to know how to use the function in one viewcontroller in another viewcontroller
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Get excited!
@30guarino
@30guarino 4 жыл бұрын
This video is definitely a repeat to watch for me....a lot of great content! Thanks again
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome
@boggromaful
@boggromaful 4 жыл бұрын
Great !!! I think that I will have no time to watch this. Will be recording video?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yes, itll be posted
@cyberrage8658
@cyberrage8658 4 жыл бұрын
Just what I needed! Thanks
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome
@matejhantabal235
@matejhantabal235 3 жыл бұрын
yeah I'll destroy that like button! I'll click it twice just to be sure!
@nwigberimoses5837
@nwigberimoses5837 4 жыл бұрын
Great Video! Thank you
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome. Make sure to like & subscribe!
@TractorsFTW
@TractorsFTW 4 жыл бұрын
Great video, thanks :)
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome
@rdkutube
@rdkutube 2 жыл бұрын
Thank you for the video! I watched the other passing data video and am trying to apply the controller init to that code. How would I use storyboard?.instantiateViewController and pass the data during init of that controller?
@lokeshchinatatareddy1069
@lokeshchinatatareddy1069 3 жыл бұрын
How we will do in MVVM please do that
@jiyadesai4033
@jiyadesai4033 3 жыл бұрын
hi i am using Xcode 13 and i used your code however the tableview does not show up when I run the program. How can I fix it?
@run4ever102
@run4ever102 Жыл бұрын
Love your content! Just wanted to give some love to ya with a comment :) (btw it'd be cool if you'd offer a class, I would definitely sign up)
@iOSAcademy
@iOSAcademy Жыл бұрын
Check out iOS Academy+ iosacademy.io/plus
@majak1259
@majak1259 4 жыл бұрын
Should you even be passing data in view controllers ? What about separation of concerns?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Subjective. You can pass around models in VCs in my opinion. Using raw data is not advisable
@hulkxp3020
@hulkxp3020 3 жыл бұрын
how can I do this with switches?
@BalaaLyf
@BalaaLyf 4 жыл бұрын
Pass data :- Textfields :- we are entering 5 texts in viewcontroller 1 Labels :- what we entered texts it il be showing in 5 labels in viewcontroller 2 Save :- save data Again :- second time same repeat above other data.. It can be save it Output :- data 1 Data 2 displayed in labels viewcontroller 2.. Please sir make it
@shreeniwaaskatta6361
@shreeniwaaskatta6361 4 жыл бұрын
how to pass data viewcontroller to tableview using dictionaries take twotextfields in swift
@shreeniwaaskatta6361
@shreeniwaaskatta6361 4 жыл бұрын
i take two textfields one button how to pass data save in userdeaults in tableview
@BalaaLyf
@BalaaLyf 4 жыл бұрын
First data removed after entering the second data what can I do?
@tongpoo8985
@tongpoo8985 2 жыл бұрын
need timestamps
@Sela7000
@Sela7000 3 жыл бұрын
what is the way to pass data to xib file?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Outlets
@Sela7000
@Sela7000 3 жыл бұрын
@@iOSAcademy is there a tutorial about it?
@1stplace362
@1stplace362 3 жыл бұрын
why don't you ever share your codes at the end of the video??
@RockStarFrame
@RockStarFrame Жыл бұрын
You're a very master...but this is absolutely not for beginners...
@janmensik9150
@janmensik9150 2 жыл бұрын
Dislike
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 7 МЛН
SwiftUI - @Binding Property Wrapper Explained - Passing Data
6:22
UIViewController - Lifecycle | Swift | viewDidLoad
7:57
Sean Allen
Рет қаралды 41 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 250 М.
SwiftUI List with Custom Cell & Passing Data
36:27
Sean Allen
Рет қаралды 117 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 74 М.
How to Use Scroll Views in Xcode in 5 Minutes or Less
4:49
Kamryn Ohly
Рет қаралды 18 М.
SwiftUI - How to do Navigation in your Swift UI app
41:58
CodeWithChris
Рет қаралды 80 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 7 МЛН