Type Method
blockTitle(fromFileName:blockType:) blockTitleFromFileName:blockType: blockTitleFromFileName_blockType_
Extracts the title and type of a block from its file name.
Declaration
class func blockTitle(
fromFileName fileName: String,
blockType: UnsafeMutablePointer<GSFeaBlockType>?
) -> String?Declaration
+ (NSString *) blockTitleFromFileName:(NSString *) fileName
blockType:(GSFeaBlockType *) blockType;Declaration
blockTitleFromFileName_blockType_(
fileName: str,
blockType: GSFeaBlockType
) -> strParameters
fileNameThe file name of the block.
blockTypeSet to the type of the block, if non-
NULL.
Return Value
The title of the block, or nil, if the file name is not valid for a block.
Discussion
For features, the title is the tag, for classes and prefixes, the title is the name.