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: 518

    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
    Tips for selecting the right eBooks conversion services

    Technology

    Tips for selecting the right e...


    Mar 31, 2015
    Small Business ERP by Custom-Soft

    Technology

    Small Business ERP by Custom-S...


    Jun 14, 2015
    Update Garmin Nuvi Gps | Garmin Nuvi Gps Update Free  | 1800-616-3128 | Garmin Nuvi Update Problems

    Technology

    Update Garmin Nuvi Gps | Garmi...


    Aug 9, 2022
    Expert ILVE Oven Repairs: Keeping Your Oven in Top Shape

    Technology

    Expert ILVE Oven Repairs: Keep...


    Sep 27, 2024
    White Label Hotel Booking Engine

    Technology

    White Label Hotel Booking Engi...


    May 28, 2024
    Printer repair service dubai- Urbanclap

    Technology

    Printer repair service dubai- ...


    Nov 27, 2021