Quantcast
Channel: Programming for iOS » Clean Code
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

Don’t Write Confusing Code

Here is a very important lesson that I’ve just begun to learn: Don’t write confusing code. Make sure you know exactly what you plan to do. Think it out, make a solid plan, and organize it mentally. As...

View Article



Image may be NSFW.
Clik here to view.

Comments are Important

Say hello to your friend, the comment. // Comments will make your life a lot easier. /* Don’t be afraid to use a lot of comments. They can only help. */ I know writing comments is extra work. For those...

View Article

Image may be NSFW.
Clik here to view.

Extension 7: Loop Aids

In a loop, you can use the keywords continue; and break; to control the execution of the loop. The continue Keyword In a loop, continue tells the program to begin the next iteration, ignoring any code...

View Article

Image may be NSFW.
Clik here to view.

Design Patterns: Model-View-Controller

As programs get larger, there is a greater need for a paradigm to keep everything in order. At the simplest level, any program is a means to store data and present it in a meaningful way. With only a...

View Article

Image may be NSFW.
Clik here to view.

Design Patterns: Key-Value Observing

Key-Value Observing (KVO) is heavily used in OS X development in bindings and form a significant portion of UI design. However, with iOS, it takes on somewhat less significance and is mostly used as...

View Article

Browsing latest articles
Browse All 5 View Live


Latest Images