{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10352","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10352/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10352/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10352/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/10352","id":148038589,"number":10352,"title":"20626872: Xcode-6.2 (6C131e): NSPredicate with \"contains ''\" never evaluates to true","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:serious%20bug","name":"classification:serious bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1","html_url":"https://github.com/lionheart/openradar-mirror/milestones/Developer%20Tools","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1/labels","id":1237415,"number":1,"title":"Developer Tools","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":2866,"closed_issues":20,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2016-04-13T12:02:38Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-13T12:02:38Z","updated_at":"2016-04-13T12:02:38Z","closed_at":null,"body":"#### Description\n\nSummary:\nTrying to evaluate an NSPredicate of the form “contains ‘’” (contains the empty string) never evaluates to true\n\nSteps to Reproduce:\nRun the following swift code:\nimport Foundation\n\nlet strings: NSArray = [\"Hi\", NSNull(), \"\"]\n\nlet predicate: NSPredicate = NSPredicate(format: \"self contains ''\")!\nlet filtered = strings.filteredArrayUsingPredicate(predicate)\n\nExpected Results:\nfiltered == [“Hi”, “”]\n\nActual Results:\nfiltered == []\n\n-\nProduct Version: Xcode-6.2 (6C131e)\nCreated: 2015-04-21T00:35:41.470590\nOriginated: 2015-04-20T17:35:00\nOpen Radar Link: http://www.openradar.me/20626872"}}