Inherits from UIViewController
Conforms to DTNotePadViewDelegate
Declared in DTNotePadViewController.h

Overview

View Controller containing a DTNotePadView. To use instantiate it with initWithText: and set the delegate, then present it modally or in a popover.

Tasks

Creating a View Controller

Getting Information

Properties

delegate

The delegate of the receiver implementing the DTNotePadViewControllerDelegate protocol

@property (nonatomic, assign) id<DTNotePadViewControllerDelegate> delegate

Declared In

DTNotePadViewController.h

mode

The current editing mode. Can be DTNotePadModeNew or DTNotePadModeEditing.

@property (nonatomic, assign) DTNotePadMode mode

Declared In

DTNotePadViewController.h

notePadView

The DTNotePadView of the receiver

@property (nonatomic, readonly) IBOutlet DTNotePadView *notePadView

Declared In

DTNotePadViewController.h

originalText

The original text before the user made any changes

@property (nonatomic, retain) NSString *originalText

Declared In

DTNotePadViewController.h

userData

Some user data that can be used for storing context information for the receiver

@property (nonatomic, retain) id userData

Declared In

DTNotePadViewController.h

Instance Methods

initWithText:

Designated Initializer.

- (id)initWithText:(NSString *)noteText

Parameters

noteText

The initial note text to set

Declared In

DTNotePadViewController.h