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

    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
    Resource for Remote Employment in Oman

    Technology

    Resource for Remote Employment...


    Sep 7, 2022
    Go Baby Go - Tech Store

    Technology

    Go Baby Go - Tech Store...


    Jul 9, 2015
    Self-Driving Cars Popular in Emerging Markets Said World Economic Forum

    Technology

    Self-Driving Cars Popular in E...


    Nov 25, 2015
    Expert Advice Resource and Insights - The Salesforce First

    Technology

    Expert Advice Resource and Ins...


    Mar 12, 2025
    THE FIRST-RATE STORED PERSONAL IN E MAIL ADVERTISING

    Technology

    THE FIRST-RATE STORED PERSONAL...


    Feb 11, 2016
    Zuzuvecha y SEO

    Technology

    Zuzuvecha y SEO...


    Sep 13, 2015