Blog Directory logo  Blog Directory
  •  Login
  • Register
  • Submit a Blog in Featured for only $10 with PaypalFeatured BlogsBlog Listing
    Member - { Blog Details }

    hero 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: 311

    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 }
    © 2025, Blog Directory
     | 
    Google Pagerank: 
    PRchecker.info
     | 
    Support
               Submit a Blog
               Submit a Blog
    Samsung I8552 - Quattro in Chennai

    Technology

    Samsung I8552 - Quattro in Che...


    Feb 12, 2015
    Tourism Website Design

    Technology

    Tourism Website Design...


    Feb 6, 2024
    Máy ảnh Nikon D500

    Technology

    Máy ảnh Nikon D500...


    Jan 26, 2016
    World topics today, technology trends

    Technology

    World topics today, technology...


    Nov 28, 2025
    Understanding Speech Data Collection and Its Impact on AI Development

    Technology

    Understanding Speech Data Coll...


    Sep 10, 2024
    O & O Diskrecovery 10 Key Activator build 252 all editions Download

    Technology

    O & O Diskrecovery 10 Key Acti...


    Nov 7, 2015