{"action":"created","issue":{"url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/1","labels_url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/1/comments","events_url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/1/events","html_url":"https://github.com/Roobiq/RealmUtilities/pull/1","id":82629547,"number":1,"title":"Add RLMArray+Utilities","user":{"login":"yuuki1224","id":1756640,"avatar_url":"https://avatars.githubusercontent.com/u/1756640?v=3","gravatar_id":"","url":"https://api.github.com/users/yuuki1224","html_url":"https://github.com/yuuki1224","followers_url":"https://api.github.com/users/yuuki1224/followers","following_url":"https://api.github.com/users/yuuki1224/following{/other_user}","gists_url":"https://api.github.com/users/yuuki1224/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki1224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki1224/subscriptions","organizations_url":"https://api.github.com/users/yuuki1224/orgs","repos_url":"https://api.github.com/users/yuuki1224/repos","events_url":"https://api.github.com/users/yuuki1224/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki1224/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T23:37:11Z","updated_at":"2015-05-30T00:06:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Roobiq/RealmUtilities/pulls/1","html_url":"https://github.com/Roobiq/RealmUtilities/pull/1","diff_url":"https://github.com/Roobiq/RealmUtilities/pull/1.diff","patch_url":"https://github.com/Roobiq/RealmUtilities/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/comments/106965137","html_url":"https://github.com/Roobiq/RealmUtilities/pull/1#issuecomment-106965137","issue_url":"https://api.github.com/repos/Roobiq/RealmUtilities/issues/1","id":106965137,"user":{"login":"bigfish24","id":1036685,"avatar_url":"https://avatars.githubusercontent.com/u/1036685?v=3","gravatar_id":"","url":"https://api.github.com/users/bigfish24","html_url":"https://github.com/bigfish24","followers_url":"https://api.github.com/users/bigfish24/followers","following_url":"https://api.github.com/users/bigfish24/following{/other_user}","gists_url":"https://api.github.com/users/bigfish24/gists{/gist_id}","starred_url":"https://api.github.com/users/bigfish24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigfish24/subscriptions","organizations_url":"https://api.github.com/users/bigfish24/orgs","repos_url":"https://api.github.com/users/bigfish24/repos","events_url":"https://api.github.com/users/bigfish24/events{/privacy}","received_events_url":"https://api.github.com/users/bigfish24/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T00:06:23Z","updated_at":"2015-05-30T00:06:23Z","body":"I think the better way to do this would be:\r\n\r\n```objc\r\n- (BOOL)containsObject:(RLMObject *)anObject\r\n{\r\n    if ([self indexOfObject:anObject] != NSNotFound) {\r\n        return YES;\r\n    }\r\n    \r\n    return NO;\r\n}\r\n```\r\nAlso, the documentation still reads:\r\n>Retrieve the primary key for a given RLMObject"}}