Blog Directory logo  Blog Directory
  •  Login
  • Register
  •  Featured Blogs
     Blog Listing
    Member - {  Blog Details  } Save to Wishlist

    Blog image

    blog address: http://findnerd.com/list/view/Difference-between--and-isEqual-in-objective-c/2137/

    keywords: Difference Between Equity Operators

    member since: Jun 3, 2015 | Viewed: 520

    Difference between "==" and "isEqual:" in objective C

    Category: Technology

    These two operators or function can be used to check equity of objects or operands. "==" is used to check if pointer values of objects are same. However "isEqual:" is used to test if both objects are having same values. So "==" works on reference and "isEqual" works on value. It can be easily understand by following example: NSMutableArray *array1 = [[NSMutableArray alloc]initWithObjects:@"A", @"B", nil]; NSMutableArray *array2 = [[NSMutableArray alloc]initWithObjects:@"A", @"B", nil]; if (array1 == array2) { NSLog(@"=="); } if ([array1 isEqual:array2]) { NSLog(@"isequal"); } For full blog kindly visit the link http://findnerd.com/list/view/Difference-between--and-isEqual-in-objective-c/2137/



    { More Related Blogs }
    © 2026, Blog Directory
     | 
    Support
               Submit a Blog
               Submit a Blog
    Building Your Own Wallet: A Guide to Developing a MetaMask Clone

    Technology

    Building Your Own Wallet: A Gu...


    Oct 9, 2023
    What Is The Purpose Of Managed It Services In Miami?

    Technology

    What Is The Purpose Of Managed...


    Aug 15, 2015
    Car API

    Technology

    Car API...


    Jul 29, 2024
    ITXpose.Com - The world of technology.

    Technology

    ITXpose.Com - The world of tec...


    Oct 25, 2015
    OPPO Reno 6, OPPO Reno 6 Pro, and OPPO Reno 6 Pro+ launch to date in India will be last week of July

    Technology

    OPPO Reno 6, OPPO Reno 6 Pro, ...


    Aug 29, 2021
    Are you looking for the free Invoice Generator?

    Technology

    Are you looking for the free I...


    Jun 26, 2024