- 当事者意識を持つ
- 議題に集中すること
- 人の発言をさえぎらない
@available(iOS 10.0, *)
import UserNotifications
NSUserNotification API Reference
UNNotificationSound API Reference
UNUserNotificationCenter API Reference
let animationImages:[UIImage] = [UIImage(named: "img_01")!, UIImage(named: "img_02")!, UIImage(named: "img_03")!] | |
loadingImageView.animationImages = animationImages | |
loadingImageView.animationDuration = 1.5 | |
loadingImageView.animationRepeatCount = 0 | |
loadingImageView.startAnimating() | |
self.addSubview(loadingImageView) |
Modern Cocoa development involves a lot of asynchronous programming using closures and completion handlers, but these APIs are hard to use. This gets particularly problematic when many asynchronous operations are used, error handling is required, or control flow between asynchronous calls gets complicated. This proposal describes a language extension to make this a lot more natural and less error prone.
This paper introduces a first class Coroutine model to Swift. Functions can opt into to being async, allowing the programmer to compose complex logic involving asynchronous operations, leaving the compiler in charge of producing the necessary closures and state machines to implement that logic.
Author: Chris Lattner
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
let window = UIWindow(frame: UIScreen.main.bounds) |
// buildSrc/src/main/kotlin/Config.kt | |
object Config { | |
const val ACTIVITY = "com.mautinoa.cardapp.MainActivity" | |
const val PACKAGE = "com.mautinoa.cardapp" | |
const val kotlinVersion = "1.2.71" | |
object SdkVersions { | |
val versionCode = 1 | |
val compile = 28 | |
val target = 26 |
# Change Xcode version in GitHub Actions | |
As of today (2019-08-21) I haven't found any documentation on changing Xcode versions when | |
using GitHub actions. So I checked the applications folder and everything we need is | |
already there. 🤩 | |
``` | |
> ls -n /Applications/ | grep Xcode* | |
lrwxr-xr-x 1 0 80 30 Aug 2 19:31 Xcode.app -> /Applications/Xcode_10.2.1.app | |
drwxr-xr-x 3 501 20 96 Oct 20 2018 Xcode_10.1.app |
blacklist/whitelist、master/slave という単語は相応しくないという意見に OSS がどの様に対応すべきかを自身で考える為の情報集めです。見つけ次第、逐次更新していきます。
僕(mattn) 自身は black lives matter に同意をしています。blacklist/whitelist、master/slave という単語を廃止する事が、歴史的背景を持たない文化圏では特定の意味を持たなかった為、個人的には若干思う所はありますが、廃止自身に反対するつもりはありません。
昔から、主副を表す物には master/slave という単語が使われてきました。ハードディスクの IDE、仮想端末(pty)、色々あります。またネットワークの IP フィルタリングに関しては blacklist/whitelist と表記した物が今でも沢山あります。
我々日本人が意識せずに使っていた blacklist/whitelist、master/slave という単語が、人々にどの様に影響しうるのか、今後 OSS としてどの様に関わっていけば良いかを理解する上で、自分なりの情報集めをしたいと思っています。
Combineの主要な登場人物をUMLっぽくまとめたもの。