Posts

Post marked as solved
1 Replies
222 Views
I am running this code: healthStore.requestAuthorization(toShare: types, read: types) { (success, error) in 						if !success { 								fatalError("we ned that data to shar to fcebok") 						} else { 						} 						 				} Then I get an error at runtime: _NSCFString * "*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil" 0x0000600003fd4af0 Is this HealthKit? I can't seem to see what I am doing wrong. By the way, the fatal error message is a joke.
Posted
by Dr_Beta.
Last updated
.
Post not yet marked as solved
5 Replies
4.4k Views
Hello Game Center forums! I am working on a real time Pong game and I can't figure out how to do real time multiplayer matches. Apple's docs are confusing and there are not any Swift 4/5 tutorials. Can you tell me how to do it or recommend a tutorial?
Posted
by Dr_Beta.
Last updated
.
Post not yet marked as solved
1 Replies
704 Views
let play = UISwipeGestureRecognizer(target: self, action: #selector(upSwipe)) play.direction = .up view.addGestureRecognizer(play)I am working on a WWDC submission and I am trying to make a swipe guesture to get working, the function is an `@objc func` and I have tryed many debugging methods. This is in playgrounds.
Posted
by Dr_Beta.
Last updated
.
Post marked as solved
1 Replies
732 Views
Hi, I have a tvOS app that is a pong screensaver: https://itunes.apple.com/us/app/pong-screensaver/id1448061396?mt=8There is a thing where it goes to the normal "Areal" screensaver, how do you make it not go there?
Posted
by Dr_Beta.
Last updated
.