The MT.D Json stuff might be the best option here - being you are not collecting data, just displaying it.
Or just build root / section / element collections yourself,which is what I generally do On Wed, Jun 27, 2012 at 4:02 AM, Chris_M <[email protected]> wrote: > > Yeah, you guys are right. Craig sent me this link, which was helpful, that > I'm sharing for others: > > https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/Sample/DemoReflectionApi.cs > https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/Sample/DemoReflectionApi.cs > > I thought I had looked all through the MT.D github examples, but somehow > missed this. Good stuff. > > > --Chris > > > > Craig Dunn-2 wrote >> >> Chris, >> >> the things in square brackets [] are attributes which must be 'applied' to >> a language construct (class, field, property, etc). >> >> in your example you have a lot of attributes but nothing to 'apply' them >> to. in this example (from mt.d >> docs<http://docs.xamarin.com/ios/tutorials/MonoTouch.Dialog>) >> notice the Name, Details and IsApproved elements. although it seems like >> the [Section] attributes are living on their own, they are actually being >> associated with the subsequent field. >> >> you are getting the 'unexpected }' error because you _at least one_ (but >> probably more, for your example to work) field or property in your class. >> >> hth >> craig >> >> _______________________________________________ >> MonoTouch mailing list >> [email protected] >> http://lists.ximian.com/mailman/listinfo/monotouch >> > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Need-help-with-basic-MT-Dialog-tp4655588p4655598.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
