// // RSHTMLLinkParser.h // RSParser // // Created by Brent Simmons on 8/7/16. // Copyright © 2016 Ranchero Software, LLC. All rights reserved. // @import Foundation; /*Returns all some_text as RSHTMLLink object array.*/ @class RSXMLData; @class RSHTMLLink; @interface RSHTMLLinkParser : NSObject + (NSArray *)htmlLinksWithData:(RSXMLData *)xmlData; @end @interface RSHTMLLink : NSObject // Any of these, even urlString, may be nil, because HTML can be bad. @property (nonatomic, readonly) NSString *urlString; //absolute @property (nonatomic, readonly) NSString *text; @property (nonatomic, readonly) NSString *title; //title attribute inside anchor tag @end