Skip to content

Commit

Permalink
Merge pull request #666 from dkimitsa/fix/665-caaction-to-nsnull
Browse files Browse the repository at this point in the history
* fixed: #665 NSNull does not implement CAAction
  • Loading branch information
Tom-Ski authored Jul 11, 2022
2 parents a53bb3e + 5567401 commit 01f6bd3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/*<annotations>*/@Library("Foundation") @NativeClass/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/NSNull/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*/implements NSSecureCoding/*</implements>*/ {
/*<implements>*/implements NSSecureCoding/*</implements>*/, CAAction /* CAAction is added as category in QuartzCore */{

/*<ptr>*/public static class NSNullPtr extends Ptr<NSNull, NSNullPtr> {}/*</ptr>*/
/*<bind>*/static { ObjCRuntime.bind(NSNull.class); }/*</bind>*/
Expand All @@ -68,4 +68,8 @@
@Method(selector = "initWithCoder:")
protected native @Pointer long init(NSCoder coder);
/*</methods>*/

/* CAAction implementation */
@Method(selector = "runActionForKey:object:arguments:")
public native void runAction(String event, NSObject anObject, NSDictionary<NSString, ?> dict);
}

0 comments on commit 01f6bd3

Please sign in to comment.