{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3386","repository_url":"https://api.github.com/repos/xamarin/xamarin-macios","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3386/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3386/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3386/events","html_url":"https://github.com/xamarin/xamarin-macios/pull/3386","id":293978418,"number":3386,"title":"[registrar] Register models in the static registrar.","user":{"login":"rolfbjarne","id":249268,"avatar_url":"https://avatars0.githubusercontent.com/u/249268?v=4","gravatar_id":"","url":"https://api.github.com/users/rolfbjarne","html_url":"https://github.com/rolfbjarne","followers_url":"https://api.github.com/users/rolfbjarne/followers","following_url":"https://api.github.com/users/rolfbjarne/following{/other_user}","gists_url":"https://api.github.com/users/rolfbjarne/gists{/gist_id}","starred_url":"https://api.github.com/users/rolfbjarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolfbjarne/subscriptions","organizations_url":"https://api.github.com/users/rolfbjarne/orgs","repos_url":"https://api.github.com/users/rolfbjarne/repos","events_url":"https://api.github.com/users/rolfbjarne/events{/privacy}","received_events_url":"https://api.github.com/users/rolfbjarne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-02T18:18:54Z","updated_at":"2018-02-05T20:11:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/pulls/3386","html_url":"https://github.com/xamarin/xamarin-macios/pull/3386","diff_url":"https://github.com/xamarin/xamarin-macios/pull/3386.diff","patch_url":"https://github.com/xamarin/xamarin-macios/pull/3386.patch"},"body":"This means we need to quiet a few types of warnings:.\n\n* Models declares virtual methods of required protocol members. We don't\n  export virtual methods (only when they're overridden are they exported),\n  which results in numerous warnings about protocol members not being\n  implemented:\n\n        Xamarin.Mac.registrar.mobile.x86_64.m:37827:17: warning: method 'deviceBrowserView:selectionDidChange:' in protocol 'IKDeviceBrowserViewDelegate' not implemented [-Wprotocol]\n        @implementation ImageKit_IKDeviceBrowserView__IKDeviceBrowserViewDelegate {\n                        ^\n        /Applications/Xcode92.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/ImageKit.framework/Headers/IKDeviceBrowserView.h:29:1: note: method 'deviceBrowserView:selectionDidChange:' declared here\n        - (void)deviceBrowserView: (IKDeviceBrowserView *)deviceBrowserView selectionDidChange: (ICDevice *)device;\n\n* These two are the same as above, just for properties instead of methods.\n\n        Xamarin.Mac.registrar.mobile.x86_64.m:31988:17: warning: auto property synthesis will not synthesize property 'boundingMapRect' declared in protocol 'MKOverlay' [-Wobjc-protocol-property-synthesis]\n        @implementation MKOverlay {\n                        ^\n        /Applications/Xcode92.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlay.h:24:43: note: property declared here\n        @property (nonatomic, readonly) MKMapRect boundingMapRect;\n                                                  ^\n        Xamarin.Mac.registrar.mobile.x86_64.m:32002:1: note: add a '@synthesize' directive\n        @end\n        ^\n\n        Xamarin.Mac.registrar.mobile.i386.m:28957:17: warning: property 'repeatCount' requires method 'repeatCount' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]\n        @implementation CAMediaTiming {\n                        ^\n        /Applications/Xcode92.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:58:17: note: property declared here\n        @property float repeatCount;\n                ^\n\nIt also means we have to special-case (to skip)\nAVCaptureDataOutputSynchronizer[Delegate] in the registrar for macOS.\n\nThis class and protocol were incorrectly added to our macOS bindings, but\nsince we can't remove them because it would break backwards compatibility, we\nmust skip them manually in the registrar, since the registrar would otherwise\nproduce uncompilable code:"},"comment":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/comments/363206679","html_url":"https://github.com/xamarin/xamarin-macios/pull/3386#issuecomment-363206679","issue_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3386","id":363206679,"user":{"login":"monojenkins","id":11610122,"avatar_url":"https://avatars0.githubusercontent.com/u/11610122?v=4","gravatar_id":"","url":"https://api.github.com/users/monojenkins","html_url":"https://github.com/monojenkins","followers_url":"https://api.github.com/users/monojenkins/followers","following_url":"https://api.github.com/users/monojenkins/following{/other_user}","gists_url":"https://api.github.com/users/monojenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/monojenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monojenkins/subscriptions","organizations_url":"https://api.github.com/users/monojenkins/orgs","repos_url":"https://api.github.com/users/monojenkins/repos","events_url":"https://api.github.com/users/monojenkins/events{/privacy}","received_events_url":"https://api.github.com/users/monojenkins/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T20:11:36Z","updated_at":"2018-02-05T20:11:36Z","author_association":"COLLABORATOR","body":"Build failure\n"}}
{"actor":{"display_login":"monojenkins"}}