Blog Directory logo  Blog Directory
  •  Login
  • Register
  •            Submit a Blog
    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: 359

    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
    How to optimize your cost in Azure?

    Technology

    How to optimize your cost in A...


    Apr 10, 2023
    Protovo Solutions

    Technology

    Protovo Solutions...


    Aug 18, 2022
    Corrugated box manufacturer, Custom corrugated boxes

    Technology

    Corrugated box manufacturer, C...


    May 6, 2025
    Vivo T2 Pro 5G বাংলাদেশে দাম কত। Vivo T2 price in Bangladesh

    Technology

    Vivo T2 Pro 5G বাংলাদেশে দাম ক...


    Sep 29, 2023
    Reduce Business/Commercial Energy Cost

    Technology

    Reduce Business/Commercial Ene...


    May 28, 2021
    Innovation in software product development- Why is it all important? And how is it enabled?

    Technology

    Innovation in software product...


    Aug 18, 2015