Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
Thanks for your answer, and is text view, a short text with one link and few telephones numbers (that are in blue color too).
How do you put clickable links in a text view? I didn't think that was possible. (But then I've been off doing Mac development for the last several iOS releases, so I might have missed something...)
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
Textviews have an autoparsing property that detects and creates links from phone numbers and URLs. Though I'm not sure how possible it would be to change just the color. There's certainly no direct interface for it.
EDIT: Just dug it out in docs. It's dataDetectorTypes. It can also detect events and addresses. Works for the webview as well.
Textviews have an autoparsing property that detects and creates links from phone numbers and URLs. Though I'm not sure how possible it would be to change just the color. There's certainly no direct interface for it.
EDIT: Just dug it out in docs. It's dataDetectorTypes. It can also detect events and addresses. Works for the webview as well.
How do you put clickable links in a text view? I didn't think that was possible. (But then I've been off doing Mac development for the last several iOS releases, so I might have missed something...)