Re: Xcode build error and undeclared method
Re: Xcode build error and undeclared method
- Subject: Re: Xcode build error and undeclared method
- From: Robert Tillyard <email@hidden>
- Date: Mon, 6 Mar 2006 08:58:18 +0000
I have a very similar project that uses TaskWrapper. I think you have
to add the definition of appendOutput: to RAID.h as it's one of the
methods of the class in RAID.m
Regards, Rob.
On 6 Mar 2006, at 02:48, Matthew Egan wrote:
Hello
First off I will clearly state that I'm a newcomer to Cocoa - and
reading my way through O'Reilly - Learning Cocoa with Objective-C
(nearly finished)
...
I am trying to make a simple (ha!) app that checks the state of a
software RAID ion a Mac OS X Server and emails if the RAID is
broken. I found a project on Apple's developer site called
'Moriarity' that pretty much does what I want to do - with a few
modifications. Basically it shows how to implement a Cocoa GUI that
wraps command-line functionality.
http://developer.apple.com/samplecode/Cocoa/
idxInterapplicationCommunication-date.html
I have knocked up a GUI for it and linked it into RAID.m
Then I selected 'Add to Project' and imported TaskWrapper.h and
TaskWrapper.m from the Moriarity project.
Made a few modifications to RAID.h and RAID.m to link into
TaskWrapper.h and TaskWrapper.m
Essentially I have four main files -
RAID.h
RAID.m
TaskWrapper.h
TaskWrapper.m
I have listed the full details of RAID.h and TaskWrapper.h at the
end of this email.
When I build the project it comes up with an error with one of the
methods in RAID.m
- (void)appendOutput:(NSString *)output
error: parse error before ':' token
error: 'appendOutput' undeclared (first used in this function)
...
Thanks
Matt Egan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden