Skip to content

Instantly share code, notes, and snippets.

class LoginViewController {
private let userSession: UserSession
init(_ userSession: UserSession) {
self.userSession = userSession
}
func login(_ userName: String, password: String) {
userSession.login(userName, password)
}
//
// MetalVideoRenderer.swift
// RTEVideoEditor
//
// Created by weidong fu on 2020/1/1.
// Copyright © 2020 Free. All rights reserved.
//
import UIKit
import AVFoundation
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = grantdavis
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = YES
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
@vedon
vedon / NBResponderChainUtilities.h
Last active August 29, 2015 14:28 — forked from n-b/NBResponderChainUtilities.h
Chain Responder Debugging Methods
//
// NBResponderChainUtilities.h
//
// Created by Nicolas @ bou.io on 19/04/13.
//
#import <UIKit/UIKit.h>
@interface UIView (NBResponderChainUtilities)
- (UIView*) nb_firstResponder; // Recurse into subviews to find one that responds YES to -isFirstResponder