• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Objetive-C sintax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objetive-C sintax


  • Subject: Objetive-C sintax
  • From: JuanC <email@hidden>
  • Date: Sun, 2 Apr 2006 09:42:00 +0200

Hi to everybody!!!
Could anyone of the gurus of this mailing list explain my this line of code:
NSString *stringFinal = [NSString stringWithFormat:@"%@ tiene %d letras",
[gEntradaDeTexto stringValue],
[stringDeEntrada length]];
More expecific, I don't understan why need introduce the class name in the first part of de method call. I define a pointer to a variable of NSString type and named -stringFinal- but when I make the method call I need use NSString in the begining of the call, why?
Thank you very much in advance.
Best regards from Spain.
JuanC++
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Objetive-C sintax
      • From: "Jordan Krushen" <email@hidden>
    • Re: Objetive-C sintax
      • From: dhart <email@hidden>
  • Prev by Date: Re: compare two array
  • Next by Date: Re: Objetive-C sintax
  • Previous by thread: Re: Weirdness in my PowerBook... Now reproducible
  • Next by thread: Re: Objetive-C sintax
  • Index(es):
    • Date
    • Thread