Skip to main content

Posts

Showing posts from January, 2016

Objective C Concept @ a Single Glance (With Images)

  iOS - Objective C @Single Glance  with Ry's detailed  Figures What an Objective C can do?   What is the Relationship between Objective C and C programming Language?     How Objective Class Looks Like?     How a Property Looks Like? How methods (Functions in C) looks like?    "Categories" in Objective C :    "Protocols" in Objective C : If you want to know the complete theory of above figures, you can have a look @ http://rypress.com/tutorials/objective-c/index  

UIKit Framework Hierarchy

UIKIT Framework Hierarchy

Foundation Framework Classes Hirarchy

                       Foundation Framework Classes Hierarchy

NSMutableAttributedString

                ****************  Do you want fancy Text    *************** #import "ViewController.h" @interface ViewController () @property (weak, nonatomic) IBOutlet UILabel *myLabel; @end @implementation ViewController - (void)viewDidLoad {        [super viewDidLoad];        // Do any additional setup after loading the view, typically from a nib.        NSString *myString = @"That is a test attributed string.";           NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:myString];         [str addAttribute:NSBackgroundColorAttributeName value:[UIColor yellowColor] range:NSMakeRange(3,5)];         [str addAttribute:NSForegroundColorAttributeName value:[UIColor greenColor] range:NSMakeRange(10,7)];            [str addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"HelveticaNeue-Bold" size:20.0] range:NSMakeRange(20, 10)];         [str addAttribute:NSUnderlineStyleAttributeName value:

Foundation Framework Classes with Examples

  Foundation Framework is Foundation for making       iOS Applications  The Foundation framework defines a base layer of Objective-C classes.  The Foundation framework is designed with these goals in mind: Provide a small set of basic utility classes. Make software development easier by introducing consistent conventions for things such as deallocation. Support Unicode strings, object persistence, and object distribution. Provide a level of OS independence, to enhance portability. The Foundation framework includes the root object class, classes representing basic data types such as strings and byte arrays, collection classes for storing other objects, classes representing system information such as dates, and classes representing communication ports.  "An immutable string is a text string that is defined when it is created and subsequently cannot be changed. An immutable string is implemented as an array of Unicode characters (in other words, a t

Quick difference between Serial and Concurrent Queues

Here are the Quick Difference between Serial & Concurrent Queues  Above image has taken from AppCoda

Interview Questions: Dispatch Queues ( Concurrent Queues)

Q.What is the method used to implement Concurrent Queues? A. dispatch_get_global_queue    Q. Apart from one main Queue How many types of Concurrent Queues apart from Main Queue? A. 4 Q. What are the priority types for Concurrent Queue? DISPATCH_QUEUE_PRIORITY_HIGH DISPATCH_QUEUE_PRIORITY_DEFAULT DISPATCH_QUEUE_PRIORITY_LOW DISPATCH_QUEUE_PRIORITY_BACKGROUND

Like us on Facebbok