May 2010
1 post
4 tags
Objective-C for PHP Developers: Strings as...
After the long introductory post, I decided that it would be more beneficial to look at individual aspects of Objective-C instead of having long posts.
Using strings as variable names:
One of the features that I love about PHP and is lacking in many languages is the ability to use a string to represent a variable name. In PHP, the code looks something like this:
<?php
$a = 'hello world!';
$b =...