I hereby claim:
- I am wtsnz on github.
- I am wtsnz (https://keybase.io/wtsnz) on keybase.
- I have a public key ASC17QHmm7ML5wO9fwnmJCHCSRYVxhI1_-F7x5mw7euY9Qo
To claim this, I am signing this object:
/* | |
============================================================================== | |
OpenGLAudioVisualiserComponent.cpp | |
Created: 15 Apr 2017 8:00:56pm | |
Author: Will Townsend | |
============================================================================== | |
*/ |
extension UIImage { | |
convenience init?(inCurrentBundleNamed: String) { | |
class BundleClass { } | |
self.init(named: inCurrentBundleNamed, in: Bundle(for: BundleClass.self), compatibleWith: nil) | |
} | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> | |
<asset> | |
<contributor> | |
<authoring_tool>SceneKit Collada Exporter v1.0</authoring_tool> | |
</contributor> | |
<created>2018-10-25T16:29:03Z</created> | |
<modified>2018-10-25T16:29:03Z</modified> | |
<unit meter="1.000000"/> | |
<up_axis>Y_UP</up_axis> |
<?xml version="1.0" encoding="UTF-8"?> | |
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> | |
<asset> | |
<contributor> | |
<authoring_tool>SceneKit Collada Exporter v1.0</authoring_tool> | |
</contributor> | |
<created>2018-10-25T16:29:03Z</created> | |
<modified>2018-10-25T16:29:03Z</modified> | |
<unit meter="1.000000"/> | |
<up_axis>Y_UP</up_axis> |
tell application "System Events" to tell application process "DiffMerge" | |
tell window 1 | |
set {size, position} to {{400, 400}, {50, 50}} | |
end tell | |
end tell |
func scaleTransform(for view: UIView, scaledBy scale: CGPoint, aroundAnchorPoint relativeAnchorPoint: CGPoint) -> CGAffineTransform { | |
let bounds = view.bounds | |
let anchorPoint = CGPoint(x: bounds.width * relativeAnchorPoint.x, y: bounds.height * relativeAnchorPoint.y) | |
return CGAffineTransform.identity | |
.translatedBy(x: anchorPoint.x, y: anchorPoint.y) | |
.scaledBy(x: scale.x, y: scale.y) | |
.translatedBy(x: -anchorPoint.x, y: -anchorPoint.y) | |
} |
I hereby claim:
To claim this, I am signing this object:
import Combine | |
import SwiftUI | |
class RemoteImageLoader: ObservableObject { | |
@Published var data: Data = Data() | |
init(imageURL: URL) { | |
URLSession.shared.dataTask(with: imageURL) { data, response, error in | |
guard let data = data else { return } |
import SwiftUI | |
struct ContentView: View { | |
@State var now = Date() | |
@State var showWindow = false | |
@State var text: String = "" | |
let timer = Timer.publish(every: 1, on: .current, in: .common).autoconnect() |
官方视频地址:https://developer.apple.com/videos/wwdc/2014/ | |
权当留个念想,选择下面的链接,然后复制,在迅雷中新建下载,粘贴即可。支持多文件下载。 | |
对应的字幕可以查看 https://github.com/qiaoxueshi/WWDC_2014_Video_Subtitle | |
http://devstreaming.apple.com/videos/wwdc/2014/704xx7dmqd5m9l4/704/704_sd_building_apps_for_enterprise_and_education.mov?dl=1 | |
http://devstreaming.apple.com/videos/wwdc/2014/236xxwk3fv82sx2/236/236_sd_building_interruptible_and_responsive_interactions.mov?dl=1 |