mw2c's Blog
  • Home
  • Guitar Tabs Search
  • Tab Play Along
Sign in Subscribe

iOS

Technology alone is not enough. It is technology married with the liberal arts, married with the humanities, that makes our hearts sing.
iOS

开发 Document-Based App

iOS 11 增加了 Files 应用,Xcode 中也增加了 Document-Based App 模版。可以快速创建和系统 File 应用 UI 一致的 Document-Based App。 代码编写 用模版创建新的工程后,Xcode 已经帮你创建了 DocumentBrowserViewController,DocumentViewController,Document 三个类。部分代码如下: // DocumentBrowserViewController.swift func documentBrowser(_ controller: UIDocumentBrowserViewController, didPickDocumentsAt documentURLs: [URL]) { guard let sourceURL = documentURLs.first else { return } presentDocument(at: sourceURL) } func presentDocument(at documentURL: URL)
Nov 9, 2018 2 min read
iOS

iOS BLE MIDI

关于 BLE MIDI 在iOS 8 和 OS X Yosemite 中,Apple 添加了对 BLE MIDI 的支持,iOS 设备与 BLE MIDI 设备通过蓝牙建立连接之后,应用就可以像与普通 MIDI 设备一样与 BLE MIDI 设备交互了。(After a connection is established, it simply appears as an ordinary MIDI device that any MIDI application can communicate with.) 在 iOS 上使用 BLE
Jul 31, 2016 1 min read
Page 1 of 1
mw2c's Blog © 2023
Powered by Ghost