This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Pulse(this UIView view, float scale, double duration = 1.0, bool repeat = true) | |
{ | |
var animation = CABasicAnimation.FromKeyPath("transform.scale"); | |
animation.Duration = duration; | |
animation.To = NSNumber.FromFloat(scale); | |
animation.TimingFunction = CAMediaTimingFunction.FromName(CAMediaTimingFunction.EaseInEaseOut); | |
animation.AutoReverses = true; | |
animation.RepeatCount = repeat ? float.MaxValue : 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--framework:/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework | |
if (UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PATH | |
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
#export PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}" | |
#export PATH="/Library/Frameworks/Mono.framework/Versions/Current/bin/:${PATH}" | |
# ALIASES | |
alias nuget="mono /usr/local/bin/nuget.exe" | |
alias cls="clear" | |
alias xo="find . \( -name "*.xcworkspace" \) -type d -maxdepth 1 -prune -print0 | xargs open" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.3333333432674408, | |
"Blue Component" : 1, | |
"Red Component" : 0.3333333432674408 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static UIImage WithBlurEffect(this UIImage inputImage, float radius = 15f) | |
{ | |
if (inputImage == null) | |
{ | |
return null; | |
} | |
var ciImage = new CIImage(inputImage); | |
var gaussianBlur = new CIGaussianBlur |
OlderNewer