{"action":"created","issue":{"url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/585","repository_url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel","labels_url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/585/comments","events_url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/585/events","html_url":"https://github.com/TTTAttributedLabel/TTTAttributedLabel/issues/585","id":107249155,"number":585,"title":"Xcode 7 Warning - Address of NSLinkAttributeName will always evaluate to true","user":{"login":"icecreammatt","id":1154569,"avatar_url":"https://avatars.githubusercontent.com/u/1154569?v=3","gravatar_id":"","url":"https://api.github.com/users/icecreammatt","html_url":"https://github.com/icecreammatt","followers_url":"https://api.github.com/users/icecreammatt/followers","following_url":"https://api.github.com/users/icecreammatt/following{/other_user}","gists_url":"https://api.github.com/users/icecreammatt/gists{/gist_id}","starred_url":"https://api.github.com/users/icecreammatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icecreammatt/subscriptions","organizations_url":"https://api.github.com/users/icecreammatt/orgs","repos_url":"https://api.github.com/users/icecreammatt/repos","events_url":"https://api.github.com/users/icecreammatt/events{/privacy}","received_events_url":"https://api.github.com/users/icecreammatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-18T18:03:54Z","updated_at":"2016-03-08T07:38:25Z","closed_at":null,"body":"I'm getting this warning in xcode. From what I can tell this if check is looking at the memory address of \r\n`UIKIT_EXTERN NSString * const NSLinkAttributeName NS_AVAILABLE(10_0, 7_0);                // NSURL (preferred) or NSString`\r\n\r\nIs that the intent?\r\n\r\nhttps://github.com/TTTAttributedLabel/TTTAttributedLabel/blob/master/TTTAttributedLabel/TTTAttributedLabel.m#L1178\r\n\r\n![screen shot 2015-09-18 at 11 03 17 am](https://cloud.githubusercontent.com/assets/1154569/9966999/e93d1814-5df4-11e5-870a-deb297b0e9e6.png)\r\n"},"comment":{"url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/comments/193650731","html_url":"https://github.com/TTTAttributedLabel/TTTAttributedLabel/issues/585#issuecomment-193650731","issue_url":"https://api.github.com/repos/TTTAttributedLabel/TTTAttributedLabel/issues/585","id":193650731,"user":{"login":"wangruofeng","id":7723141,"avatar_url":"https://avatars.githubusercontent.com/u/7723141?v=3","gravatar_id":"","url":"https://api.github.com/users/wangruofeng","html_url":"https://github.com/wangruofeng","followers_url":"https://api.github.com/users/wangruofeng/followers","following_url":"https://api.github.com/users/wangruofeng/following{/other_user}","gists_url":"https://api.github.com/users/wangruofeng/gists{/gist_id}","starred_url":"https://api.github.com/users/wangruofeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangruofeng/subscriptions","organizations_url":"https://api.github.com/users/wangruofeng/orgs","repos_url":"https://api.github.com/users/wangruofeng/repos","events_url":"https://api.github.com/users/wangruofeng/events{/privacy}","received_events_url":"https://api.github.com/users/wangruofeng/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T07:38:25Z","updated_at":"2016-03-08T07:38:25Z","body":"you can just do this to make complier shutdown\r\n `#pragma clang diagnostic push\r\n#pragma clang diagnostic ignored \"-Wpointer-bool-conversion\"\r\n    if (&NSLinkAttributeName) {\r\n#pragma clang diagnostic pop`"}}