예제 #1
0
 /// <summary>
 /// A helper function that serves as an interface to the data model,
 /// called by the implementation of the `tableView(_ canHandle:)` method.
 /// </summary>
 public bool CanHandle(IUIDropSession session)
 {
     return(session.CanLoadObjects(typeof(NSString)));
 }
 public bool CanHandleDropSession(UITableView tableView, IUIDropSession session)
 {
     return(session.CanLoadObjects(typeof(NSString)));
 }
예제 #3
0
 public bool CanHandleSession(UIDropInteraction interaction, IUIDropSession session)
 {
     return(session.CanLoadObjects(typeof(UIImage)));
 }