Managing the view of an iOS application with respect to the keyboard events generated by iOS application is one of the most widely faced i...
Login with Facebook in iOS programmatically
Integrating facebook in any iOS application for login purpose is common in today's market. As most of today's applications uses lo...
Adding Custom UIProgressView iOS programmatically
Hello friends, today I have used a UIProgressView in my iOS application. I have created a custom UIProgressView programmatically. I found ...
Remove all NSUserDefault keys programmatically
Normally while working with iOS applications we create multiple NSUserDefault with multiple names but while a user log out from the applic...
Animating Navigation Controller in iOS programmatically
There are certain situations in which we want to custom the animation of push navigation controller. In this post I am giving a block of c...
Simple ways to use Pair in Hack Language Facebook
Pair in Hack The Hack Language supports various collection types including Pair . There are various simple ways to use Pair in Hack Langu...
Simple ways to use Set in Hack Language Facebook
Set in Hack The Hack Language supports various collection types including Set . Sets in Hack Language simply represents an unordered a...
Simple ways to use Map in Hack Language Facebook
Map in Hack Language Facebook Hack Language supports Map that are simply an ordered dictionary-style collection. Map in Hack Language F...
Simple ways to use Vector in Hack Language Facebook
Vector in Hack In Hack Language Vectors are an integer-indexed (zero-based) collection. Vectors allows random access to its elements w...
Collection in Hack Programming Language Facebook
Hack introduces the concept of Collections. Collections are basically used for data storage and retrieval. Collections implement many of t...
Using Nullable in Hack Language Facebook
Hack introduces a new way to handle null values by introducing the concept of Nullable. ? Operator is used for representing Nullable type...
Generic in Hack Language Facebook
Hack Language introduces the concept of generics to PHP. It allows a class or function or interface to define the type of it’s at the time...
Hack Modes in Hack Programming Language
The HACK language code is generally written in one of the three modes: Strict Partial Decl Unsafe These modes provides the developers th...
Using 'mixed' type is Hack Language Facebook
In certain situations, it is difficult to determine the return type of a function prior to its call. In that situation we use the ‘mixed’ ...
Using 'this' in Hack Language Facebook
Using this in Hack Language is shown below: As we see in the example below that ' this ' can also be used as return type of a func...