QOTD ⚡ Do you have any demo app ideas to build with SwiftUI? Let me know! 👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
Hey Chris, Thanks for helpful videos. You rock! My demo app idea is an audio player that uses AVAudioEngine buffering to schedule audio files for playback during various times of the day. Thx ❤️
Yes... have an initial VC with two choices.... Login or Sign Up. In that initial VC, enable a text field for an e-mail address if they choose Sign Up. Have Login and Sign Up segue to their own VC. ( For the purpose of teaching at least two ways to segue ). When segueing from the initial VC to the 2nd VC, pass the e-mail address from the 1st VC to the 2nd VC. Segues and passing data between VC. I see so many beginners get stuck with one or both of these then they get frustrated. Beginners also need to know how to add another Swift file, UIViewController class, and tie it to the 2nd VC they dragged and dropped onto the Storyboard. Maybe Swift UI has a better method... not sure. I have not seen any Swift UI tutorials covering two VC’s. This is a realistic, practical suggestion. I say that because I helped two members of the *Code with Chris FB Community* with these two issues in the last two days.
Hi Chris, Thanks for all the tutorials! I'd like to see a demo of a radio frequency scanner starting at the low end of the frequency range to a very high frequency range. This would help me with an app idea that I have and could I would be able to utilize it within my app.
A cool app to build (and my goal first app) is a simple score tracker for golf or disc golf. Features include: + track score of new games + allow multiple players + show past rounds + display user data and average scores + display course data and toughest holes
Ideas for future videos: Start with main menu, button to select another screen containing a keypad 1-9,0, & clear button, entered numbers appear onscreen in a box, then another button passes those to another screen
Thanks you for your videos, Chris. Applicable and useful as always. Video suggestions: save an image from a dynamic list to CoreData in SwiftUI, comparison of using CoreData and Realm in SwiftUI and comparison of FireBase and Cloudkit with SwiftUI . Thanks!
LOL - I sat @ 17:40 for 20 minutes debugging where I went wrong in my code for it to consistently fail to build giving me an error that, according to Google was a question that could only be addressed by Apple compiling engineers. I did notice above this you specified Color. so I tried that out and voila! Then I clicked play and saw you address that not even a second later xD Helps dig into the code and understand more for myself though so it was a good experience. I'm also happy that I was able to find the issue :) Thanks as always CWC Team!
Hey. Instead of setting every index in the numbers array you could use the map function with just one line of code. And instead of Cornerradius it is better to use .clipshape(Capsule())
Hi! Here are some app ideas: Parking checker for availability, Bus checker, reminders, sing-along songs, sticker apps, drawing apps, quiz-studying, language changer, and an internet speed checker app!
Idea for app - Core Data list , SwiftUI app. In short, an app where you have a list of genres of movies you have watched, then you click on the genre and get into the list of movies in that genre where you can add and remove items in that list. I know all of this can be done with out Core Data, but it is also a great chance to work with two big frameworks in iOS
Great videos that are easy to follow and delivered at a good pace. Ideas for demo apps could be local tourism where you can get information on restaurants, things to do with location map etc
i Chris ! First I would like to thank you for your SwiftUI tutorials, they are very great. I’m building an application about physics and I would like to insert a serie of questions with 4 different possible answers. If it’s correct, a green check mark should appear and you can go to the next question and if not a red cross should appear and you have to try again (something the same than at the end of each Mac tutorials about SwiftUI). I think I can find the solution by myself but I would really appreciate if you do a video on the idea... Thank you anyway. I’m looking forward to discover your new videos 💕
Chris it always amazes how you design apps. Beautiful. I just checked if Set(numbers).count = 1 {//Win . Because Set does not have duplicates. Waiting for the next part. As for app ideas - any app that deals with logining to google or firebase or to cloud anywhere and saving something there would be nice)
What do you mean by a "scrolling platform". Like Super Mario or Donkey Kong type of games that moves from left right? We are working on something more "gaming" base, it will be available on www.codewithchris.com this year. @AdrienVillez
Great Video and nice explanations even understandable for second language guy Wish you the best and hope you will continue for a few more years you Videos are great
SwiftUI app that makes API calls! Perfect because I just released a video explaining what APIs are and next week, a video for JSON parsing. Now i can combine those teachings with a SwiftUI demo hitting an API!
Hi Chris, where can I find the background image fo the slot app? Thank you and congratulations for your video lessons, I'm improving to develop apps thank to you! ;)
You're welcome! Here are all of the resources: ru-vid.com?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY ru-vid.com?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip ru-vid.com?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0 ru-vid.com?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description - Kat
This is a good article that covers that: www.hackingwithswift.com/quick-start/swiftui/answering-the-big-question-should-you-learn-swiftui-uikit-or-both -Kat
Hi, i have a general Question: In the Interface Builder where the iPhone is shown and i can drag and drop buttons etc. on it. I see in previus Videos from you that the Top Bar of the iPhone is shown. I mean the clock an the battery symbol. Now it is gone. How am I get this Top Bar shown again in XCode? (I use XCode 11.3.1 to be specific) By the way, great Videos which you make. I have learned so much. Greetings from Germany.
Hello, that should be in the safe area at the top, so when making your app and you want to show the topbar you need to set the constraints to only the safe area at the top - Francis
@@CodeWithChris Thanks for the Answer, but i mean in XCode (in the Interface Builder where I can drag Objects in). I see the Safe Area because for example the iPhone 11 has white spots above and under the blue area. But it confuses me that above the Safe Area ther is the Clock and Battery Symbol not shown. Also on the normal Displays like the iPhone 8. For example in this Video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qC6DzF_ACpQ.html at Minute 2:30 there is in the Interface Builder the Clock and Battery Symbol shown. And my Question is if it is possible to show that in XCode 11?
What about an app that shows your progress of self learn swiftUI with CodeWithChrist and using charts to display your progress status? That would be interesting as you can understand all your followers' progress in learning swiftUI from your youtube channel.
One thing to add, you should deduct the amount before spinning. With your current code, you only spend money if you loose. In real life, you always spend your bet first.
This may be more complicated as an app idea: This would be aimed at children and those who may not be able to read. It's also aimed at those who might travel a lot. How about an app that would show a book on screen and then you could then have an audio recording of the person in a TableView. The person receiving the recordings could then choose from a set of stories to hear. Humpty Dumpty, Winnie the Pooh, etc.
Hi Chris, question regarding betting logic when the user wins. Shouldn't it be "self.credits += (self.BetAmount * 9)" ? Bet amount will not be substracted otherwise because of the if/else statement, and that should always be the case. Do you agree? And are there any shorter ways to code this? Thanks for the great work! // Check winnings self.credits -= self.BetAmount if self.numbers[0] == self.numbers[1] && self.numbers[1] == self.numbers[2] // Won self.credits += (self.BetAmount * 10) } or solution 2: // Spin & Win if self.numbers[0] == self.numbers[1] && self.numbers[1] == self.numbers[2] { self.credits += (self.BetAmount * 9) } else { self.credits -= self.BetAmount }
Hello, the logic remains the same though he still gets "x10" of the amount he bet , in the original, the player will always have his bet deducted regarless of win or lose (meaning if he wins he will get x9 of his bet amount, cuz he still needs to pay for this current bet) on your version, he will only pay the bet amount if he loses, then if he wins he will get x9 of his bet amount
Hopefully this answers your question. Everything from Line 17 to Line 19 (included) could be written in one line. Line 18 has a dot because you can add multiple parameter this way. Every tie you go back to the line to make it more readable. If the Simulator wasn't present, line 18 would go all the way to the right with green, blue So something like: HelloAndWelcome .takeACoffee() .sitDown() .letsChat() Could also be written like: HelloAndWelcome.takeACoffee().sitDown().letsChat() @AdrienVillez
@@CodeWithChris Thank you for replying me. Actually, at 5:37, you selected the whole content, and said " let me go up here", where is "here"? It should be at the upper left corner somewhere. I cannot see it through the video, where did you click. Thank you. I am really an annoying guy.
oops, my bad on this, I should have move the video upward in the editing instead of just focusing on the code. Chris did this: studyswift.blogspot.com/2016/08/xcode-tip-hotkey-to-format-indentation.html @AdrienVillez
What about a calendar in landscape mode and multiple views? What about an app which is about learning something and user can unlock different parts of a car for example new wheels and build a great car due process? In General I Wonder how animations are done in app development or apps with databases
CodeWithChris yeah sort of. For example if you would implement a math class, students can compare themselves with others and have fun while learning math
When you did the additional padding for the spin button using an array with .trailing and .leading, could you also have just used .horizontal instead or is that not the same?
Hello, its not really the same, the padding would mean that add a pad of 30 to both the trailing and the leading, so it will resize tthe button and make it bigger so it can conform to the trailing and leading pad.. if it was just horizontal then it would not resize and just be at the center like it already is - Francis
Hello, our swiftUI videos could help you slowly build the app/interface that you want. if you go back the first swiftUI video has lists and values/pages to it so thats a good starting point - Francis
@@CodeWithChris Hi Francis, I've researched a little bit about app UI design and put up three pages like this: drive.google.com/open?id=1OIcRrJYVr_aRo0mGKqWR7yq1cTAh_s4h. Thank you so much for your encouragement! I will keep going on writing code in swiftUI next.
I'm watching these videos now and noticed they were created in 2020 with Xcode v 11.3. I have Xcode 14.3 and do not have AppDelegate, SceneDelegate, etc. Is this a problem? I'm assuming they are still in Xcode but now hidden for some reason?
I mirrored everything done in the video to a T but still had the “Function declares an opaque return type, but had no return statements in its body from which to infer an underlying type”. You initially had that error statement too but it seemed to have resolved itself. How do I get rid of it?
Hello, try xcode's suggestion on what might fix the issue. if you are still having problems try getting more support on our community forum at codecrew.codewithchris.com - Francis
Hey bud, getting stuck at the first hurdle here: .foregroundColor(Color(red: 200/255, green: 143/255, blue: 32/255)) .edgesIgnoringSafeArea(.all) Swift is complaining with "'Int' is not convertible to 'Double'" for my values for the colour red, what gives?
Hello, yes it should be possible, you can probably add a timer and have it trigger a transision (flip) every 0.1/0.25 seconds X number of times read about timers here codewithchris.com/swift-timer/ - Francis
can I have some CodeWithChris links for videos like this one because I really like the videos that you make and my favorites are always the ones where you have an app to make with user functionality thank you, - Maya!
Hiya Chris! Wanted some help with an app I would love to make - I wanted to ask how I can code an app to lock a user out of other apps or their phone completely for a specific amount of time that they have chosen - I want to make this app to allow users to lock away distractions so they can focus on what's important! Thanks in advance for your help and I hope to hear back from you soon!
Hey! I have a question, I am creating my own app, but with a few techniques in this video. I have a question. For the cards, I want to put 5 of them, but how do I make them smaller? I want to fit 5 same-measurement cards in an HStack, but I don't know how to change the size of the cards! Thanks!!!
Hello, i think it would be best to post this on our community forum so we can take a better look at your project, you can change the sizes by changing the values in the storyboard though - Francis
Hello, the idea should be the same and you can use the the AVFoundation no problem ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1htq-c4kVdA.html - Francis
We have a couple of 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
I would like to have an app that lists items and they can be sorted by filters with a second screen to view details of items from the list! Like an inventory
Hello, can you take a look at this article to see if it helps? codewithchris.com/xcode-errors/ also you can try slowly putting breakpoints in your app to determine what the problem is it might be a wrong datatype or some unknown function - Francis
I followed your tutorial and really enjoyed it, but, when i want to have a look at my app and see the pictures, I am kind of disappointed. Though I am using pdf for vector graphics and scaling, the images are blurry as hell, what they are not, if I look at them on my mac. :( Is there any cool trick to get images crispy sharp?
Hello, make sure the images are nice and big so xcode can just scale it down, remember that apple screens have large resolutions (due to retina display) so its best to have it relatively big and let the app handle it. you can also try using Sketch in making your designs as it will work easily as assets in xcode - Francis
Hello, @TheSherYang! We apologize for the confusion! You may want to try our latest introductory video instead. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-K0t-RCSlasE.html Hope that helps! Thanks for taking the time to comment! --Joash
Basically ok.... except for the Color.pink Lol. 👍🏻🤣 However... there are things that were presented that beginners might be unclear about... Stacks - ZStacks, VStack and HStack... I know what they are but it would be nice to explain the Z, V prefixes in addition to the H prefix. Z usually represents depth. In this case, and in views, the first added item goes to the “back”, the next item in front of that and so on. I have seen so many beginners get confused with the concept of depth while viewing a 2D UI - Specifying fractions for color. Beginners might not be savvy about this. Your desired values were integers, but the system needs doubles. So the fractions are necessary to convert from integer to double - @State private - The explanation of @State seemed minimal and no explanation of private I don’t know Swift UI, but there seemed to be a ridiculous amount of *self.* ’s in there. Not a big fan of that. Too much like not @synthesize’ing in Objective-C.
Hello, this is because this is not the first tutorial of the SwiftUI series, this is for the more familiar with it to build their first game app - Francis