The declaration can be read left to right: This method (a selector in Objective-C) can be found on NSTableView: - (BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes atPoint:(NSPoint)mouseDownPoint Let’s take a look at an Objective-C function definition and break down the pieces. Sometimes it will be necessary to read an Objective-C definition or method call and translate that to the equivalent C# method. Reading enough Objective-C to be dangerous However, sometimes you’ll need to read the API documentation from Apple, translate an answer from Stack Overflow to a solution for your problem, or compare to an existing sample. ![]() For much of your time developing with Xamarin.Mac, you can think, read, and write in C# without much concern with the underlying Objective-C APIs.
0 Comments
Leave a Reply. |