Vvidget Code > API > Mac OS X > Client > View
The View is defined by the VvidgetCodeClientView
class. An instance of that class is used to draw graphical representation of a Dictionary state.
Add the View functionality to your project by adding the VvidgetCode framework.
Definition: | /Library/Frameworks/VvidgetCode.framework/API/VvidgetCodeClientView.h |
Client Framework: | /Library/Frameworks/VvidgetCode.framework |
Shared Frameworks: | /Library/Frameworks/Vvidget_*.framework |
Embedded Frameworks: | /Library/Vvidget/EmbeddedFrameworks/Vvidget_*.framework |
If you use the Embedded Frameworks then you will need to add a build copy phase to your project to copy the Vvidget Frameworks into your application bundle. See Deploy for details.
- (id)get_VC_input_string_constructor
Returns an Input String Constructor that is used by calling code to construct a input string for processing.
|
- (void)VCN_update_using_input_string_constructor
Updates the receiver using its input string constructor. This does not draw the receiver. Call like this:
|
- (void)display
Displays (draws) the receiver. |
To instantiate a VvidgetCodeClientView
class in your application's user interface first load the VvidgetCodeKit Interface Builder plug-in located at /Library/Frameworks/VvidgetCodeKit.framework
. Once loaded simply drag out the VvidgetCodeClientView
instance from the Library. If you use an embedded server then in the view's attribute inspector set the State Location to blank and click Apply. If you use a shared local server then set the State Location to localhost
(or 127.0.0.1
). If you are running a remote Peer Visual Server that accepts network connections then enter the IP address of that server.
The view content is defined by the Input String Constructor. See that class to learn how to alter the view's content.
Please help improve this documentation. If a section is hard to understand, there is a typo, you would like a new section added, or you detect any other improvement that can be made then please email support@vvi.com with your information. |