Nolan Waite

Results 51 comments of Nolan Waite

Hello! I’m not sure I understand 100% so forgive me if I'm off base here. I think you reached for `childElementNodes` because you needed an `NSArray` but had an `NSOrderedSet`....

I think `childNodes` is a good idea. `NSOrderedSet` isn't a very common collection so the weirdness with the `array` property isn't obvious, and I doubt you're the first person to...

Sorry for the delay in getting back to you, and thank you for your patience! Just to make sure I understand, how does the output you're looking for differ from...

@EternalPhane looks about right. Still not sure if it solves the original issue though.

Hello! By my interpretation of the spec, I believe it is correct behaviour for the `img` element to end up a child of the `div`. The brief explanation is that...

Hello! I see you've answered your own question, and that's the right way to go about it. I'm guessing you're not the only one wondering, and in either case some...

Hello! Did your HTML make it into the issue intact? If not, try surrounding it in backticks or triple-backticks to preserve the formatting. Otherwise I'm left to guess at what's...

I'm still a bit suspicious that your text is actually HTML. Is it possible it's actually XML, or something else entirely? If you put `` into an HTML document, it'll...

It looks like XML to me, so you could try using `NSXMLParser` (built in to iOS and OS X) or a library like [KissXML](https://github.com/robbiehanson/KissXML) (there are many, many XML libraries...

There are fundamentally two ways to go about it: focus on the content to keep; or discard unwanted content. I'm not sure which one makes more sense in the context...