Error message "Use of Undeclared identifier "field"" : <p>Im trying to create a button to copy images that are in my application and when I enter the code in Xcode I receive a error messege saying Error message "Use of Undeclared identifier "field"" I've been trying to solve this for several days now and i just can't figure it out
    #import "ViewController.h"</p>

<pre><code>@implementation ViewController

-(IBAction)copyimage:(id)sender {
    pasteboard.string = field.copyimage;
}
-(IBAction)pasteimage:(id) sender{
}
- (void)viewDidLoad {
    [super viewDidLoad];

    pasteboard = [UIPasteboard generalPasteboard];
    // Do any additional setup after loading the view, typically from   a nib.
}
</code></pre>
