- Speech Synthesis - Appleのドキュメント
- AVSpeechSynthesizer: Making iOS Talk - WWDC 2018 Video
- PDFKit
- Introducing PDFKit on iOS - WWDC 2017 Video
- iOS 11 Programming 第10章 PDF Kit - 書籍
| #import <UIKit/UIKit.h> | |
| #import <XCTest/XCTest.h> | |
| @interface ObjCExp1Tests : XCTestCase | |
| @end | |
| @implementation ObjCExp1Tests | |
| - (void)setUp { |
| import Rx from "rx-lite-extras"; | |
| const observable1 = Rx.Observable.create(observer => { | |
| console.log("[A] call onNext(1)"); | |
| observer.onNext(1); | |
| console.log("[A] called onNext(1)"); | |
| console.log("[B] call onNext(2)"); | |
| observer.onNext(2); | |
| console.log("[B] called onNext(2)"); |
| var d = [String: String?]() | |
| var s: String? = nil | |
| d["key"] = s // nil入る | |
| print(d) | |
| d["key"] = nil // 削除 | |
| print(d) |
| { | |
| "language": "ja-JP", | |
| "rate": 0.5, | |
| "pitch": 1.0, | |
| "volume": 0.8, | |
| "postDelay": 0.5, | |
| "presets" : [ | |
| { | |
| "text" : "準備できましたぁ" | |
| }, |
| // | |
| // CallStackReporter.swift | |
| // DramaticCrash | |
| // | |
| // Copyright (c) 2018 Hironori Ichimiya <hiron@hironytic.com> | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| import 'package:flutter/material.dart'; | |
| import 'package:my_app/BlocProvider.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. |
| import Cocoa | |
| let uriNs1 = "http://example.com/ns1" | |
| let uriNs2 = "http://example.com/ns2" | |
| let root = XMLNode.element(withName: "root") as! XMLElement | |
| root.addNamespace(XMLNode.namespace(withName: "ns1", stringValue: uriNs1) as! XMLNode) | |
| let element = XMLNode.element(withName: "element") as! XMLElement | |
| element.addNamespace(XMLNode.namespace(withName: "ns2", stringValue: uriNs2) as! XMLNode) |