Skip to content

Instantly share code, notes, and snippets.

@madrobby
Created May 6, 2014 11:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madrobby/0ec071b9bdb9309a1440 to your computer and use it in GitHub Desktop.
Save madrobby/0ec071b9bdb9309a1440 to your computer and use it in GitHub Desktop.
# a single method signature in AppKit
initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:
# a JavaScript unit testing framework
function(a,b,c,d,e,f){c=d=e=0;for(f in a)try{a[f](function(g,h){g?c++:(d++,b(f,'F',h))})}catch(i){e++;b(f,'E',i)}b(c+'A',d+'F',e+'E')}
@drewmccormack
Copy link

a autocompleted method signature in AppKit

i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment