I took the liberty to re-rewrite the original sample in Objective-C to C# using Xamarin.iOS (https://github.com/claudiosanchez/Nuclios.Netflix)
The only problem is that I keep getting the following error when assigning my data models to the DataSource for the grid
Nuclios_NetflixViewController.cs, line 78
_ds.Data = realData;
Getting the following exception:
Objective-C exception thrown. Name: NSUnknownKeyException Reason: [<Nuclios_Netflix_NetflixData 0x1475de40> valueForUndefinedKey:]: this class is not key value coding-compliant for the key Category.
Hi Claudio,
Pretty cool!
I didn't have a chance to run the project yet, however after a quick glance at the code, it looks like you're just missing an export attribute on your properties:
That should do it.
One more thing, like i said i didn't get a chance to test it, but you have the IG.dll included with your project on github. I hope its the trial version! But could you remove it from the bin folder on github?
Thanks!
-SteveZ
Hi Steve,
Thanks a lot!! I am guessing my Netflix* objects were going to NativeLand without the proper decoration.
Now I am getting a bit farther, but apparently now the problem is with MediaCell.
Requesting the window of a view (<Nuclios_Netflix_MediaCell: 0x14a9d320; frame = (0 0; 0 0); transform = [0, 0, 0, 0, 0, 0]; alpha = 0; opaque = NO; gestureRecognizers = <NSArray: 0x14a9d680>; layer = (null)>) with a nil layer. This view probably hasn't received initWithFrame: or initWithCoder:.
Nevermind; One must not code with an empty stomach. I was not calling the initialization code that greats the GridView from the cell.