Created
September 26, 2019 02:31
-
-
Save standinga/fb650bbd6afb88b6f69b7df9322495b9 to your computer and use it in GitHub Desktop.
updated AudioUnitViewController initializers for medium blog article about How To Create Audio Unit From Scratch
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 initializer is called by NSExtensionContextVendor beginRequestWithExtensionItems, | |
// without it Garage Band will not show the UI! | |
init() { | |
super.init(nibName: "AudioUnitViewController", bundle: Bundle(for: AudioUnitViewController.self)) | |
} | |
override public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?) { | |
super.init(nibName: "AudioUnitViewController", bundle: Bundle(for: AudioUnitViewController.self)) | |
} | |
required init?(coder: NSCoder) { | |
fatalError("init(coder:) has not been implemented") | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment