…or actually…
__How to create and publish a node package using JSHint and JSCS for linting, Mocha for testing, Istanbul for code coverage,
######################### | |
# .gitignore file for Xcode4 and Xcode5 Source projects | |
# | |
# Apple bugs, waiting for Apple to fix/respond: | |
# | |
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
# | |
# Version 2.6 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# |
#import <UIKit/UIKit.h> | |
@interface AlzheimerPageViewController : UIViewController | |
- (instancetype) initWithTransitionStyle: (UIPageViewControllerTransitionStyle) transitionStyle navigationOrientation:(UIPageViewControllerNavigationOrientation)navigationOrientation options:(NSDictionary *)options; | |
- (void) setViewControllers: (NSArray*) viewControllers direction:(UIPageViewControllerNavigationDirection)direction animated:(BOOL)animated completion:(void (^)(BOOL))completion; | |
@property (nonatomic, weak) id<UIPageViewControllerDataSource> dataSource; | |
@property (nonatomic, weak) id<UIPageViewControllerDelegate> delegate; | |
@property (nonatomic, readonly) NSArray* viewControllers; |
// Restify Server CheatSheet. | |
// More about the API: http://mcavage.me/node-restify/#server-api | |
// Install restify with npm install restify | |
// 1.1. Creating a Server. | |
// http://mcavage.me/node-restify/#Creating-a-Server | |
var restify = require('restify'); |
// | |
// HMAC.swift | |
// | |
// Created by Mihael Isaev on 21.04.15. | |
// Copyright (c) 2014 Mihael Isaev inc. All rights reserved. | |
// | |
// *********************************************************** | |
// | |
// How to import CommonCrypto in Swift project without Obj-c briging header | |
// |
#!/usr/bin/env xcrun swift | |
import WebKit | |
let application = NSApplication.sharedApplication() | |
application.setActivationPolicy(.Regular) | |
let window = NSWindow(contentRect: NSMakeRect(0, 0, 800, 600), | |
styleMask: NSTitledWindowMask | | |
NSClosableWindowMask | |
// | |
// UIAccessorizedTextField.swift | |
// AccessorizedTextField | |
// | |
// Created by Damien Laughton on 28/03/2018. | |
// 2018 Mobilology Limited. No rights reserved. | |
// | |
import Foundation | |
import UIKit |