Wednesday, August 14, 2013 [Tweets] [Favorites]

Adding More Objective-C Literals to Clang

Stuart Carnie in 2012 (via Ole Begemann):

Truthfully, I’ve wanted an excuse to hack on Clang and this seemed small enough in scope to achieve in a day.  I threw out the idea of NSURL literals being represented by a @@ prefix, so the following line would compile:

NSURL *url = @@"http://apple.com"

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment