<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
CREATE FUNCTION "nanoid"("size" int4 DEFAULT 21) | |
RETURNS text | |
LANGUAGE plpgsql | |
STABLE | |
AS | |
$$ | |
DECLARE | |
id text := ''; | |
i int := 0; | |
urlAlphabet char(64) := 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_0123456789'; |
// After your application launches, register to handle Apple Events | |
func applicationDidFinishLaunching(_ aNotification: Notification) | |
{ | |
let appleEventManager = NSAppleEventManager.shared() | |
appleEventManager.setEventHandler(self, | |
andSelector: #selector(AppDelegate.handleGetURLEvent(_:withReplyEvent:)), | |
forEventClass: AEEventClass(kInternetEventClass), | |
andEventID: AEEventID(kAEGetURL)) | |
} |
#import <objc/runtime.h> | |
void dumpInheritance(Class cls) { | |
do { | |
NSLog(@"%@", cls); | |
} while ((cls = class_getSuperclass(cls)) != [NSObject class]); | |
NSLog(@" = = %@ ends", @(__PRETTY_FUNCTION__)); | |
} |