Hi Folks,
i am happy NUCLIOS 2015 supports this feature and there is also a sample - but pure C.
Would it be possible to get a c# sample ?
It seems, i would have to overwrite some IGGridViewDataSourceHelper functions, but i don't get it ...
Thanks in advance
Gernot
Hi Gernot,
Are you currently using the IGGridViewDatSourceHelper in your project?
If so, you don't need to override anything.
There is a new method, gridView:addFixedRowAtPath: in C# the name is AddFixedRow
so you would call it as dish.AddFixedRow(gridView, pathOfRowToFix)
Thats it.
Hope this helps.
-SteveZ
Hi Steve,
i just found out that Xamarin Studio fails to build the application for an IOS device (the previous tests i did against the simulator) with the new IG.Unified.dll
with the following error:
/Users/gdo/Projekte/MikMobileUnified/MTOUCHTASK: Error MT5211: Native linking failed, undefined Objective-C class: _OBJC_CLASS_$_IGGridViewSingleFieldDynamicColumnDataSourceHelper. If '_OBJC_CLASS_$_IGGridViewSingleFieldDynamicColumnDataSourceHelper' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5211) (MIKmobile)
Fore sure i switched back to the previous Version, removed the AddFixedRows() call and verything was fine.
Maybe that helps ...
Best regards
He Gernot,
Sorry for the delayed response. You're right something is indeed broken.
We'll get that fixed for you, so you can take advantage of the new features.
Thanks for the report.
I'm getting this similar error when compiling for a device (works on simulator):
MTOUCH: Error MT5211: Native linking failed, undefined Objective-C class: _OBJC_CLASS_$_IGGridViewSingleFieldDynamicColumnDataSourceHelper. If '_OBJC_CLASS_$_IGGridViewSingleFieldDynamicColumnDataSourceHelper' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5211) (LineDietApp.iOS)
Any suggestions?
I'm not using a data source helper, but I just found the "NumberOfFixedRows" method on the data source (following your advice), and also that the IGCellPath class has an IsRowFixed property. I think I figure out the correct implementation based on that.
Thanks for the quick reply.
Jesse
Hi Jesse,
Every feature in the in our iOS controls are supported in Xamarin. There was a bug in the build back when released 15.1, but that was fixed right away.
The method for fixed rows is n't not he IGGridView, it's on the Datasource. The DataSourceHelper class has some helper methods that make it even easier to use, such as AddFixedRow.
Hope this helps,
Hi,
It looks like "fixed rows" aren't supported in Xamarin? I don't see the methods that I would expect on the IGGridView class. Will support be added?
Thanks,