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

Reply via email to