You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for some more clarification, not positive we need the UnsafeMutableRawPointer any more with xCode 11.x it appears to work fine without it, but let me know if one finds a problem with it, see below:
should include a Bridging header :OculigamiPaint-Bridging-Header.h in the app, with this line in it:#import "QTouchposeApplication.h"
main.swift can look like this then:
import UIKit
UIApplicationMain(
CommandLine.argc,
CommandLine.unsafeArgv,
NSStringFromClass(QTouchposeApplication.self),
NSStringFromClass(AppDelegate.self) //...... replace with the name of your delegate if different
)
main.swift doesn't work on Xcode 8.2 (on January 19, 2017), unless I change to this:
UIApplicationMain(CommandLine.argc, UnsafeMutableRawPointer(CommandLine.unsafeArgv)
.bindMemory(to: UnsafeMutablePointer.self, capacity: Int(CommandLine.argc)), NSStringFromClass(QTouchposeApplication.self), NSStringFromClass(AppDelegate.self))
Also, the instructions would be better if they mentioned that "QTouchposeApplication.h" should be added to the user's Swift bridging header file.
The text was updated successfully, but these errors were encountered: