Unit Testing

When testing private methods the compiler generates warning messages such as:
“Instance MethodheaderEncodingFromXML:not found.”
The solution is to add an Informal Protocol:

@interface SegmentedParse (TestingInformalProtocol)

- (NSString *)headerEncodingFromXML:(NSString *)xml;

@end

About zaph

Long term Mac/iOS & Cocoa developer.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply