Vuo  1.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Class Methods | List of all members
VuoRunnerCocoa(Conversion) Category Reference

Description

Methods for converting between Cocoa types and Vuo types.

Class Methods

(id) + cocoaObjectWithVuoValue:ofType:
 Given the specified vuoValue (serialized as JSON), returns a Cocoa object.
 
(json_object *) + vuoValueWithCocoaObject:
 Given the specified Cocoa object, returns a Vuo value (serialized as JSON).
 
(NSImage *) + nsImageWithVuoImage:
 Converts the provided VuoImage to an NSImage.
 
(NSArray *) + menuItemsForType:
 Returns an NSArray where each element is an NSDictionary with 2 keys: value (NSString) and name (NSString).
 

Method Documentation

+ (id) cocoaObjectWithVuoValue: (json_object *)  vuoValue
ofType: (string)  type 

Given the specified vuoValue (serialized as JSON), returns a Cocoa object.

See Also
valueForOututPort:

Extends class VuoRunnerCocoa.

+ (NSArray *) menuItemsForType: (string)  type

Returns an NSArray where each element is an NSDictionary with 2 keys: value (NSString) and name (NSString).

Extends class VuoRunnerCocoa.

+ (NSImage *) nsImageWithVuoImage: (VuoImage vi

Converts the provided VuoImage to an NSImage.

Extends class VuoRunnerCocoa.

+ (json_object *) vuoValueWithCocoaObject: (id)  value

Given the specified Cocoa object, returns a Vuo value (serialized as JSON).

See Also
setValue:forInputPort:

Extends class VuoRunnerCocoa.


The documentation for this category was generated from the following files: