About print value for NSXMLParser

Discussion in 'iOS Programming' started by iphonejudy, Mar 26, 2009.

  1. iphonejudy macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #1
    NSXMLParser *rssparser ;


    I want to see the value of rssparser

    Can we print value of rssparser ?

    I used NSLog(@"rsspaser =%@",rssparser);

    But i got error;(sorry for asking this)
     
  2. kalimba macrumors regular

    Joined:
    Jun 10, 2008
    #2
    NSXMLParser is a utility class. What exactly do you expect it to display when you "print" it?
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    I'd try:
    Code:
    NSLog(@"rsspaser =%p",rssparser);
    That should give you the value of rssparser.
     

Share This Page