You do your IF ELSE statements the same way I do. Nice to see someone who's code looks like mine. Thank you for the video. I'm busy reading the controller view documentation now and this helped a lot in understanding what they're talking about.
Hi... great tutorial! Helped a lot. I am new to coding and I don't understand what a container app is. All the identical apps put together in one app is what I find on searching. Can you please explain it in detail and post a video how it can be done... Thank you in advance!
I think you are referencing container controllers? Container apps - that include sub apps are not allowed per Apple developer guidelines. Or are you thinking of React Native container apps that render web components? The term "container" is very generic haha
@@iOSAcademy Thank you for replying 😊I developed music apps and submitted 3 apps to the appstore without any difficulty... but when I submitted the 4th app, I got a mail from apple. It says "We noticed that your app provides same feature set as other apps submitted to the app store; it simply varies in content or language, which is considered a form of spam." "When creating multiple apps where content is the only varing element, you should offer a single app to deliver differing content to costumers." Can you please explain what this means and how to implement it. If I choose to stuff everything in a single app, it wouldn't solve my purpose and the app would be too big
I know you did it for the purpose of explaining the concept, but why would you not just change the backgroundcolor of the base ViewController when the button is tapped. In other words, what is the benefit of having two different VCs?
@@iOSAcademy I see. The thing I can't really understand is when I comment // addChild(secondVC) // addChild(thitdVC) // secondVC.didMove(toParent: self) // thitdVC.didMove(toParent: self) and leave only self.view.addSubview(secondVC.view) self.view.addSubview(thitdVC.view) secondVC.view.frame = self.view.bounds thitdVC.view.frame = self.view.bounds thitdVC.view.isHidden = true Everything remain working.
Question: when you add something in story board, does story board generate codes to the file so we can make further adjustments in code to what story board added? or the code is hidden which is added by story board? (code view and storyboard not interacting each other?)
Howdy! Great material! I had a question, I have a scene with two VC's, I have a three Segmented Controller on the main VC, I'm trying to set up the 3rd button to navigate to a 2nd view controller. I have a switch setup, I need to set case 3: to navigate to the 2nd controller. I'm having difficulty trying to find any answers. Thx for any feedback!
If I understand your question correctly, what you'll need to do is override the views for the child view controllers in loadView function. Those views are simply the view of the child View controller. ie: childVC.view - so update it internally there.
I need this thanks. but the movement of the screen is too annoying because it makes me distracted. it would be so much better if you make it static with bigger font. thanks again
Thank you for helping me grasp the concept of the Container View so quickly.
Thanks a lot your tutorial helped me a lot..!!!
Your welcome
Will it swipe? if i drag viewcontroller instead of tabs?
Great.. to the point
Thanks
You do your IF ELSE statements the same way I do. Nice to see someone who's code looks like mine. Thank you for the video. I'm busy reading the controller view documentation now and this helped a lot in understanding what they're talking about.
Keep making these vida
I plan on it :)
trying to connect to the outlets in the container view but they appear nil. Do you know the reason behind it?
I needed this thx
Your welcome!
Hi... great tutorial! Helped a lot.
I am new to coding and I don't understand what a container app is. All the identical apps put together in one app is what I find on searching. Can you please explain it in detail and post a video how it can be done...
Thank you in advance!
I think you are referencing container controllers? Container apps - that include sub apps are not allowed per Apple developer guidelines. Or are you thinking of React Native container apps that render web components? The term "container" is very generic haha
@@iOSAcademy Thank you for replying 😊I developed music apps and submitted 3 apps to the appstore without any difficulty... but when I submitted the 4th app, I got a mail from apple. It says
"We noticed that your app provides same feature set as other apps submitted to the app store; it simply varies in content or language, which is considered a form of spam."
"When creating multiple apps where content is the only varing element, you should offer a single app to deliver differing content to costumers."
Can you please explain what this means and how to implement it. If I choose to stuff everything in a single app, it wouldn't solve my purpose and the app would be too big
Amazingg!! thankyouu
Youre welcome
thanks
I know you did it for the purpose of explaining the concept, but why would you not just change the backgroundcolor of the base ViewController when the button is tapped. In other words, what is the benefit of having two different VCs?
nice!!
Thanks
is there a way to do segmented controls with only 2 view controllers?
Yep, use containers
What is the difference between addChild(secondVC) and self.view.addSubview(secondVC.view)? Thanks
One is the controller itself and the other is its view
@@iOSAcademy I see. The thing I can't really understand is when I comment
// addChild(secondVC)
// addChild(thitdVC)
// secondVC.didMove(toParent: self)
// thitdVC.didMove(toParent: self)
and leave only
self.view.addSubview(secondVC.view)
self.view.addSubview(thitdVC.view)
secondVC.view.frame = self.view.bounds
thitdVC.view.frame = self.view.bounds
thitdVC.view.isHidden = true
Everything remain working.
How can I do that without a storyboard?
Question: when you add something in story board, does story board generate codes to the file so we can make further adjustments in code to what story board added? or the code is hidden which is added by story board? (code view and storyboard not interacting each other?)
great work ! keep the good ones coming !
Thanks! Much appreciated.
Howdy! Great material! I had a question, I have a scene with two VC's, I have a three Segmented Controller on the main VC, I'm trying to set up the 3rd button to navigate to a 2nd view controller. I have a switch setup, I need to set case 3: to navigate to the 2nd controller. I'm having difficulty trying to find any answers. Thx for any feedback!
Thanks! What is the issue you are having? You should add a 3rd item to the segment and another contained vc
I have one question: what’s happens when your views that you are switching are connected to a swift file because then it doesn’t work
If I understand your question correctly, what you'll need to do is override the views for the child view controllers in loadView function. Those views are simply the view of the child View controller. ie: childVC.view - so update it internally there.
why typing viewcontroller.swift rather than moving a mouse cursor 2 centimeters? beginners will not even understand where it is
I can't put a container in a .xib?
You can
I need this thanks. but the movement of the screen is too annoying because it makes me distracted. it would be so much better if you make it static with bigger font. thanks again
Thanks for watching and the great feedback :)