{"action":"created","issue":{"url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/82","repository_url":"https://api.github.com/repos/blstream/StudyBox_iOS","labels_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/82/comments","events_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/82/events","html_url":"https://github.com/blstream/StudyBox_iOS/pull/82","id":151232676,"number":82,"title":"Feature/sb 228 watch extension","user":{"login":"kacper1703","id":12765428,"avatar_url":"https://avatars.githubusercontent.com/u/12765428?v=3","gravatar_id":"","url":"https://api.github.com/users/kacper1703","html_url":"https://github.com/kacper1703","followers_url":"https://api.github.com/users/kacper1703/followers","following_url":"https://api.github.com/users/kacper1703/following{/other_user}","gists_url":"https://api.github.com/users/kacper1703/gists{/gist_id}","starred_url":"https://api.github.com/users/kacper1703/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacper1703/subscriptions","organizations_url":"https://api.github.com/users/kacper1703/orgs","repos_url":"https://api.github.com/users/kacper1703/repos","events_url":"https://api.github.com/users/kacper1703/events{/privacy}","received_events_url":"https://api.github.com/users/kacper1703/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T20:35:09Z","updated_at":"2016-05-04T15:14:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/82","html_url":"https://github.com/blstream/StudyBox_iOS/pull/82","diff_url":"https://github.com/blstream/StudyBox_iOS/pull/82.diff","patch_url":"https://github.com/blstream/StudyBox_iOS/pull/82.patch"},"body":"Watch Extension:\r\n- Dodany target na Watch\r\n- Przesyłanie danych na Watch odbywa się za pomocą `applicationContext`:\r\n\r\n> Use the updateApplicationContext:error: method to communicate recent state information to the counterpart. When the counterpart wakes, it can use this information to update its own state. This method overwrites the previous data dictionary, so use this method when your app needs only the most recent data values. Remember that background transfers are not be delivered immediately. The system sends data as quickly as possible but transfers are not instantaneous, and the system may delay transfers slightly to improve power usage. Also, sending a large data file requires a commensurate amount of time to transmit the data to the other device and process it on the receiving side. \r\n\r\n- Zmiany w podsach są spowodowane koniecznością przeinstalowania CocoaPods (nie widział Realma)\r\n- Zegarek ma swój własny Realm i osobną bazę pytań\r\n- `WatchDataManager` będzie w przyszłości także służył do aktualizowania danych w przypadku zmian w fiszkach (np. poprawa pytania lub odpowiedzi, dodanie podpowiedzi)\r\n- Poprawiony `SettingsDetailViewController` pod względem wyglądu kodu i dopasowaniu do danych przesyłanych na Watch \r\n\r\nNawigacja na Watch:\r\n- Należy otworzyć apkę na iPhone, w ustawieniach wybrać talię (lub talie) i wrócić do ustawień (wysyłanie wykonuje się w `ViewWillDisappear`).\r\n- Po otworzeniu apki na Watch jeśli UI pokazuje że nie ma danych należy użyć Deep Press (Cmd+Shift+2 w symulatorze) aby odświeżyć dane. \r\n- W trakcie testu na ekranie pytania także użyć Deep Press aby przełączyć widok między pytaniem a podpowiedzią."},"comment":{"url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/comments/216897022","html_url":"https://github.com/blstream/StudyBox_iOS/pull/82#issuecomment-216897022","issue_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/82","id":216897022,"user":{"login":"kacper1703","id":12765428,"avatar_url":"https://avatars.githubusercontent.com/u/12765428?v=3","gravatar_id":"","url":"https://api.github.com/users/kacper1703","html_url":"https://github.com/kacper1703","followers_url":"https://api.github.com/users/kacper1703/followers","following_url":"https://api.github.com/users/kacper1703/following{/other_user}","gists_url":"https://api.github.com/users/kacper1703/gists{/gist_id}","starred_url":"https://api.github.com/users/kacper1703/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacper1703/subscriptions","organizations_url":"https://api.github.com/users/kacper1703/orgs","repos_url":"https://api.github.com/users/kacper1703/repos","events_url":"https://api.github.com/users/kacper1703/events{/privacy}","received_events_url":"https://api.github.com/users/kacper1703/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T15:14:11Z","updated_at":"2016-05-04T15:14:11Z","body":"Czekamy na zrobienie backendu."}}