objective-c Tag

[caption id="attachment_20651" align="alignright" width="150"]Apple Swift logo is a trademark of Apple Inc.[/caption]Apple introduced the Swift programming language at its wwdc14 event yesterday. I spent some time digging through the language documentation. Here are my initial thoughts on some of the more interesting features. The language is much more concise. If you have a background in any C-based language (other than Objective-C), you will be able to...

Read More

If you need to get a matching UIFont object from a CSS definition like "font-family: Arial; font-size: 24px; font-weight: bold;" you have no way to do it with the API that iOS provides for three reasons. First, there is a non-API method on UIFont called +(UIFont*)fontWithMarkupDescription:(NSString*)markupDescription; that could do the conversion/lookup most of the time. Using it will get your App rejected by Apple. Second,  the only...

Read More