How To Make An iPhone App - [Recap] Hello World Demo XCode Practice App

preview_player
Показать описание
Get a customized roadmap for your app and start building it in 7 days:

Note: This tutorial is updated with annotations for Xcode 5 but was recorded in Xcode 4.

My goal is to teach a beginner how to make an iPhone app from scratch. It's not as hard as you may think!

All you need are some basics under your belt and then from there on out, it's all practice. In fact, I failed on my first try to learn iOS programming:

My approach to teaching you how to make an iphone app is going to be very practical and I HIGHLY recommend that you follow along on your own computer with XCode. Treat this like taking a real course and I'll help you along the way by answering any questions.

After learning and practicing the basics of iOS programming and getting the hang of using XCode, we'll progress to build more and more complex applications!

My channel, CodeWIthChris, is about all the aspects of building iOS apps. I'll post video tutorials on Objective C, XCode, how to submit apps to the Apple App Store, and tutorials on building various types of apps or integrating things like analytics, advertisements etc. You might even find the odd app review here or there!

Intro music

Keywords: how to make an iphone app, how to make iphone apps, xcode tutorial, ios programming tutorial, ios tutorial
Рекомендации по теме
Комментарии
Автор

Thanks man :) That's what i'm trying to do... to actually teach so that people like you can learn it and understand! Thanks for watching and supporting!

CodeWithChris
Автор

Thanks for your support! Definitely planning to continue releasing videos :)

CodeWithChris
Автор

I fully intend to! :) I'm trying to do both text and video versions for each lesson. Right now the text versions are ahead but I'm focusing on Videos this week. I can't be the only one on YT doing this! lol Thanks for watching!

CodeWithChris
Автор

Hey Shiva, sure!
The "self" keyword refers to the view controller.
".view" refers to the property named view.
So we're referring to the view controller's view.

"addSubview" is a method of the view which is used to add UIViews and UIElements onto the view.

"label" is a variable pointing to the UILabel object which we're passing into the "addSubview" method to add it to the view.

Hope that helps!

CodeWithChris
Автор

Hey Yusef, thanks for watching :)
Yeah, learning anything will be hard! Just like learning Guitar or Piano!

CodeWithChris
Автор

Hello! The upper left corner is 0, 0 and the max dimension depends on the screen size but for example, non retina iphone screens are 320px wide and 480px in height.

CodeWithChris
Автор

Hey Gabe, if you start a new project and you run the project, do you see a white screen instead?? If so, then that's correct and then from there, try to add an element or two into the storyboard and run the project again, each time making sure that it appears on the screen.. and then you can determine at what point (or what action) is causing the simulator not to show anything!

CodeWithChris
Автор

Planning to release the next one tomorrow!

CodeWithChris
Автор

Hey Will, that code looks right to me.
Can you confirm where you wrote that code? May cut and paste the whole method? Thanks!

CodeWithChris
Автор

Hey Damien, try this.. go into the storyboard and delete all of the elements in the view. Then go into the header file and delete all of the properties you created.
Now go back into the storyboard and drag the elements onto the view again and make the connections again. The problem is usually because the element in the view is connected to a property that doesn't exist anymore. You can right-click the element to bring up a menu and see what the connections are.

CodeWithChris
Автор

Hello! You're right that Java is also OOP; it's the classification of programming language. In short, YES you can carry over all of the OOP concepts to objective C! The syntax may be different, but the ideas/concepts behind are similar.

CodeWithChris
Автор

Hey Ralphie, that's awesome :) You should be able to grasp these concepts more easily! The next 3 videos are coming this week but the article versions are already done! Just go to my site and click "Start Here" at the top and you'll see the text versions for the next 2 lessons. Thanks for watching!

CodeWithChris
Автор

Yeah, these concepts can be difficult to grasp at first but once you do, you'll be on your way!

CodeWithChris
Автор

Hello! Yeah, i realize this one introduces quite a bit, but you can do it! Please rewatch it a few times and ask me any questions to clarify any confusion! :)

CodeWithChris
Автор

Hey Robert, can you reply here with what you wrote and also which file you wrote it in? Thanks!

CodeWithChris
Автор

You should watch my "Basics" series which you can find if you look at my video library. Thanks!

CodeWithChris
Автор

Hello michael! Thanks for commenting. I think these aren't the tutorials you're looking for unfortunately.. we're covering Objective-C which will be different from C and C++! If your second year module is making iOS apps, then that IS something that you can learn here :)
Good luck with your course!

CodeWithChris
Автор

That's amazing Adrien :) Thank you!

CodeWithChris
Автор

Hey Austin, my personal opinion (and i may be a little biased) is that technology skills are just going to be more in demand in the future. At the end of the day, if you have a passion for something, then you'll likely become very good at it, and if you're really good at something, someone will hire you to do it :)

CodeWithChris
Автор

I'm going to re-watch the video quite a few times, just so it can get in my head. Great tutorial once again, Chris :)

JAMamation