{"action":"created","issue":{"url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/5","labels_url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/5/comments","events_url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/5/events","html_url":"https://github.com/bigfish24/ABFRealmMapView/issues/5","id":111441242,"number":5,"title":"Not working with PureLayout","user":{"login":"ppamorim","id":5521682,"avatar_url":"https://avatars.githubusercontent.com/u/5521682?v=3","gravatar_id":"","url":"https://api.github.com/users/ppamorim","html_url":"https://github.com/ppamorim","followers_url":"https://api.github.com/users/ppamorim/followers","following_url":"https://api.github.com/users/ppamorim/following{/other_user}","gists_url":"https://api.github.com/users/ppamorim/gists{/gist_id}","starred_url":"https://api.github.com/users/ppamorim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppamorim/subscriptions","organizations_url":"https://api.github.com/users/ppamorim/orgs","repos_url":"https://api.github.com/users/ppamorim/repos","events_url":"https://api.github.com/users/ppamorim/events{/privacy}","received_events_url":"https://api.github.com/users/ppamorim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-14T16:49:42Z","updated_at":"2015-10-14T17:01:19Z","closed_at":null,"body":"I tried to use this library with PureLayout (auto layout ifself). But it have some problems, I think that`s is a problem with Swift 2 too.\r\n\r\nSource code of the sample of the error, you can fork/download it and try yourself: https://github.com/ppamorim/Fun-with-Swift/blob/master/Fun%20With%20Swift/ABFRealmMapView.swift\r\n\r\n![captura de tela 2015-10-14 as 13 47 08](https://cloud.githubusercontent.com/assets/5521682/10490969/4a89c13c-727a-11e5-9dbd-d328091b2e3a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/comments/148117700","html_url":"https://github.com/bigfish24/ABFRealmMapView/issues/5#issuecomment-148117700","issue_url":"https://api.github.com/repos/bigfish24/ABFRealmMapView/issues/5","id":148117700,"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-10-14T17:01:18Z","updated_at":"2015-10-14T17:01:18Z","body":"No that's just the path to the realm file. You have to the properties on what the map view will fetch and display from the realm file.\r\n\r\nIn the swift example these are set in the main storyboard:\r\n\r\n<userDefinedRuntimeAttribute type=\"string\" keyPath=\"entityName\" value=\"ABFRestaurantObject\"/>\r\n                                    <userDefinedRuntimeAttribute type=\"string\" keyPath=\"latitudeKeyPath\" value=\"latitude\"/>\r\n                                    <userDefinedRuntimeAttribute type=\"string\" keyPath=\"longitudeKeyPath\" value=\"longitude\"/>\r\n                                    <userDefinedRuntimeAttribute type=\"string\" keyPath=\"titleKeyPath\" value=\"name\"/>\r\n                                    <userDefinedRuntimeAttribute type=\"string\" keyPath=\"subtitleKeyPath\" value=\"phoneNumber\"/>"}}