Timering

Purp

Make iPhone vibrate at function

 Use AudioToolbox Framework and add the  AudioServicesPlayAlertSound / AudioServicesPlaySystemSound Code.

Read more

Migrate Heroku Region from US to EU

 There is no option to set or change Heroku region. You can set it when you create the App. But you don't want to build an App from scratch. But you can Fork the App with or without the database with all settings, and it's ready to run. 

Read more

Sketch and Reveal, 2 best friends

I use Sketch for more years now and Reveal as well. The 2 best friends if you want to reach exact that design look, what your designer dreamed.

Read more

Xcode 9 Watch OS Simulator strange warning

After testing in Watch OS simulator and try to run just iPhone Simulator, and it has failed, with a warning: invalid version number in '-mwatchos-simulator-version-min=njnjiubinj'. Check the deployment target. 

Read more

Xcode 9 IOS 11 beta 2

Just some news about the news. What can you expect when you start using Xcode 9 with IOS 11? First you should download the second beta version, and I have to say, these have still quite a lot of bug. But there are some great news in Xcode 9 and IOS 11 (beta 2), what are good to know! Check new simulators, how to run App on real device via WiFi. About Build System news and about Good news for CoreData fans in Xcode 9. Those Xcode 9 new feature, which makes our life easier when new devices should be used. What's so great in new Source control navigator and source editor or new features at Debugging in Xcode 9 or Core ML? And don't forget some amazing new functions of IOS 11. Come with me for the first look!

Read more

Blender Test + UITableView Scroll Performance - Instruments tutorial Part 4 - Profile Performance - Graphics Performance, Core Animation

In this tutorial I show some Performance steps, which should always be done before you upload your App in iTunes. The most common Problem is the UITableView scroll, but at every Application should be used Blender Test (at least Color Blended Layers and Color Misaligned Images debug options) and optimise images, sizes, frames, and after that with Instruments Allocation template should check the codes. 

Read more

SyncKit tutorial - CloudKit with CoreData IOS10, Obj-C

This Tutorial shows you SyncKit, a great Solution for syncing your data using CloudKit between devices instead of iCloud Drive with Core Data, because of Core Data stores with ubiquity options have been deprecated. I’m going to create a simple model, where companies have departments and employees are in departments. I’ll import at launch CoreDataDefaults, exactly 5 Companies. After that I’m going to add new departments and employees too. With a Sync button, I will sync these Data with CloudKit.
Because of I import companies at first launch, if the user deletes the app, and later install it again, these will duplicate. Avoid this, I’m going to use QSPrimaryKey identifying objects, so if the Name of the Company already exists, that will be not synced again, that will be not duplicate neither in CloudKit nor local.

Read more

Instruments tutorial Part 3 - Profile Performance - Time Profiler - CPU Usage

Now I'll show you, how can use these things with Time Profiler, to find problems in your Project, and solve these high CPU/low-overhead problem. These are usually code bugs, not allocations but it can be several type of mistakes, and you have to find a better code or solution, or sometimes you use unnecessary code. It can help you check your project, and not just find problems, because you can test it with your updated code again, and see if the problem is still exist.

Read more