[fbcocoa] Re: [fbcocoa] passing FB strings to C methods

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2012 : Group Archive : Group : All Groups

From: Steve <mactech@...>
Date: Thu, 03 May 2012 10:48:25 -0400
A method has the following hard coded string and I want to replace the @"Send Data" with a FB global that says "Hello World"

The FB Global is a CFMutableStringRef
This method below is in a .m file and included in the FB project

- (void) logData
{
      NSLog(@"Send Data");
}


dim as CFMutableStringRef   gCFMutableStringRef
gCFMutableStringRef = @"Hello World"  

The goal is effectively do this 

- (void) logData
{
     // insert method to get gCFMutableStringRef set in FB without the need to extern?
      NSLog( gCFMutableStringRef)
}