This file contains hidden or 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
-------------------------------------------- | |
// | |
// ObjCClass.h | |
// ihvaiusdhv | |
// | |
// Created by Tomoya Hirano on 2019/02/18. | |
// Copyright © 2019 Tomoya Hirano. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains hidden or 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 UIKit | |
import PlaygroundSupport | |
class MyViewController : UIViewController, Interface { | |
lazy var tap = UITapGestureRecognizer(target: self, action: #selector(tapped)) | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
tap.delegate = self | |
view.addGestureRecognizer(tap) |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>WFWorkflowActions</key> | |
<array> | |
<dict> | |
<key>WFWorkflowActionIdentifier</key> | |
<string>is.workflow.actions.getcurrentsong</string> | |
<key>WFWorkflowActionParameters</key> |
This file contains hidden or 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
#if TARGET_OS_SIMULATOR | |
#import <Metal/Metal.h> | |
#import <CoreVideo/CoreVideo.h> | |
/// CAMetalLayer | |
@class CAMetalLayer; | |
@protocol CAMetalDrawable <MTLDrawable> | |
@property(readonly) id <MTLTexture> texture; |
This file contains hidden or 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
extension UITableView { | |
var lastIndexPath: IndexPath? { | |
guard let dataSource = dataSource else { return nil } | |
return dataSource.lastIndexPath(in: self) | |
} | |
} | |
extension UITableViewDataSource { | |
func lastIndexPath(in tableView: UITableView) -> IndexPath? { |
This file contains hidden or 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 UIKit | |
import TwitterVideoUploader | |
import STTwitter | |
import RxSwift | |
import MobileCoreServices | |
final class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { | |
let 👝 = DisposeBag() | |
override func viewDidAppear(_ animated: Bool) { |
This file contains hidden or 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
[General] | |
FileVersion=57 | |
NumberOfJoysticks=2 | |
NumberOfButtons=32 | |
DisplayMode=2 | |
UseDiagonalInput=0 | |
UsePOV8Way=0 | |
Threshold=20 | |
Threshold2=20 | |
KeySendMode=0 |
This file contains hidden or 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
package goddrinksjava; | |
/** | |
* The program GodDrinksJava implements an application that | |
* creates an empty simulated world with no meaning orpurpose. | |
* | |
* @author momocashew | |
*/ | |
public class GodDrinksJava { | |
public static void main(String[] args) { |
This file contains hidden or 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
// | |
// FaceDetector.swift | |
// | |
// Created by Tomoya Hirano on 2016/05/21. | |
// Copyright © 2016年 Tomoya Hirano. All rights reserved. | |
// | |
import UIKit | |
struct Face { |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | |
<!-- Optional theme --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> |