Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

C was easy but not Objective-c

I am currently on the IOS course. I finished the intro to C. It was fairly easy and fun. Then they came at me with Objective-c. It's so hard! I don't get any of it at all! Does it get better if I just push through and wait it out? I can't seem to understand any of it. HELP!

5 Answers

Ricky Catron
Ricky Catron
13,023 Points

Have you been practicing on your own outside of the site?

Additionally when learning any higher level programming language there is a lot of magic going on under the surface. This may confuse you at first but as you advance it will become second nature and you will begin to understand.

If you don't understand a bit of code or theory google it and search around. If you can't find anything then post it here and we will try to explain it. If you push through and practice you will get it.

How would I practice Objective-c if I haven't learned it...

Ricky Catron
Ricky Catron
13,023 Points

Working through each bit of code with the instructor and practicing each bit over and over.

Daniel Quaidoo
Daniel Quaidoo
23,937 Points

Practice makes perfect and in my opinion concepts in Objective-C are much easier to grasp than in Android Programming.

Programming is not easy, if it were everyone would be able to do it. Objective-C was hard for me to learn initially because of the syntax i.e the insane method/message names and the @'s and [ ] symbols. You get used to it though. Also C is procedural and Objective-C is Object Oriented. OOP programming is not the most intuitive thing if you generally have a linear thought process.

Honestly the instructional videos are great for learning; however, for a language like Objective-C I would really suggest taking the time to try and come up with your own very simple app ideas, e.g changing text on a screen with a button, or changing background colors, etc. This may seem silly but a large portion of programming is problem solving as in how would i make this idea work with tools I have got. The videos are very helpful and the instructors go into great detail about all the pieces to the tutorial.

Also, learn other languages too. Ruby on Rails actually helped me a lot with objective-c. Try swift, html, javascript, etc.

Use all your resources, the stuff on this site is great, there is also a huge amount of tips on places like stackoverflow and other website forums which have answered a lot of my problems.

Chris McKnight
Chris McKnight
11,045 Points

It takes a large amount of time and practice. One of the most difficult parts of iOS development was learning XCode. If you intend to use XCode, spending a week learning XCode is not uncommon. I think you should look around stackoverflow and piazza if you have specific issues. I also suggest you look at Stanford cs193p. Paul Hegarty teaches the basics of Objective-C extremely well. Make sure you complete the walkthrough!