
Search In
__weak and __unsafe_unretained are the ownership qualifiers introduced by LLVM Compiler 3.0.
By default all pointers are __strong under ARC which means that when an object is assigned to a pointer, it is retained for as long as that pointer refers t
we all know NSString method sizeWithFont
[@"abacfe" sizeWithFont:[UIFont systemFontOfSize:11] constrainedToSize:maximumLabelSize lineBreakMode:NSLineBreakByCharWrapping];
deprecated in iOS 7. So here is the replacement of this method.
CGSize maxi
Hello Guys
In this blog, I have declared HomeViewController class and explained how to implement methods in class.
HOMEVIEWCONROLLER.H
#import <UIKit/UIKit.h>
@interface HomeViewController : UIViewController
// With the help of interface you
Map:
Map use to take the object of enumerable and returns a new array with the results of running block once for every element in enum, the block is something like [1,2,3].map { |a| a+2 }
and the outcome of [1,2,3].map { |a| a+2 } will be [3,4,5]
To add the object in array in for Loop we have several methods:
first we can have to simply add those objects to the array then we can add them using for loop in array.....
**IN example:**
we have a simple object *object that we added 3 times at di
Hello friends
While designing my first android app in Photoshop, I preferred researching on web for the guidelines and standards, before starting the task.
In doing so, I found some terms like dpi, dp and sp which were very confusing to me initiall
Step-1 Go to browser
Step-2 Click on Administrator:
Step-3 Click on about OpenERP
Step-4 Click on activate the developer mode.
You can activate the developer mode in the About Box located under your username in the top right corner of OpenERP
Hello all,
While working with HTML Editor I faced an issues that, Application was getting stuck when changing elements with contenteditable="false" to numbered or bulleted list.
To change a multiline into numbered or bulleted list, we generally us
To show an alert view in swift while using iOS8.
Here is an example of how to use it:
var MyAlert = UIAlertController(title: "Logout", message: "Are you sure?", preferredStyle: UIAlertControllerStyle.Alert)
var MyOkayAction = UIAlertAction(title: "
Hello all,
In prior tutorial I have explained you about Stylus and Creating Syntax in Stylus. Now in this Tutorial I have demonstrated examples to inherit a class in stylus.
@extend
We can use @extend for inherit the css class check the example b
