NSScanner(HTML) Category Reference
| Declared in | NSScanner+HTML.h |
Instance Methods
scanCSSAttribute:value:
Scans for a CSS attribute used in CSS style sheets
- (BOOL)scanCSSAttribute:(NSString *__autoreleasing *)name value:(id __autoreleasing *)valueParameters
- name
An optional output parameter that will contain the name of the scanned attribute if successful
- value
An optional output parameter that will contain the value of the scanned attribute if successful. This value may be a string or an array.
Return Value
YES if an URL String could be scanned
Declared In
NSScanner+HTML.hscanCSSURL:
Scans for URLs used in CSS style sheets
- (BOOL)scanCSSURL:(NSString *__autoreleasing *)urlStringParameters
- urlString
An optional output parameter that will contain the scanned URL string if successful
Return Value
YES if an URL String could be scanned
Declared In
NSScanner+HTML.hscanHTMLColor:
Scans for a typical HTML color, typically either #FFFFFF, rgb(255,255,255) or a HTML color name.
- (BOOL)scanHTMLColor:(DTColor *__autoreleasing *)colorParameters
- color
An optional output parameter that will contain the scanned color if successful
Return Value
YES if a color could be scanned
Declared In
NSScanner+HTML.hscanHTMLColor:HTMLName:
Scans for a typical HTML color, typically either #FFFFFF, rgb(255,255,255) or a HTML color name.
- (BOOL)scanHTMLColor:(DTColor *__autoreleasing *)color HTMLName:(NSString *__autoreleasing *)nameParameters
- color
An optional output parameter that will contain the scanned color if successful
- name
An optional output parameter that will contain the HTML color string
Return Value
YES if a color could be scanned
Declared In
NSScanner+HTML.h