English | Japanese | Korean | Simplified Chinese |
---|---|---|---|
yes, yeah / positive | はい / いいよ Hai / Īyo |
네 / 예 ne / ye |
|
no / negative | いいえ / 嫌 (いや) Īe / Iya |
아뇨 / 아니에요 anyo / anieyo |
|
I / my / me | 私 (わたし) / 俺 (おれ) Watashi / Ore |
내 nae |
我 wǒ |
enemy | 敵 (てき) Teki |
적 jeog |
敌人 dírén |
house | 家 (いえ) Ie |
집 jib |
屋 wū |
front of ~ | 〜の前 (まえ) no Mae |
〜앞 / 〜앞에 ap / ap-e |
|
inside ~ | 〜の中 (なか) no Naka |
〜안 an |
|
outside ~ | 〜の外 (そと)no Soto | 〜밖bakk |
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
#ifndef _SIMD_UINT16X4_H | |
#define _SIMD_UINT16X4_H | |
#include "simd_base.h" | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
// --- |
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
// Copyright (C) 2019 mntone. All rights reserved. | |
// MIT license | |
extension Array where Array.Element: Numeric & Comparable { | |
@inlinable | |
public func medianFast() -> Element { | |
return sorted(by: <)[count / 2] | |
} | |
} |
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 struct PostoneCore.Settings | |
#if os(macOS) | |
import AppKit | |
public typealias POColor = NSColor | |
#else | |
import UIKit | |
public typealias POColor = UIColor | |
#endif |
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 | |
final class PageViewControllerSegmentedAdapter: NSObject { | |
private unowned let pageViewController: UIPageViewController | |
private unowned let segmentControl: UISegmentedControl | |
private let viewControllers: [UIViewController] | |
private var selectedIndex: Int | |
init(pageViewController: UIPageViewController, segmentControl: UISegmentedControl, viewControllers: [UIViewController], at selectedIndex: Int = 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
import CoreText | |
import class UIKit.UIFont | |
import class UIKit.UIFontDescriptor | |
extension UIFont { | |
public func asBold() -> UIFont? { | |
return asTraits(.traitBold) | |
} | |
public func asItaric() -> UIFont? { |
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
// This source is under MIT license. | |
import UIKit | |
extension UIAlertAction { | |
public var isEnabled: Bool { | |
get { return value(forKey: "enabled") as! Bool } | |
set { setValue(newValue, forKey: "enabled") } | |
} | |
public var isChecked: 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
import SIMDKit | |
import UIKit | |
public final class FocusableImageView: UIImageView { | |
public var isFocusEnabled: Bool = true { | |
didSet { layer.setNeedsLayout() } | |
} | |
public var focus: CGPoint = .zero { | |
didSet { layer.setNeedsLayout() } |
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 | |
public final class ThemeSegmentedControl: UISegmentedControl { | |
private var observer: NSObjectProtocol? | |
private weak var selectedLayer: CALayer! | |
public override var frame: CGRect { | |
didSet { | |
guard let selectedLayer = selectedLayer else { return } |
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 <Foundation/Foundation.h> | |
#import <ImageIO/ImageIO.h> | |
#import <UIKit/UIKit.h> | |
#include "../libwebp/src/webp/types.h" | |
#include "../libwebp/src/webp/decode.h" | |
#include "../libwebp/src/webp/demux.h" | |
#import "WebPImageSource.h" |