I'm trying to find the number of strings that have a url attribute in an attribute string. For example, I'd have something like this: @"Hello there my name is Michael".
name is a string with a url property like this {URL: "www.google.com"}.
I want to find the number of strings with urls in my attributed string. I tried to use enumerateAttributes over my string but this only returned attributes that apply to the whole string. When I print out my string I can clearly see that there are strings with this attribute. How can I access them?