I am new to cocoa / objective-C .. and I am trying to make this work.
this is my function , that i thought would work.
all i want this function to do right now is return a text string
when i try to build and go i get the warning
"assignment makes integer from pointer without a cast."
on the message = line
the two variables archSource and archDest are listed as this in the .h file.
Can anyone help?
Thanks,
P
this is my function , that i thought would work.
all i want this function to do right now is return a text string
PHP:
-(char)actionComp{
char message;
message = @"The Files at location ",archSource, @"Will be compressed to ",archDest;
return message;
}
when i try to build and go i get the warning
"assignment makes integer from pointer without a cast."
on the message = line
the two variables archSource and archDest are listed as this in the .h file.
PHP:
char *archSource,*archDest;
}
@property(readwrite) archSource,archDest;
Can anyone help?
Thanks,
P