Why is Xcode telling me this variable is undeclared?


Why is Xcode telling me this variable is undeclared?



I am getting the below errors in Xcode, I know I needed to declare filteredChildren so I tried adding the line NSArray *filteredChildren to the header file but it only made things worse. What code do I need to add to the header to delcare filteredChildren?

alt text


Parsing a string to open an URL

1:

Reading SWF Header with Objective-C
Your header should probably look any thing like this:. Hide and Show HUD Window - Cocoa?
@interface SomeClass {     NSArray *filteredChildren; // this should fix the compiler error }  // If the filteredChildren method is public, add this declaration as well to prevent compiler warnings - (NSArray *)filteredChildren;  @end 
Why are alloc and init called separately in Objective-C?

98 out of 100 based on 53 user ratings 808 reviews

@