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
# Count the lines of Swift and Objective-C code in a directory recursively | |
# - Find files recursively with extension 'swift', 'h' or 'm' | |
# - Add double quotes around the files in case the path contains spaces | |
# - Use wc to count the number of lines | |
# - Sort the out put | |
find . -name '*.swift' -o -name '*.h' -o -name '*.m' | awk '{printf("\"%s\"\n", $0);}' | xargs wc -l | sort |
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
// | |
// KeyboardViewController.swift | |
// CustomHeightKeyboard | |
// | |
// Created by Yichi on 3/10/2015. | |
// Copyright (c) 2015-present Yichi. All rights reserved. | |
// | |
import UIKit |