Monotouch Classes

What does MonoTouch.Foundation.Register do? For instance:

 [MonoTouch.Foundation.Register("CalendarDayViewController")]

When do I need to add above? To recognize it .xib? Or instead of .xib?

+3
source share
1 answer

I asked about this on the MT list and received this in response:

You only need to do this if you are trying to make the method visible for the iPhone OS for something.

I made many threads without problems without adding an attribute to the methods.

and

, . , objective-c , , #. - http://monotouch.net/Documentation/Binding_New_Objective-C_Types

+3

Source: https://habr.com/ru/post/1745174/


All Articles