Yes I do. It does work on a 2018 iPad Pro.
Thank you!
Post
Replies
Boosts
Views
Activity
Shoot....Thanks.
My sanity and I thank you. :-)
Oh, here's what the terminal says:Button Tapped!2020-06-04 14:36:03.397228-0400 PAlarm[7376:89091] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000998600> F8BB1C28-BAE8-11D6-9C31-00039315CD46
Thank you.
Thanks for the response.When you download some apps one has to run a setup program to install the app on a Mac.
Thank you!
Thanks for the info.
HI again,I expect that th window would show the correct size and auto adjust for the app (again, I am VERY new at developing for Mac) Like it used to be way back when.I wish I could show you (via a screen shot) what I am trying to accomplish. Basically, the app's window is almost closed. A user would have to manually resize the window in order to see the entire app. The app would appeear as a rectangle with one label (showing the name of the app), and and two text fields on the side of the label (via a HStack) for the user to input two integers, kind of like what you see with some random number generator apps for Mac. So, it would be like:name of app. Field one. Field two. But, it first appears as:name of Field.... Field....Thus having to manually resize the window. Thanks,Dan
Thanks for the info. It didnt work. This is the only thing holding the app back from being released.I did try adjusting the NSRect in the AppDelegate:// Create the window and set the content view.
window = NSWindow(
contentRect: NSRect(x: 0, y: 0, width: 230, height: 400),
styleMask: [.titled, .closable, .miniaturizable, .resizable, .fullSizeContentView],
backing: .buffered, defer: false)
window.center()
window.setFrameAutosaveName("Main Window")
window.contentView = NSHostingView(rootView: contentView)
window.makeKeyAndOrderFront(nil)
}The Width and Height, but that doesnt seem to do anything. Also, where does one get information for the X and Y coordinates? Can't find information about that either.
Hi,Try this resource for all SwiftUI questions:http://www.hackingwithswift.com/This is a fantastic resource for Swift and SwiftUI questions, and I think you'll fiind the answer on there.Dan
Never mind....You cannot have a space between the .alert and the bracket.
Thank you. I'll try it and let you know.Dan
When a user first goes into the app, they are presented with the TwoCoins image (kind of like an introduction).Then, when they tap on the button, that image woud be replaced by the coin and by showing what ever answer the device comes up with, heads or tails.To give you a better idea, here's the finished product on the app store (I am converting that to SwiftUI).id1498335106Thanks again for ALL your help!Dan
I'm not worried about the flipping animation yet, I just want the following:1. User taps the 'Flip Coin' button.2. The device selects which side it wants (heads or tails).3. Device shows the correct side of the coin. <--- This is the problem.The coins are two seperate images. I cannot get the device to show the correct image when it's done flipping the coin.The word 'coin' is just a label for the button. No value assigned to it.