This file contains 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
import Foundation | |
import UIKit.UIView | |
public protocol NibLoadable { | |
static var nibName: String { get } | |
} | |
public extension NibLoadable where Self: UIView { | |
public var nibName: String { |
This file contains 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
class Solution { | |
func generateMatrix(_ n: Int) -> [[Int]] { | |
enum Dir { | |
case up | |
case down | |
case left | |
case right | |
} | |
let m = n |
This file contains 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
#import <GPUImage/GPUImage.h> | |
#import "GPUImageFourInputFilter.h" | |
@interface GPUImageFiveInputFilter : GPUImageFourInputFilter | |
{ | |
GPUImageFramebuffer *fifthInputFramebuffer; | |
GLint filterFifthTextureCoordinateAttribute; | |
GLint filterInputTextureUniform5; | |
GPUImageRotationMode inputRotation5; |