{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/393","repository_url":"https://api.github.com/repos/Microsoft/WinObjC","labels_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/393/comments","events_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/393/events","html_url":"https://github.com/Microsoft/WinObjC/issues/393","id":140170658,"number":393,"title":"WOCCatalog sample app crashes on launch when run in Debug mode","user":{"login":"triplef","id":6037,"avatar_url":"https://avatars.githubusercontent.com/u/6037?v=3","gravatar_id":"","url":"https://api.github.com/users/triplef","html_url":"https://github.com/triplef","followers_url":"https://api.github.com/users/triplef/followers","following_url":"https://api.github.com/users/triplef/following{/other_user}","gists_url":"https://api.github.com/users/triplef/gists{/gist_id}","starred_url":"https://api.github.com/users/triplef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triplef/subscriptions","organizations_url":"https://api.github.com/users/triplef/orgs","repos_url":"https://api.github.com/users/triplef/repos","events_url":"https://api.github.com/users/triplef/events{/privacy}","received_events_url":"https://api.github.com/users/triplef/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/WinObjC/labels/Under%20Review","name":"Under Review","color":"556b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T12:15:13Z","updated_at":"2016-03-25T22:56:59Z","closed_at":"2016-03-25T22:56:59Z","body":"Running the WOCCatalog sample app in Debug mode using the pre-built release of WinObjC will crash in [DisplayModeViewController:365](https://github.com/Microsoft/WinObjC/blob/master/samples/WOCCatalog/WOCCatalog/DisplayModeViewController.m#L365) when the equivalent of the following code is run (can be reproduced with the following line):\r\n\r\n```obj-c\r\n[UIApplication.displayMode valueForKey:@\"currentMagnification\"]\r\n```\r\n\r\nThis seems to affect calling -valueForKey: on certain properties of the `WOCDisplayMode` UWP bridge class (e.g. `currentMagnification`, `hostWindowSize`), but not other properties like `currentSize`. Accessing these properties directly without KVC works fine.\r\n\r\nNote that this _only_ happens in Debug mode using the latest pre-built release of WinObjC (March 10 or March 4 2016). This does not happen when running the app in Release mode using the pre-built SDK, or when building the SDK from source in either Debug or Release mode."}}