Timering

Purp

Make iPhone vibrate at function

 Use AudioToolbox Framework and add the  AudioServicesPlayAlertSound / AudioServicesPlaySystemSound Code.

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

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

Custom Segue, Unwind Segue Swift 3 - UIAnimation and NavigationController

In this tutorial I show the newest IOS10 Swift 3 version of my old Objective-C tutorial. We will create a Swift 3 Xcode 8 Single View Project with subclassed Custom Segue and Custom Unwind Segue. The customization will be a UIAnimation using NavigationController.

Read more

IOS10 openURL Swift & Objective-C new method

 In IOS10 the old openURL code is deprecated, best you update it for a new version. In this tutorial you can see the Swift 3 and Objective-C solution too.

Read more