My Xcode Experience – Day 1

My first basic table

My first basic table

Programming is not a skill, it’s a habit! Give yourself a challenge for a minimum of 30 days to build your habit.

This is the challenge that Kong issued us at our first meetup on Monday. A group of 20 keen learners and mentors met at Blk 71 to start our iOS coding journey. We’ve come from a variety of backgrounds, some with coding experience and many with none (ahem, me). We’re all brimming with ideas and hopes to start our coding journey!

I’m pleased to share that I was selected for Kong’s iOS class now and I’m sorta going back to level 0 (from level 0.1 lol!) and learning the basics. I’ve kinda started it in the past few weeks but with traveling and what-not, I haven’t really made a lot of progress.

What I’ve found so far that works:

1. Read the tutorials and test the code to see how it appears in the simulator.

2. Try and type out all the code once more (ie redo it).

3. Before you look at the explanations, try to figure it out yourself. I try to figure out the logic behind it by reading the code, referring to stackoverflow and the xcode documentation when I’m stuck. This is also where ctrl-f is my best friend.

I note my learnings too (in Evernote of course). I use Skitch and doodle stuff on my lesson notes (can’t wait to use my moleskine smart notebook to start drawing up my storyboards…)

4. Once I’m done with the learning, I will Evernote the article and read it on the way to work the next morning (this helps to refresh my memory).

Specific examples from this exercise:

Learnt the difference between .h, .m and .xib files:

.xib – interface builder (ie how it your app will look, the UI and what-not)

.h – aka header. You make declarations here. It’s like

.m – aka implementation. So far from what I’ve seen, I think majority of the code goes here (just comparison in terms of code length in the various types of files)

A better explanation (with an analogy) is here on appcoda.

Basically – when I’m fiddling around I’m starting to understand (slowly) where the codes should be…which makes reading the tutorials a lot easier too!

I’ll try to update and track my progress as regularly as possible. If you don’t see me update this page… I’m probably lost in coding-land!

On to Tutorial #4 tomorrow!

ps. Find out about the 30 day Challenge here.

Resources referred to in this entry:
Evernote: http://evernote.com/ Awesome app for remembering stuff
Skitch: http://evernote.com/skitch/ Great visual aid for note-taking and screencapturing
Stackoverflow: http://stackoverflow.com/ Super awesome q&a community for programmers
Xcode: https://developer.apple.com/xcode/ Where all the coding magic happens!

Author: ning

Leave a Reply

Your email address will not be published. Required fields are marked *