# Cinder

# src/cinder/cocoa/CinderCocoaTouch.mm File Reference

## Namespaces
namespace | cinder
namespace | cinder::cocoa
## Functions
Surface8u | cinder::cocoa::convertUiImage (UIImage *uiImage, bool assumeOwnership=false)
| Converts a UIImage* into a cinder::Surface8u If assumeOwnership the result will increment the retain count on construction and decrement it upon the its own destruction.
SafeUiImage | cinder::cocoa::createUiImage (const ImageSourceRef imageSource)
void | cinder::cocoa::writeToSavedPhotosAlbum (const ImageSourceRef imageSource)
| Writes an image to the device's Photo Album.