iOSMobilityTechnology

Swift For-Loops

In Swift 3.0 C-style for-loops will be removed. This will force developers to use a swift syntax for for-loops. So lets begin with swift for loops : Looping n times [code language=”objc”] // output is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 for i in 0..<10 { print(i) } // or for […]

iOSTechnology

12 Key Differences between Objective C and Swift

Apple recently unveiled a new programming language Swift, to replace Objective-C for OS X and iOS application development. The advent of Swift marks the transformation from a decade old language to a naive yet effective programming language – Swift. The main purpose of introducing Swift is to provide a new easier, simpler, more flexible programming language […]

iOSMobilityTechnology

Playing with 3D Touch—iOS

As we know that Apple has got a very different way to interact with the device in 6s and 6s plus by introducing 3D touch. In 3D touch, the phone judges how much pressure we are applying over the device and perform an appropriate action accordingly. iPhone responds to the subtle tap when one interacts […]

iOSMobility

App Thinning for iOS, tvOS and watchOS

App thinning is a concept for modern day interactive apps where there are a lot of resources. The App Store and OS install the app according to the device, with a minimal footprint. This helps in making the app which occupies less space, are easy to download and make use of all features. Faster downloads […]

Ashish Jain
Ashish Jain
Read

iOSTechnology

Objective-C utility class using C functions in iOS

Introduction Like C, I would like to use C functions in  Objective-C class so i could use C functions anywhere anytime without using class name. Defining function: Function definition in C programming language is as follows − return_type function_name(parameter list) { body of the function } In Objective-C, you can create a Objective-C class having NSObject […]

MobilityTechnology

STACK VIEW IN iOS 9

Gone are the days when every scrollable grid is either TableView or CollectionView. Enter StackView.! Stack view is a simple class that allows to stack layout views in either a column or a row. What makes it more helpful is the elimination of the need to add the constraints. It applies Auto Layout to the […]

Ashish Jain
Ashish Jain
Read

iOSMobilityTechnology

App42 Shephertz integration for iOS

Shephertz is a cloud ecosystem for apps and games. It works on cross-platforms. The App42 Cloud APIs consist of a REST based service, which has both JSON and XML interface. There are around 20+ modules with over 400+ APIs which will help us to develop our applications irrespective of the type or domain of the App we are […]

Nehu Gumber
Nehu Gumber
Read

iOSTechnology

Common Utility Extensions in Swift (Utils.swift)

What is Extension: Extensions are basically similar to an Objective-C category. Extensions are sort of methods adding in a Classe or Structure in a different flavour. Syntax of Extension: The syntax to create an extension is very similar to creating a type. You can write the following code in your Utils.swift class to add a […]

GrailsiOSJava/JVM

Push Notification in IOS Using Grails

Hi All, In my previous blog . I have explained how to send the push notification to Android Device. Now, it’s time to see how we can send push notification to iOS devices. For sending Push Notification in iOS I have used JavaPNS_2.2.jar . So before, directly jumping on example we should know that what […]

Services