Тёмный

Auto Layout Tutorial (2020) - Lesson 2 

CodeWithChris
Подписаться 599 тыс.
Просмотров 745 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,4 тыс.   
@CodeWithChris
@CodeWithChris 5 лет назад
Missing your storyboard? See: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ea9fCSXGhSU.html ⚡QOTD: Are you going to focus on iPhone or iPad? Let me know! 👇 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. ➡️ cwc.to/youtubeoffer
@boopang1000
@boopang1000 5 лет назад
for me, it's iphone
@davemills4211
@davemills4211 5 лет назад
iphone
@M.-.D
@M.-.D 5 лет назад
CodeWithChris will be designing a first app for both platforms. Resources are fantastic. Thanks for making great content.
@paperboxveigh
@paperboxveigh 5 лет назад
Probably for both!
@AlejandroAE-ph5zi
@AlejandroAE-ph5zi 5 лет назад
iPhone 8--)
@masonslushermusic
@masonslushermusic 4 года назад
I love how you’re actually teaching on here and not teasing us about teaching and then making us pay $20000 for a class THANK YOU!
@CodeWithChris
@CodeWithChris 4 года назад
Welcome. :) - Kat
@vinnysanoria7707
@vinnysanoria7707 4 года назад
@@CodeWithChris How to add assets pictures in button and label in Xcode11??
@insertusernamehere8125
@insertusernamehere8125 4 года назад
IKR
@mayaa6910
@mayaa6910 4 года назад
SOOO correct!
@uzumakilol1288
@uzumakilol1288 4 года назад
Why can't I get the "Sign in with Google" pictures from your websites after I signed in it sent me 2 emails and none have them
@anthonyalleyne7063
@anthonyalleyne7063 3 года назад
I only just finished the first two but I wanted to drop in and say that I really love these tutorials so far. They are easy to follow and I am so eager to move on to the others. On top of that you are there when I hit a road-block. Thank you for making them available and for your help.
@CodeWithChris
@CodeWithChris 3 года назад
You are so kind, Anthony! We can't thank you enough! :-) -Arthur
@TheAppleProfessional725
@TheAppleProfessional725 5 лет назад
I am focusing on iPhone. I want my app to look good on iPhone. Also since I am making a car racing game, there are a few more tabs here. There is something called App delegate, Game Scene, Gameview controller and stuff like that. Also, this tutorial is really good. Thanks to you I have built a good looking user interface for my app. Thank you again.
@CodeWithChris
@CodeWithChris 5 лет назад
Good luck on the game project! @AdrienVillez
@TheAppleProfessional725
@TheAppleProfessional725 5 лет назад
What are the extra tabs and how can I use them? I am a little confused. What is Game view controller and game scene?
@CodeWithChris
@CodeWithChris 5 лет назад
Game View Controller would be the View Controller in your storyboard or the class named that way and the scene would be the object in the storyboard, like a view, a UIImage, etc... @AdrienVillez
@Ceq90
@Ceq90 4 года назад
i just started this, but im having a great time so far! thank you so much
@CodeWithChris
@CodeWithChris 4 года назад
I'm glad! You're so welcome! - Kat
@samueladotei9512
@samueladotei9512 Год назад
thank you am going to try and also do and see what happens keep it up big bro
@CodeWithChris
@CodeWithChris Год назад
Did you make it work? @AdrienVillez
@renakittycat
@renakittycat 5 лет назад
Great video! You make it very easy to understand! I would really love to see a video from you on how to use calendar, date formatter and date picker. I have found it very tricky, especially if I want to use the dates for specific date interval calculations. Thanks :)
@CodeWithChris
@CodeWithChris 5 лет назад
Great idea! We will add this to our Todo list for 2019. True that I one day played around with dates (just to find the current time and day from the device) and OMG.... what was that!!! I can't imagine how all this goes together when you have to calculate between two dates, the formats, the tie zones.... 😱 @AdrienVillez
@vrajpatel8259
@vrajpatel8259 5 лет назад
Wonderful series of videos!! Gr8 work👍
@CodeWithChris
@CodeWithChris 4 года назад
Thank you! Kat
@amitabhgulati8404
@amitabhgulati8404 4 года назад
Hey, a quick question, at 12:53 my background isnt filling up the img view. The background a small thin rectangle only partially filling up the gray img view. In result when I add the constraints the image doesnt completely fill the screen. Pls someone provide a solution, I need the background to fill the screen completely.
@nathanzhang3286
@nathanzhang3286 4 года назад
Earlier someone commented: If the background has vertical white bars on the side like it did for me go to the Attributes Inspector and set Content Mode to Scale to Fill
@CodeWithChris
@CodeWithChris 4 года назад
Yup, if you want it to occupy the whole space then set the content mode to "scale to fill" - Kat
@kartavyasingh687
@kartavyasingh687 4 года назад
Sir, How do i save this project and put this on my iphone for it to work?
@CodeWithChris
@CodeWithChris 4 года назад
We have a tutorial for that here :) codewithchris.com/deploy-your-app-on-an-iphone/ - Kat
@parsa1054
@parsa1054 4 года назад
What about the view from lesson 1? Do I delete it or save it?
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Could you share your question in our community group here (bit.ly/CodeCrewCommunity)? Also please check the posting guidelines (bit.ly/CWCHowToAskForHelp) so we can help you the best as we can! Kat
@Saaferoom
@Saaferoom 5 лет назад
hi, your presentation is really impressive but i wanted to ask if you can help with an app that transfer money what are the requirements to do such an app. can't wait to see your answers to my questions. thx
@CodeWithChris
@CodeWithChris 5 лет назад
Uh...... We have access to APIs that allow developer to receive payments and take credit card in a safe way.... but being like "a bank" and be the one to transfer money.... I would do a maximum amount of research and maybe talk to people who work closely in that field @AdrienVillez
@Saaferoom
@Saaferoom 5 лет назад
CodeWithChris thank you very much for your quick reply, but it’s not exactly like a bank but an app that can help the users access their bank account and put the amount that they would like on the app wallet. Yeah... that’s the idea I hope I will learn from you sir
@CodeWithChris
@CodeWithChris 5 лет назад
Well, no money really "sits" inside an app. Money is sent to the bank account of the app/company that developed the app. If it needs to be sent to another user, the transaction is made from the bank account of the company to the User B. Check out Stripe and maybe Square. Check the documentation for developer to see how all this works. Create a business and open a bank account for this business, the rest is just gonna be coding coding coding... @AdrienVillez
@Saaferoom
@Saaferoom 5 лет назад
alright thank u very much let check those documentation that you recommended
@amurthar2058
@amurthar2058 4 года назад
After completing this beginners tutorial can i jump to SwiftUI?? Bcoz i have a project which is i am going to do using SwiftUI.. Thats y i ask
@CodeWithChris
@CodeWithChris 4 года назад
If you're confident with your foundational Swift skills, why not? - Kat
@jj5484
@jj5484 4 года назад
Please align the frames behind you. My OCD is going crazy!
@CodeWithChris
@CodeWithChris 4 года назад
Sorry that this bothers you. -Kat
@jj5484
@jj5484 4 года назад
@@CodeWithChris I am laughing now. No need to apologize. Love your videos.
@elimakhutle360
@elimakhutle360 5 лет назад
please make a tutorial video on app that allows user to comment in the text box , take a picture and send location...
@vinnysanoria7707
@vinnysanoria7707 4 года назад
How to add assets pictures in button and label in Xcode11??
@CodeWithChris
@CodeWithChris 4 года назад
Hello, you can use assets thats are added in your assets.xcassets, you can set this easily when you click on the background or image property of your button or label in the storyboard - Francis
@Dragonic159
@Dragonic159 5 лет назад
Chris your resource bundle does not have the assets such as facebook background etc so I am stuck at that step
@CodeWithChris
@CodeWithChris 5 лет назад
It's in Lesson 2 Image Assets codewithchris.com/beginner-youtube/ -Kat
@paulmiquelis7183
@paulmiquelis7183 4 года назад
thank you so much for every thing. However I have a prob: at 27:49 my background image still covers everything else
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Sorry to see you are having trouble. You should consider posting your question (with code sample and/or screenshots) in our community group that can be found here (bit.ly/CodeCrewCommunity). Make sure to check the posting guidelines (bit.ly/CWCHowToAskForHelp) like that we can help you the best as we can! Thanks for being a CodeCrew member! @AdrienVillez
@paulmiquelis7183
@paulmiquelis7183 4 года назад
@@CodeWithChris I will come!
@hedgewizardly
@hedgewizardly 5 лет назад
You have an incredibly thorough and patient teaching style and are doing fantastically in demonstrating, representing, and explaining everything!
@CodeWithChris
@CodeWithChris 5 лет назад
Thank you for your kind words! 🙌 -Kat
@vinnysanoria7707
@vinnysanoria7707 4 года назад
@@CodeWithChris How to add assets pictures in button and label in Xcode11??
@fractilians
@fractilians 4 года назад
Totally agree!!
@pirrotmukuna6985
@pirrotmukuna6985 2 года назад
@@vinnysanoria7707 Iv.
@pirrotmukuna6985
@pirrotmukuna6985 2 года назад
@@vinnysanoria7707 fIk.
@johnchiver7951
@johnchiver7951 4 года назад
I never leave a comment but I just had to say thank you. Thank you, I really appreciate it!
@CodeWithChris
@CodeWithChris 4 года назад
You're very welcome! - Kat
@Anaais
@Anaais 5 лет назад
Really helpful!! Congratulations for such a fantastic course! It is very easy to follow everything along! Thank you very much for sharing it for free and for all the effort it takes to record every video!!!
@CodeWithChris
@CodeWithChris 5 лет назад
Thank you! It does take time to do all this so we appreciate comments like this one! @AdrienVillez (the guy who edits them all!)
@daixso
@daixso 5 лет назад
If the background has vertical white bars on the side like it did for me go to the Attributes Inspector and set Content Mode to Scale to Fill
@xibingliang9512
@xibingliang9512 5 лет назад
Yeah, it is default as "Aspect Fit" to me. Thanks zwilliamsdev!
@onlydiegooo5458
@onlydiegooo5458 5 лет назад
thanks i was having trouble with that
@bobdagamer640
@bobdagamer640 5 лет назад
I had this problem at first but I just deleted everything (And restarted)
@blythekyei2004
@blythekyei2004 4 года назад
ACTUAL LIFESAVER
@katezhang3929
@katezhang3929 4 года назад
THANK YOU!
@mattismason2769
@mattismason2769 Год назад
These are amazing, Thank you so much!! I started following this tutorial but now i'm conflicted. Do you recommend the the youtube version or the 14 day beginner course to do first?
@mariaxu9787
@mariaxu9787 3 года назад
You are amazing. These videos must take ages to make. Like others said, thank you for actually teaching us, helping us to achieve our goals, and not trying to make us pay for a course. Instantly subscribed!
@CodeWithChris
@CodeWithChris 3 года назад
WOW! Your comment made our day! Thanks for being so, so kind! -Arthur
@bananakingbot4891
@bananakingbot4891 4 года назад
Omg you support us a lot I can't believe it! I really appreciate it thank you.
@CodeWithChris
@CodeWithChris 4 года назад
Of course!! Thanks for watching our tutorials! - Kat
@afrofitbysamba548
@afrofitbysamba548 4 года назад
Hello Chris. Thank you for everything. I paid for courses online but you are one of if not the best instructor. Even a beginner like myself feel very comfortable taking classes with you. Please setup something where people can donate and support you. Thank you
@CodeWithChris
@CodeWithChris 4 года назад
Thank you! There's no need to donate. If you want to support us, we appreciate if you'll purchase our course instead. :) codewithchris.com/courses/ - Kat
@ufookoro1
@ufookoro1 5 лет назад
Lovely video. I had a little issue with the background image. I was unable to set the constraints. For some reason, the image being confined to the image frame. In the end, I stretched image to the margins manually and continued with the tutorial. Thank you very much
@andrewwilliam5759
@andrewwilliam5759 5 лет назад
For anyone wondering, he has the content mode set to "Scale To Fill" in the attributes inspector for the background image.
@Zillgian83
@Zillgian83 5 лет назад
@@andrewwilliam5759 Thank you for this one :) I basically knew what I was supposed to do, but had no actual idea how :D
@rallred84
@rallred84 4 года назад
@@andrewwilliam5759 Thank you for this response... I was struggling with this as well
@yasoobhaider4256
@yasoobhaider4256 4 года назад
@@andrewwilliam5759 thank you so much Andrew William I was struggling with this issue.
@DonDon-yh7qr
@DonDon-yh7qr 4 года назад
@@andrewwilliam5759 Big ups bro!
@BananaGamingYT
@BananaGamingYT 4 года назад
Amazing Video! Your videos are awesome! Very helpful and simple!
@CodeWithChris
@CodeWithChris 4 года назад
Happy to hear that! Thank you! 🙌 -Kat
@BananaGamingYT
@BananaGamingYT 4 года назад
CodeWithChris your welcome! If I need any help on anything is it ok if I ask you?
@MrDreWhite
@MrDreWhite 4 года назад
I just came across your channel in search for "how to make an app" tutorials. It's very helpful thanks. I'll show you the process while I build this app. It's going to be huge
@CodeWithChris
@CodeWithChris 4 года назад
Cool, thanks! What sort of app are you going to build? - Kat
@Monarch_943
@Monarch_943 4 года назад
Thank you for the effort you put in your tutorials, it really shows! Love how you think about the mistakes we might make and help us with that.
@CodeWithChris
@CodeWithChris 4 года назад
Thank you for being here and all those kind comments. Our tutorials are now 6 years in the making so, we know where people hit road blocks, where things change, where to pay attentions. Glad that Apple is making thing easier too over the years! @AdrienVillez
@kishanchotaliya7535
@kishanchotaliya7535 4 года назад
Best teaching tutorial. Best channel for learning in this pandemic time.
@CodeWithChris
@CodeWithChris 4 года назад
Wow, thank you! - Kat
@mayurbharda4472
@mayurbharda4472 5 лет назад
you are awesome I am happy that you are making such a tutorial for free for beginners .
@CodeWithChris
@CodeWithChris 5 лет назад
We love our audience!!!! Sharing the knowledge is making this world a better place! @AdrienVillez
@TylynnMusic
@TylynnMusic 4 года назад
I love that you have a willingness to share knowledge! And you do an awesome job at it, blessings to you!
@CodeWithChris
@CodeWithChris 4 года назад
Thank you for the kind comment, we do it because we love to share what we know and most importantly we enjoy helping others to learn and grow! Glad to have you around! @AdrienVillez
@vinnysanoria7707
@vinnysanoria7707 4 года назад
@@CodeWithChris How to add assets pictures in button and label in Xcode11??
@neil5179
@neil5179 4 года назад
When I press Control+Enter to make a new line for Social Squid, only the Social shows on my UI, even though Social Squid shows in the text box.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, maybe you didn't set the lines to 0, or higher than 1, there is a property called "lines" in your label that will determine how many lines it can display - Francis
@bekahbeets941
@bekahbeets941 5 лет назад
I put the background image in place no problem, but it didn't rotate with the rotate function... it stayed vertical while the phone was horizontal.. did I miss something?
@luanagauvin5109
@luanagauvin5109 5 лет назад
Hey, just wanted to say I am very thankful for your videos. I'm doing my first internship in IT studies in France. I have to create an app for a start-up and I must say that though I have coded before I've never coded a mobile app and your videos are helping me quite a lot so thank you very much, you're great and you make it really easy for me to learn quickly! :)
@CodeWithChris
@CodeWithChris 5 лет назад
Thank you so much for the support! It really means a lot! Welcome to iOS app development! -Kat
@williamfehlhaber5708
@williamfehlhaber5708 5 лет назад
Jesus you make some high quality/ production value videos. I am not an iOS dev but this makes me really re-think how I might present C++ tutorials in the future.
@CodeWithChris
@CodeWithChris 5 лет назад
Thank you! 5 years in the making! Improving as we go along! If you have questions, feel free to drop us an email care@codewithchris.com @AdrienVillez
@rosaryapp4504
@rosaryapp4504 4 года назад
Thank you Chris, you are a great, compassionate teacher!
@CodeWithChris
@CodeWithChris 4 года назад
Our pleasure! Thanks for learning with us! - Kat
@vinnysanoria7707
@vinnysanoria7707 4 года назад
@@CodeWithChris How to add assets pictures in button and label in Xcode11??
@Joycecchang
@Joycecchang 4 года назад
tried learning xcode on coursera with UCI, but this is MUCH better
@CodeWithChris
@CodeWithChris 4 года назад
I never tried Coursera but I'm glad you found better content here! Glad we can help! @AdrienVillez
@randycrossley7589
@randycrossley7589 5 лет назад
Chris, I wanted to thank you for all of the hard work that you put into these amazing videos. I rarely post for anyone, but when I find something this outstanding, the least I could do was thank you, subscribe, and add notifications. Once I'm done with the playlist, I will be joining your channel for more insight. I already know I will learn more from you in a few videos than what I spent reading the top Swift books from Amazon over the past year. Kudos my friend, I hope to talk to you in the future once I'm done with all of your lessons.
@CodeWithChris
@CodeWithChris 5 лет назад
Wow, thank you so much for all the support! We're so happy to have you here! Enjoy learning! -Kat
@fk_paybackj9605
@fk_paybackj9605 4 года назад
I wish all my Lecturers are great like him. You thought me and I hope to create something in which you would be mentioned as my mentor 🤩
@CodeWithChris
@CodeWithChris 4 года назад
Thank you! What sort of app do you want to create? -Kat
@KristysEdits
@KristysEdits 2 года назад
I think I’m in love with you hahaha. You’re the best teacher.
@CodeWithChris
@CodeWithChris 2 года назад
Wow, thank you! Keep on enjoing learning with us! :) -Arthur
@markslovik4115
@markslovik4115 4 года назад
Hi! I'm having trouble with the background images, because they deform to the size of the frame, and look all compressed vertically. Do you know how to fix it? Thank you!
@CodeWithChris
@CodeWithChris 4 года назад
Hello, i think this is because the content mode of your view/imageview is "aspect fit" , if you want it to occupy the whole space then set the content mode to "scale to fill" - Francis
@markslovik4115
@markslovik4115 4 года назад
CodeWithChris thank you!!!!
@RunBikeMike
@RunBikeMike 5 лет назад
Wow amazing job on this. This is exactly what I was looking for. I look forward to watching more of your videos.
@CodeWithChris
@CodeWithChris 5 лет назад
Thanks! Glad you enjoyed it! -Kat
@stevenpalma7905
@stevenpalma7905 4 года назад
Chris, how do you convert images as in your sample like 2X 3X etc for larger screens???
@CodeWithChris
@CodeWithChris 4 года назад
Hello, you can simply use an app called "Prepo" (free on the AppStore), it will automatically make x1 x2 and x3 images, but the x3 image is your original one so make sure its good quality, Prepo will also help you with icons and other stuff - Francis
@diogogomes3078
@diogogomes3078 4 года назад
I have this message appearing after running the app. Can someone help me? 2020-02-04 02:14:04.010777+0000 Era isto que faltava[3181:468301] Can't end BackgroundTask: no background task exists with identifier 1 (0x1), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, does the app crash when this message appears?. it seems to be a bug that wasn't fixed by apple yet. if it doesn't crash the app and it continues running normally then it should be fine to ignore stackoverflow.com/a/58358986 - Francis
@copypaste3526
@copypaste3526 5 лет назад
I would like some tuts for the apple watch.
@CodeWithChris
@CodeWithChris 5 лет назад
It's on our mind! @AdrienVillez
@fractilians
@fractilians 4 года назад
Your an excellent instructor! thank you for sharing your knowledge!
@CodeWithChris
@CodeWithChris 4 года назад
Thanks for learning with us! - Kat
@thegamingkidjj
@thegamingkidjj 4 года назад
You're honestly a saint dude. I love all the information. I wish my college classes were like this. I actually find it fun to take notes on this and play around with it. 10/10!
@CodeWithChris
@CodeWithChris 4 года назад
Thank you!! 🙌 - Kat
@eddiechen6389
@eddiechen6389 5 лет назад
Hi Chris Thanks for your videos its been helpful but i have one question just when i set the background photo as the UIImageView, it doesnt get stretched all the way to all corners like u have in the video, even after i set the contraints to 4 sides to view to zero, and there is still 2 gaps on left and right side of the screen, any idea?
@djmula25
@djmula25 5 лет назад
Chris I build this app you getting a huge shoutout and im send a token of appreciation my friend
@CodeWithChris
@CodeWithChris 5 лет назад
Hello! Thank you, share it with us when it's finished! -Kat
@rohanravikumar4391
@rohanravikumar4391 4 года назад
Thank u I am a 15year old kid and I am researching on apps like both gaming and social media and I am using iPad
@CodeWithChris
@CodeWithChris 4 года назад
You're welcome Rohan! You can try making your own app. You should check out this playlists to get you started on iOS app development. I would recommend starting here bit.ly/LearnSwift2019 and here bit.ly/BeginnersPlaylist Then use this tool (approadmap.io) to know what you need to learn next! - Kat
@rohanravikumar4391
@rohanravikumar4391 4 года назад
But when we do marketing how do we own money and how it becomes popular plz let me know
@mayaa6910
@mayaa6910 4 года назад
Im surprised if ANYONE could give you a thumbs down Chris!
@CodeWithChris
@CodeWithChris 4 года назад
We do not know who would give us a Thumb Down but oh well... we know we can't please everybody, some people come and expect Xcode to made Android apps and leave.... 🤷‍♂️ We focus and care with the people who like to be here! @AdrienVillez
@mayaa6910
@mayaa6910 4 года назад
@@CodeWithChris Wow, beautiful that Is what every channel needs!
@mayaa6910
@mayaa6910 4 года назад
thanks so much this tutorial changed my life!
@fireskycam9889
@fireskycam9889 4 года назад
I'm adding the button but my phone screen turns black and I go to the bottom to carry out the alignment constraints by clicking in the horizontal box and the tick appears but the acknowledge box won't activate. So unfortunately I can't go past 8 minutes into this lesson. I'm a vet with PTSD and just trying to do something creative and have fun but I'm afraid I'll have to walk away at this point. I'll have to give it a miss. Cheers.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, learning layout in storyboard takes some time to get used to, it is also quite hard even for trained users such as myself, i suggest move forward to the next lesson because this one is just a "sample" or a "demonstration" on how to do a nice layout in xcode, it wont be part of the whole app that will be created in the next few lessons also if you haven't already i suggest to look into our basic tutorials for swift first before you proceed with this "how to make an app" series here is the link to the beginners playlist ru-vid.com/group/PLMRqhzcHGw1b89DXHOVA77ozWXWmuBkWX - Francis
@nathanield2518
@nathanield2518 4 года назад
Thank you so much! I’m a kid who’s trying to develop an app and your classes are great 😇😀
@CodeWithChris
@CodeWithChris 4 года назад
Happy to help! -Kat
@zaraays9964
@zaraays9964 4 года назад
Hi, this is very useful. Could you please clarify me that why we shouldn't use fluter or react native to build app for both ios and android. Since it help to make easy. why we need only swift ?? please i know this is silly question. but i'm in place where which field should i go? i'm from non-it field. Thanks
@CodeWithChris
@CodeWithChris 4 года назад
Hello, its fine if you want to go react native or flutter as they are viable solutions, they are also crossplatform so it will be easier for a one man team to build for both OS at the same time, the only upside with going pure Android or iOS is that its more "stable" and it us usually faster since all the assets, frameworks, etc are built and made for the OS itself Its more for a performance and quality issue - Francis
@Maria-hd4hk
@Maria-hd4hk 5 лет назад
How did you create the buttons/images (what software aha)
@CodeWithChris
@CodeWithChris 5 лет назад
We use icons from Icons8 (bit.ly/CWCIcons8), and we mix all that up in Sketch or Figma. (we will have tutorials on those two very soon!) @AdrienVillez
@mrsprush
@mrsprush 4 года назад
When configuring a background image and attempting to set my edge constraints to "0" in "Add New Constraints", they change to "standard" on all sides. Is there a fix for this? I think it's what is throwing my background off. Thanks!
@Preylo
@Preylo 4 года назад
paige rushing I have the same problem
@loganbyrom9185
@loganbyrom9185 4 года назад
I'm having the same exact problem. But, if you do each constraint one at a time it seems to work.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, maybe check these forum posts if it is any help codecrew.codewithchris.com/t/module-5-lesson-5-xcode-11-3-cant-constrain-to-view-anymore/1042/6 codecrew.codewithchris.com/t/module-1-lesson-2-left-right-marings-even-if-scale-to-fit/1303/4 - Francis
@colbymehmen
@colbymehmen 4 года назад
same problem
@modyfik
@modyfik 4 года назад
Use 0.01 instead of 0 - it's an xcode bug. 0.01 is not true 0 but it's pretty close and you won't be able to see the difference
@adnertga6559
@adnertga6559 5 лет назад
Good vid, but I *really need some help* . Once I make a constraint on the label, which is 10 points from the above label, and then press add constraints it doesn't adjust accordingly??? It does adjust if I choose to constrain it relative to the top view, but not if it's relative to another label or the safe area. Please HELP.
@CodeWithChris
@CodeWithChris 5 лет назад
OK, let's get you help! Post your question and provide a screenshot here: bit.ly/CWCCommunity We will be right there to help you! @AdrienVillez
@go2pee
@go2pee 4 года назад
Hey Chris, Im here after completing the series on Swift Basics and I just want to Thank You for taking this effort for all of us and for FREE. It's really amazing how patiently you're putting out such valuable lessons for us along with the practice exercises. Thanks a ton. Kudos to you!
@CodeWithChris
@CodeWithChris 4 года назад
You're very welcome! We'd really appreciate if you wrote a testimonial for us. Thank you for your kind words. feedback.codewithchris.com/ - Kat
@ebubeawachie
@ebubeawachie 4 года назад
I paused the video to comment just how good a teacher you are. And I appreciate that you pause to integrate tips and tricks along the way. Some other tutorials don't do this and just assume that we will 'get it' as we progress.
@CodeWithChris
@CodeWithChris 4 года назад
Thank you, we appreciate that! 😊 - Kat
@ebubeawachie
@ebubeawachie 3 года назад
Reading back my comments from almost a year ago. Sadly I had stopped learning then. Wished I’d continued. Probably have a job by now. Regardless you’re an amazing teacher and I’m grateful to have you on the iOS side of things.
@amitabhgulati8404
@amitabhgulati8404 4 года назад
Please help, I'm a new programmer working on this from Windows, with virtual comp. Anyways I cant rename any buttons as shown in 13:49 please help.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, you just double click the text on the left hand side where the elements are listed OR you can change it at the identity inspector at the properties tab and change the "document->label" - Francis
@macgyvermutualfund3237
@macgyvermutualfund3237 4 года назад
Hi Chris -- just discovered your channel and I'm so happy I did. This is exactly the 101 tutorial I needed. QQ -- when developing images, how do you determine the parameters to use for the 1x, 2x and 3x sizes for different resolutions?
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Our technical support staff can help you in our fourm. Post your question here: codecrew.codewithchris.com. All the best!
@CodeWithChris
@CodeWithChris 3 года назад
Hello, i suggest using a free app called Prepo (its free on the AppStore) it will automatically create x1 x2 x3 images for you, including different icon sizes - Francis
@marydiannepadrigo5345
@marydiannepadrigo5345 4 года назад
I feel like this is a bigger deal than my subjects in my online class xD
@CodeWithChris
@CodeWithChris 4 года назад
That's what everybody says and this makes me laugh every time! Maybe it's time to bring CWC into your school! @AdrienVillez
@JoeCritchley
@JoeCritchley 4 года назад
Thanks for the video Chris. Some quick feedback. As someone who was only looking for an Auto Layout tutorial, I thought this was the second Auto Layout lesson, due to the title's ordering.
@CodeWithChris
@CodeWithChris 4 года назад
Thanks for the feedback! -Kat
@cuevas714
@cuevas714 4 года назад
Yep, I had the same confusion as well.
@keepsearchingk
@keepsearchingk 4 года назад
Thanks Chris! You teach in such a simple and easy to understand way. I just subscribed!!!
@CodeWithChris
@CodeWithChris 4 года назад
Awesome, thank you! - Kat
@isabellhelgesen1119
@isabellhelgesen1119 4 года назад
I followed along, but suddenly my buttons were under the screen and out of the picture and I got issues, and then I deleted everything when I tried to bring the constraints back to normal... I have to start over ://
@CodeWithChris
@CodeWithChris 4 года назад
Don't forget every app use the command CMD+Z to undo mistakes. Also, a Storyboard or any UI for that matter is like a stack of card. Some stuff are above, others are below. If you lost something, time to dig it up to the top! By the way, next time, before passing by the trash can, pass by the CodeCrew Community and let's fix this together! bit.ly/CodeCrewCommunity @AdrienVillez
@DeadCandIe
@DeadCandIe 4 года назад
I see a Iphone X in my editor... but when i test its a iphone 8 as i choose.
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Are you still experiencing this problem? Could you share your question in our community group here (bit.ly/CodeCrewCommunity)? Just check the posting guidelines (bit.ly/CWCHowToAskForHelp) so we can help you the best as we can! Thanks! Kat
@wajidarif820
@wajidarif820 4 года назад
i am not good at setting constraints but i am looking forward to learn from you. i have completed this project looking forward to work with StackView.
@CodeWithChris
@CodeWithChris 4 года назад
Great!! Thank you. - Kat
@aryfps
@aryfps 4 года назад
Where to go to find the background image
@CodeWithChris
@CodeWithChris 4 года назад
Here codewithchris.com/beginner-youtube/ - Kat
@ric7576
@ric7576 4 года назад
Hey Chris Great video man, just trying to get back into coding after a 20 year break. A bit different from Fortran 77 :-o
@CodeWithChris
@CodeWithChris 4 года назад
Welcome back!! - Kat
@lbrannan
@lbrannan 5 лет назад
I plan to build an App
@rodrigocanalizo5358
@rodrigocanalizo5358 4 года назад
How can I make myself the Facebook/google boutons? Where can I get the measurements for the background screen?
@CodeWithChris
@CodeWithChris 4 года назад
Here are the resources: codewithchris.com/beginner-youtube/ - Kat
@nishavashisht566
@nishavashisht566 5 лет назад
going to focus on iPhones for now, thanks for your videos
@mohammadzahri9782
@mohammadzahri9782 4 года назад
I would like to thank u for the videos, I have tried to follow and create an app based on this lesson. but noticed that, once i lunch the app it shows the layout for a few seconds and then turn to a white background with a label "Hello, World!"
@CodeWithChris
@CodeWithChris 4 года назад
When you created the Xcode project, did you select Storyboard as the User Interface and not SwiftUI? Try this fix because that may be the case ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ea9fCSXGhSU.html :) -Kat
@jozovajda3376
@jozovajda3376 5 лет назад
What mac do you have? And whitch do you reccomend for starting developer? Im new developer but i have two apps on app store and i wand something better than base 2017 imac with hdd.
@CodeWithChris
@CodeWithChris 5 лет назад
With computers it's pretty simple, the more money you put into it, the better. (With Apple, the more kidneys you sell....) Programming doesn't need a beast either. If you are not running Final Cut Pro or Photoshop/Lightroom, you do not need the end of the line either. I also recommend to not go below 2015 anymore. @AdrienVillez
@ThataiguyYt916
@ThataiguyYt916 5 лет назад
@@CodeWithChris i have a i7 laptop. thats pretty old. should it run it
@slimestoneexpert9804
@slimestoneexpert9804 4 года назад
@@ThataiguyYt916 you cant download xcode on that and an i7 doesnt have to be old
@pixlbit-designs-vfx
@pixlbit-designs-vfx 4 года назад
Damn man, this is 100x better than half the tutorials on YT. So many are crap, or they do the same tired tutorial, or they go too fast and expect the user to be able to follow just as quickly. Your stuff is clear, crisp and easy to follow step-by-step. Please dont stop making these!!!
@CodeWithChris
@CodeWithChris 4 года назад
Thank you!! 🙌 -Kat.
@waleedalqadhy7580
@waleedalqadhy7580 4 года назад
Thank you very much, you are the best, I subscribed in your channel one year ago, bit today is my first watching. I liked it
@CodeWithChris
@CodeWithChris 4 года назад
Glad you finally started watching our tutorials. Thank you! 😃 - Kat
@androidfarmer8863
@androidfarmer8863 4 года назад
Hey there - thanks so much for this series! I have an issue with setting the background constraints. When the background constraints are set, it scales as shown. However, when moved up in the stack (down?... ) so that it's behind everything else, the other content isn't visible; I'm finding that it's been pushed way down below the screen. I also found that if I scale the background image manually, everything stays where it is - so, apparently, the constraints are creating some kind of condition, possibly in which the constraints of the existing elements are now in relation to the background or something. Any ideas? [edit] I see that the Social Squid now has a constraint to Background.bottom... I deleted that constraint and everything moved back to the correct position.
@CodeWithChris
@CodeWithChris 4 года назад
Glad it's fixed now. If you need coding help, you can always ask questions in our community here bit.ly/CodeCrewCommunity - Kat
@jeevan4337
@jeevan4337 4 года назад
How to change Xcode 11.3.1 theme to dark (same that you have in videos) in Mac Catalina?
@CodeWithChris
@CodeWithChris 4 года назад
Hello, when you have xcode open, click on xcode at the top, then preferences (cmd+,), then go to the fonts and colors tab, you should be able to select the style there - Francis
@ssoer807
@ssoer807 5 лет назад
How can you publish the app so everybody can download the app?
@CodeWithChris
@CodeWithChris 5 лет назад
Here's a guide: codewithchris.com/submit-your-app-to-the-app-store/ 😊 - Kat
@jiongrong
@jiongrong 4 года назад
Thank Chris, with aprreicate. I have problem on rename button-name on View Controller, mine xcode version: 11.4.1
@CodeWithChris
@CodeWithChris 4 года назад
Hello, by rename you mean how your button is named on the storyboard?. you can change it also if you click on it and open the properties, there is be an "xcode label" for it, type the name there to change the name of your button - Francis
@olasunkanmimohammed1024
@olasunkanmimohammed1024 4 года назад
Thanks for the info, can you help build a food delivery app like GrubHub/Uber Eat
@CodeWithChris
@CodeWithChris 4 года назад
Hello, we don't provide app development services. CodeWithChris is an educational channel. We would recommend Upwork.com, Fiverr, or codementor.io where you can hire freelance iOS developers. Good luck! - Kat
@byambaenkhtuul6788
@byambaenkhtuul6788 4 года назад
Hey do you create any video that teach us how to create own background picture? Thank you, by the way I really like your videos.
@CodeWithChris
@CodeWithChris 4 года назад
You can make your own by using stock photos from pixabay.com or unsplash, you can then resize them using the free app Prepo. - Kat
@sanket8696
@sanket8696 4 года назад
I beg you, I have an idea, can you please discuss it with me, don't break my heart, I am a kid
@CodeWithChris
@CodeWithChris 4 года назад
Hello, what's your app idea? :) You should find out what you need to know how to build out your app idea using the App Roadmap tool approadmap.io/ -Kat
@sanket8696
@sanket8696 4 года назад
@@CodeWithChris dear Chris, I am already taking your e-mail courses
@sanket8696
@sanket8696 4 года назад
@@CodeWithChris and thanks! I will check this out too! You are the best
@aram9136
@aram9136 4 года назад
Hello, when I try adding the image to the button it places the text on the right instead of on the button itself, how do i fix this? Great tutorial btw :)
@CodeWithChris
@CodeWithChris 4 года назад
Hello, you need to put the image in the "background" if you want it to take the whole button - Francis
@trxllvibes
@trxllvibes 4 года назад
Thank you Chris! I'm creating my own app now and it seems as I was going through this video I started to get discouraged because i pick up everything I learn relatively quick. The moment in the video when you said, "you'll get it" was needed! Thank you for providing such an easy to follow demo!!
@CodeWithChris
@CodeWithChris 4 года назад
You're very welcome! Just keep going! 🙌 - Kat
@MrHSIE
@MrHSIE 5 лет назад
Hi Chris, I plan on focussing this first app on exclusively iPhone however I would like iPad functionality. Thanks for the second lesson. Very interesting. It makes a lot of sense even though initial thoughts is that is is very complicated. It certainly makes it easier when you take a moment to stop and explain why things do the way they do, say for different devices and trying to achieve a functionality or behavior. This is a great resource that you have created. Well done.
@CodeWithChris
@CodeWithChris 5 лет назад
Thanks for your comment! -Kat
@Bob_just_Bob
@Bob_just_Bob 5 лет назад
My App will be primarily for IPhone but I want it to work on both iPhone and iPad
@CodeWithChris
@CodeWithChris 5 лет назад
Yes, iPhone are everywhere. For the iPad, you can focus on that once you have a version 1.0 out and get users' feedbacks. @AdrienVillez
@G007-e9p
@G007-e9p 4 года назад
i was able to put the line break for 'Social Squid' but on the main.storyboard it only shows Social
@CodeWithChris
@CodeWithChris 4 года назад
Hi there! We are limited in the comment section to talk code and share screenshots. That's why we created a forum for people needing coding help. Please jump over to our CodeCrew Support Group: bit.ly/CodeCrewCommunity so we can help you the best as we can! Thanks. - Kat
@richardliu1457
@richardliu1457 4 года назад
where did you get those images, I find some of them online but they don't work, there is always spaces in the middle even when I follow the directions
@amitabhgulati8404
@amitabhgulati8404 4 года назад
Yeah i had a similar prob.
@CodeWithChris
@CodeWithChris 4 года назад
Hello, i think you forgot to modify the "content mode" property, it needs to be aspect fill so it will stretch the entire size that you set - Francis
@suzzbha
@suzzbha 4 года назад
hi Chris when ever i click on the horizontal and vertical constraints it wont let me add them. i downloaded xcode yesterday and ive noticed some of my options dont match what you are talking about. could you help me please? Thanks
@CodeWithChris
@CodeWithChris 4 года назад
Hello! When you created the Xcode project, did you select Storyboard as the User Interface and not SwiftUI? Try this fix because that may be the case ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ea9fCSXGhSU.html - Kat
@Kenfer918
@Kenfer918 4 года назад
Hi, how can I add iPhone XS Max and XR into "View as: " at main.storeyboard?
@CodeWithChris
@CodeWithChris 4 года назад
Hello, this depends on your list of simulators, to add more phones then just simply add more simulators, just click on the simulator list and then Add Simulators.. on the pop-up there should be a small plus (+) button a he lower left side, click on that to add a new simulator - Francis
@snigdha2332
@snigdha2332 4 года назад
I know this is about apps but as i came to comment i saw how you liked and replied to everyone of your comments which is honestly really nice of u! 🥺
@CodeWithChris
@CodeWithChris 4 года назад
Thank you! - Kat
@thijsdisseldorp3381
@thijsdisseldorp3381 4 года назад
Great Video! I have a problem with the simulator however. Whenever i load up the simulator, it shows for a brief moment how the app should look like, but then the simulator turns white with the text "Hello World!". I guess it has something to do with the Controller View, but is this supposed to happen or is it a bug? Thanks
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Are you still experiencing this problem? Could you share your question in our community group here (bit.ly/CodeCrewCommunity)? Just check the posting guidelines (bit.ly/CWCHowToAskForHelp) so we can help you the best as we can! Thanks! Kat
@diogogomes3078
@diogogomes3078 4 года назад
@@CodeWithChris I have the same problem. Can you help us?
@refactoringg
@refactoringg 4 года назад
Hey Chris Thank you for your help! i learned Xcode Very Well
@CodeWithChris
@CodeWithChris 4 года назад
Great to hear! - Kat
@edgarperezsanchez1445
@edgarperezsanchez1445 4 года назад
When I run the app on the simulator it will display what was just done in the video for a few seconds then shows the message "Hello, World!". any fixes for this?
@CodeWithChris
@CodeWithChris 4 года назад
Hello Edgar, when you created the Xcode project, did you select Storyboard as the User Interface and not SwiftUI? Try this fix because that may be the case ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ea9fCSXGhSU.html -Kat
@muath7962
@muath7962 4 года назад
Thank you, the lessons are great But in this course we use UIkit or SwiftUI??
@CodeWithChris
@CodeWithChris 4 года назад
Welcome! It's UIKit. :) - Kat
@MakingMoneyWithMichael
@MakingMoneyWithMichael 4 года назад
SO FRUSTRATING... I'm using Xcode version 11.2, running iOS version 13.2.2. I followed your instructions exactly, however, every time I run my app, whatever I typed in as the Label gets replaced with "Hello, World!" Anyone else having this issue? I noticed that my Xcode project didn't create the main.storyboard which is probably the issue but I don't know how to fix that! Any suggestions?
@CodeWithChris
@CodeWithChris 4 года назад
Hello! Sorry to see you are having trouble. You should consider posting your question (with code sample and/or screenshots) in our community group that can be found here (bit.ly/CodeCrewCommunity). Make sure to check the posting guidelines (bit.ly/CWCHowToAskForHelp) like that we can help you the best as we can! Thanks for being a CodeCrew member! @AdrienVillez
@abdulkadirosman2816
@abdulkadirosman2816 4 года назад
Michael, I had the same problem with missing main.storyboard. I realised I needed to update XCode on the app store (11.2.1). Also, when your creating the project, make sure under 'User Interface:' you select 'Storyboard' and not 'SwiftUI' which seems to be the default now. Do not get frustrated, as a programmer you will spend 20% of your time coding and 80% figuring out why it's not working. Edit: the answer is in the video description, would've saved me time. LOL
@stevebrains8089
@stevebrains8089 4 года назад
i'm not getting main storyboard ..i'm getting contentView with code. i'm not able to drag and drop.
@CodeWithChris
@CodeWithChris 4 года назад
Start over with a new project and select Storyboard as the User Interface (not SwiftUI) in Xcode. Watch this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ea9fCSXGhSU.html - Kat
Далее
UIStackView Tutorial (2020) - Lesson 3
15:33
Просмотров 330 тыс.
🦊🎀
00:16
Просмотров 311 тыс.
Qalpoq - Amakivachcha (hajviy ko'rsatuv)
41:44
Просмотров 360 тыс.
6 UI Hacks I Wish I Knew As A Beginner
11:11
Просмотров 813 тыс.
How to Make an App - Lesson 1 (2024 / SwiftUI)
27:21
Просмотров 424 тыс.
How ChatGPT Built My App in Minutes 🤯
8:28
Просмотров 2,5 млн
Auto Layout Constraints in iOS
28:22
Просмотров 6 тыс.
How to Become an iOS Developer
50:09
Просмотров 3,7 тыс.
How To Create An App With CHATGPT For Free In Minutes
8:03