Blog Directory logo  Blog Directory
           Submit a Blog
  •  Login
  • Register
  •            Submit a Blog
    Featured BlogsBlog Listing
    © 2026, Blog Directory
     | 
    Support
    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: 459

    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 }
    Hybrid Cloud Market Comprehensive Study Explores Huge Revenue Scope in Future | Leading Key Players

    Technology

    Hybrid Cloud Market Comprehens...


    Jun 5, 2022
    Samsung Galaxy Note 3 Neo - Shop online for best mobiles in India - poorvikamobile.com

    Technology

    Samsung Galaxy Note 3 Neo - Sh...


    Jan 25, 2015
    Buy now Samsung Galaxy S6  32 GB review at poorvikamobile

    Technology

    Buy now Samsung Galaxy S6 32 ...


    Feb 11, 2016
    How Low-Code & No-Code Platforms Helps In Digital Transformation

    Technology

    How Low-Code & No-Code Platfor...


    Oct 14, 2022
    SURFACE EXTRUDERS IN FLUIDMECH

    Technology

    SURFACE EXTRUDERS IN FLUIDMECH...


    Jun 13, 2023
    An Ideal Approach To Find The Right Payment Gateway For Your Online Stores

    Technology

    An Ideal Approach To Find The ...


    Aug 17, 2015