{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11011","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11011/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11011/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11011/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/11011","id":148269278,"number":11011,"title":"19726147: Watch App Generated Code Says to Use awakeWithContext: Instead of Init","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:ui/usability","name":"classification:ui/usability","color":"f7c6c7"},{"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":3119,"closed_issues":20,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2016-04-14T07:03:10Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-14T07:03:10Z","updated_at":"2016-04-14T07:03:10Z","closed_at":null,"body":"#### Description\n\nSummary:\r\nWhen creating a new Watch App target, InterfaceController.{h,m} are created for you. awakeWithContext: is stubbed out with a comment that says \"// Configure interface objects here.\". However, according to the documentation, init should be used for setting up and configuring interface objects, and awakeWithContext: should only be used to finish setting things up.\r\n\r\nTo developers new to WatchKit (a.k.a. everyone), this could be very misleading, encouraging use of awakeWithContext: for all setup.\r\n\r\nSteps to Reproduce:\r\n1. Create new iOS app project\r\n2. Create new Watch app target, embedded in the iOS app\r\n\r\nExpected Results:\r\nThe generated code should have \"// Configure interface objects here.\" in the stubbed out init method.\r\n\r\nActual Results:\r\nThe generated code has \"// Configure interface objects here.\" in the stubbed out awakeWithContext: method.\r\n\r\nVersion:\r\nXcode 6.2 beta 5, OS X 10.10.2\n\n-\nProduct Version: Xcode 6.2 beta 5\nCreated: 2015-02-05T04:22:30.428859\nOriginated: 2015-02-04T00:00:00\nOpen Radar Link: http://www.openradar.me/19726147"}}