Phaser 3 game sprites are not displayed on iOS, iPad and iPhone

If the Phaser 3 game sprites are not displayed on iOS change the type in the index.js file to type: Phaser.CANVAS In CANVAS mode Phaser cannot set the background color with this.cameras.main.backgroundColor or this.backgroundColor. Set the background color too in the index.js file as seen above.

DevOps Engineering part 1. (Mac) – Make your Macintosh easier to use

Enable the right-click To be able the right-click on the mouse Disable caps lock If you never write emails with all capital letters, and many times a day accidentally press the caps lock key, you can disable it. Remove Siri from the control strip If you don’t use Siri on your Mac, there is no …

Warning: Attempt to present … on … while a presentation is in progress!

There is a warning message in Xcode, the Apple iOS development environment that can have many different causes. Warning: Attempt to present … on … while a presentation is in progress! In my case Xcode displayed the warning because a button called the same view twice. When I deleted the action associated with the Touch …

Xcode app development troubleshooting

This post is a collection of common error messages you may receive during application development in Xcode. Error message Receiver ‘NSManagedObjectContext’ for class message is a forward declaration Solution Add #import <CoreData/CoreData.h> to the … – Prefix.pch Prefix header file in the Supporting Files folder  

Save an image in the Xcode iPhone simulator

When you are testing an app in the Xcode iOS Simulator sometimes you need to select an image in the photo library. To add images to Photos in the Xcode iOS Simulator Run you app in the iOS iPhone Simulator In the Hardware menu select Home to hide your app Open the Safari browser in …

Extend the iPhone view in Xcode

When you design an iPhone, iPad view in the Xcode Builder and place a Scroll View on the View Controller you can make the page larger than the physical size of the screen of the device. To see the whole view set the size of the View. Open the Story Board in Xcode Shift Control …

Apple Objective-C programming fundamentals. Working with Data, Part 2, Create the data model

In this part of the series we will continue the development of our data store app that we set up in the first part of the series. Create the Data Model Open your sample application that you created in the first part Open the Project Navigator Select the Supporting Files group Click the plus (+) …

Apple Objective-C programming fundamentals. Working with Data, Part 1, The App

This article will guide you to create an app that stores data on the user’s device. To create our sample app to store data on the user’s device Start Xcode, the Apple IDE for IOS development Create a new project Open the AppDelegate.h file and enter the following into the @interface section before the @end @property …

Apple Objective-C programming fundamentals. Working with Dates

When you need to display date and time on your app’s screen you need an easy way to convert NSDate objects to NSString objects. Objective-C  contains methods to do the conversion, but the syntax is not simple. It is much easier to create a method that does the conversion and call that in a central …