iOS dev

  • Archive
  • RSS

New Objective-C Literal Syntax for NSArray, NSDictionary

Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, NSNumber, and boolean literals. This includes both Sema and Codegen support. Included is also support for new Objective-C container subscripting. My apologies for the large patch. It was very difficult to break apart. The patch introduces changes to the driver as well to cause clang to link in additional runtime support when needed to support the new language features. Docs are forthcoming to document the implementation and behavior of these features. Ted Kremenek
More is here …

    • #llvm
    • #objective-c
    • #ObjC
    • #nsdictionary
    • #nsarray
    • #nsnumber
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

LLVM 4.0 Compiler

cocoaheads:

Xcode now includes the Apple LLVM Compiler version 4.0, including the following new Objective-C language features:

  • Default @synthesize: automatically synthesizes an @property when unimplemented
  • Objective-C literals: create literals for NSArray, NSDictionary, and NSNumber, just the same as the literals for NSString
  • Objective-C container subscripting: use ‘[]’ syntax to access containers such as NSArray and NSDictionary
    • #llvm
    • #xcode
  • 1 year ago > cocoaheads
  • 7
  • Comments
  • Permalink
  • Share
    Tweet

BlockRuntime project allows to use blocks on iOS < 4 

BlockRuntime project on github

    • #iosdev
    • #blocks
    • #llvm
    • #github
  • 2 years ago
  • 5
  • Comments
  • Permalink
  • Share
    Tweet

About

Get In Touch

  • @dmytrogolub on Twitter
  • dmytro_golub on Flickr
  • Linkedin Profile
  • pigeon on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr