Skip to content

Commit

Permalink
[PhotosUI] PHContentEditingController as a model is useless. (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne authored and spouliot committed Sep 6, 2016
1 parent 0938620 commit 853a690
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/photosui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ namespace XamCore.PhotosUI
{
[iOS (8,0)]
[Protocol]
#if !XAMCORE_4_0 && !TVOS
// According to documentation you're supposed to implement this protocol in a UIViewController subclass,
// which means a model (which does not inherit from UIViewController) is not useful.
[Model]
[BaseType (typeof (NSObject))]
#endif
interface PHContentEditingController {

[Abstract]
Expand Down

0 comments on commit 853a690

Please sign in to comment.