I'm trying to
fetchAll within the Photos framework, and it looks like I need to use one of these enums.
How do I reference those within Ruby Motion? All variations I've tried give me uninitialized constant errors. When I try to just use the value they're assigned the whole world crashes and a report gets sent to Apple.
(main)> PHAsset.fetchAssetsWithMediaType(1, options: nil)
Objective-C stub for message `fetchAssetsWithMediaType:options:' type `@@:q@' not precompiled. Make sure you properly link with the framework or library that defines this message.
Anything that can point me in the right direction is much appreciated!