SpriteKit game fails to load next day on iPhone

I have a game that works great when my iPhone is connected to the SK simulator and for about a day after installing the app from the computer, but after about a day if I try to open it a white screen displays and the app closes immediately before my ...
more »

2017-08-24 18:08 (2) Answers

how to use Objective-C project in my Swift project

Note: I know How to call Objective-C code from Swift, but I don't know below, I'm new to ios. I want to use this EsptouchForIOS's Demo in my project. The demo is write in OC, it has a storyboard and controller. I want to know how to integrate the de...
more »

2017-08-04 10:08 (3) Answers

Pass data between 2 ViewControllers

I'm trying to send data from my first ViewController to my second One. It works fine with a simple Int but with this Double it doesn't work and I don't understand why. So if you can explain why it doesn't work it's cool ! My declaration in first V...
more »

2017-07-21 15:07 (1) Answers

Add UIViewController to UIScrollView swift 3

I'm working on a ScrollView. Currently I have tow images in my ScrollView and I want to add at least a new UIViewController in the ScrollView. That is the code which I have yet: self.scrollView.frame = CGRect(x: 0, y: 0, width: self.view.frame....
more »

2017-06-19 17:06 (1) Answers

Getting previous UIViewController swift

I want to get previous viewController. I have 2 UIViewControllers and navigationMenu when I select any row from navigation menu i want to get UIViewController from where menu opened to move to the second UIViewController. I want to know how to get...
more »

2017-06-17 13:06 (4) Answers

UINavigationControllerDelegate method called twice

I have set up a very simple project with no storyboard, one window and one UINavigationController containing a plain old UIViewController as rootViewController. In the AppDelegate I've set the UINavigationController's delegate to self and implemente...
more »

2017-05-16 18:05 (0) Answers

Best way to find the element in view hierarchy

I would like to know how you navigate to a higher level views in your UIViewController stack, if you need to change something on them. One of the example is if you have TabViewController and you need to communicate between tabs, but this is not the ...
more »

2017-05-10 14:05 (1) Answers