Objective-C++ enriches the syntax available to Objective-C coders when using foundation classes by using simple C++ wrapper objects that support string concatenation and access to foundation container members using subscript notation. This reduces the verbosity of Objective-C code allowing you to focus on the problem while adding features such as sparse arrays, regular expressions and complex recursive data structures.
At it's simplest, to use Objective-C++ use the application to convert your class files in a project to use the Objective-C++ compiler included in Xcode and then patch your project's pre-compilation header (.pch file) to include the header file in this application bundle. Thereafter, where you would use NSString, NSArray and NSDictionary in any class, use the C++ wrappers OOString, OOArray and OODictionary to take advantage of the operators defined as inline functions in the preprocessor header.
Extensively tested in mutiple projects over the last few years, Objective-C++ is compatible with ARC and can be used as an efficient alternative for maintaining reference counts if you haven't made the transition.
Minor changes for compilers in Xcode5. Now includes the Objective-C “InjectionPlugin” for Xcode which allows you to make changes to class implementations without restarting your application during development.
Share with Others
- Last changed:
- Feb 07, 2014
- Developer Tools
- John Holdsworth
- Average Rating:
- 4.00 (5)
- 2.1 MB
- Other Apps By This Developer
• ColorMail - Color Email iPhone & iPad
• DrawMail - Draw Emails on iPhone
• FindSpace - Disk Usage in Tree Form
• Lightning Mobile
• Lightning Web Browser
• OneWorld Translator
• Simplicity Web Browser
• SoundMatrix II - ToneMatrix for iPhone
• TheOracle - Web Multi-Search
• Video Call for iPhone
• Visual Web
• iRail European Rail Timetables
• iRail European Timetables for iPad