+44 (791) 5698 086

Swift timer example – Repeat action

This tutorial will go through how to make an action repeat itself after a specific interval of time as a swift timer example. This code is written and verified on macbook pro using: XCode 8.2 Swift 3.0.2 MacOS Sierra 10.12.2 How to make an action repeat using Timer in Swift Lets understand swift 3 timer […]

Show notification in cocoa xcode app using Swift 3.0.1

This tutorial explains how to show a notification on macOS app. This code will work for a cocoa app built using xcode using swift 3.0.1. This code is written and verified on macbook pro running: XCode 8.2 Swift 3.0.1 MacOS Sierra 10.12.2 How to show notification in cocoa xcode app using Swift 3.0.1 Follow these […]

PTCL not Working in Pakistan

PTCL and Ufone are down in many cities across Pakistan today. Irony is, their helpline 1218 isn’t working either and says: number kisi k istemal mai nhi hai (The number is not being used by anyone). The worst and pathetic way is to turn off your helpline altogether! wow! PTCL published on their official facebook […]

Quit Cocoa App when Window Close using XCode Swift 3

The default behaviour of XCode Cocoa Mac OS app is that when the window close button is it, it simply closes the app window. However the App doesn’t quit. Which means that the app is still running and when we try launching it again, nothing will happen. We have to manually quit the app (e.g. by […]

Download iWork for Free Officially (Pages, Keynote, numbers)

Very few people know that they can download latest version of iWork for free in 2017, officially. When I started looking for downloading iWork on my recently bought macbook pro, it was all confusing. I went to the mac app store and it didn’t show any free option to download the iwork apps (including pages, […]

Rounding Double in Swift 3.0.1

Rounding a Double in swift 3.0.1 is quite simple and easy. We simply need to use the round() function provided by swift. The example below will demonstrate how to use this function effectively, while keeping your number still a Double (without changing the type). This example has been tested in xcode 8.2 using swift 3.0.1 […]

Stride Swift 3.0.1

Stride is an amazing and special feature in Swift (language by apple) which replaces the conventional c-style for statement loops. Stride() is used to loop over a range of numbers. This range can be moved using any increment. Lets look at three examples to understand three possible applications of stride in swift 3.0.1 code. Conventional […]

How to Reinstall mac OS Sierra

There might be some situations where Macbook or Macbook pro users may need to reinstall macOS Sierra. This can either be done as a troubleshooting technique only or for any other reaons that require them to reinstall Sierra as well. Our method will re-install macos sierra without erasing the data or formatting your MAC hard […]

Evo Wingle not connecting issues

There might be various reasons due to which your evo wingle is not working properly. In this post we will see various steps to troubleshoot the evo wingle 3g not connecting and how to fix the evo wingle connection failed issues. Following are the most common issues due to which the ptcl evo 3g don’t […]

Add Subdomain on Nginx

This tutorial explains how to add a subdomain on nginx server to your already existing and running nginx server. How to add a subdomain in nginx using terminal Nginx treats a new subdomain as a new entity, so basically the process of adding new subdomain is similar to adding a new domain name to your […]

Who are we?

Nabtron team includes web, desktop software and mobile apps developers along with SEO professionals.

We are available 24 hours, 7 days a week. Contact us now for anything you need!

Join our mailing list

Lets become friend :) What's your name & email?