Skip to content

Instantly share code, notes, and snippets.

@Arpit360
Last active October 12, 2016 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arpit360/f6f914a72edbc9e47f3e32395f708824 to your computer and use it in GitHub Desktop.
Save Arpit360/f6f914a72edbc9e47f3e32395f708824 to your computer and use it in GitHub Desktop.
public class SpinnerLayer : CAShapeLayer
{
public class AnimationBlockerDelegate : NSObject,ICALayerDelegate, ICAAction
{
public static readonly AnimationBlockerDelegate Instance= new AnimationBlockerDelegate();
protected AnimationBlockerDelegate()
{
}
[Export("actionForLayer:forKey:")]
public NSObject ActionForLayer ( CALayer layer,String eventkey)
{
return this;
}
public void RunAction(string eventkey, NSObject obj, NSDictionary arguments)
{
}
}
public SpinnerLayer()
{
var rect= new CGRect(0,0,20,20);
var path= new CGPath();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment