Represents an exception-safe Cocoa NSString which behaves like a shared_ptr but can implicitly cast itself to NSString*. More...
#import <CinderCocoa.h>
Public Member Functions | |
() | - SafeNsString |
() | - SafeNsString |
Creates a SafeNsString using an existing NSString. This constructor automatically increments the retain count. | |
() | - SafeNsString |
Creates a SafeNsString by converting a std::string. | |
() | - operator NSString *const |
() | - operator std::string |
Represents an exception-safe Cocoa NSString which behaves like a shared_ptr but can implicitly cast itself to NSString*.
- cinder: |
- cinder: | (NSString *) | str |
Creates a SafeNsString using an existing NSString. This constructor automatically increments the retain count.
- cinder: | (const std::string &) | str |
Creates a SafeNsString by converting a std::string.
- cinder: |
- cinder: | const |