concept line in category ios

This is an excerpt from Manning's book Anyone Can Create an App: Beginning iPhone and iPad programming.
Now, what do you need to remember in this big Wild West of programming? The most important thing is to remember the concepts I’m teaching you. It’s more important when starting out to remember the underlying concepts than it is to remember the exact syntax (the arrangement of the words and symbols used in programming) of the lines at this point.
Now you can compare the two variables—but I also asked you to do something new: print the word yes. Printing out a line is helpful when you’re coding, because sometimes the code isn’t doing what you think it should be doing. In this case, you want to verify that x is indeed less than y. This is accomplished with the following statement:
print()You can read the line as “print line”—because that’s what it stands for. If you want to print a string like the word “yes,” you put the “yes” between the parentheses like this:

This is an excerpt from Manning's book iPhone in Action: Introduction to Web and SDK Development.
That changed again in 1996 when founder Steve Jobs returned to the fold. Two years later he produced the first candy-colored iMac, a computer that walked the line between computing device, pop culture, and fashion statement. It was just the first of several innovations under Jobs’ watch, the most notable of which was probably 2001’s iPod. The iPod was a masterpiece of portable design. It highlighted a simple and beautiful interface, giving users access to thousands of songs that they could carry with them all the time. But the iPod just whetted the public’s appetite for more.
Lines and curves may be good, but how can you use them to draw actual stuff? As it happens, Canvas has a very limited selection of more complex shapes that you can draw, forcing you to often fall back on your ingenuity.