• 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
Re: running an external app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running an external app


  • Subject: Re: running an external app
  • From: Greg Titus <email@hidden>
  • Date: Mon, 26 May 2008 20:54:40 -0700

Now the line
- (BOOL)launchApplication:(NSString *)appName

May be technically the declaration of the method, but is that really useful to anybody? After all, you do not declare this method in your code; you just invoke it. I can't tell you how many times I have been led astray by this terminology - took me at least a year to figure out that the way it is written has nothing to do with how you use it.

I'm sorry, I've had some sympathy with yours and others complaints about the documentation up until now - after all, it's been so long since I was new at this that maybe I just can't see things through new eyes - but this is just going too far. How you declare a method versus how you call a method was something that confused you for a year? Is that really what you are saying here?


Differing syntax between declarations and calls exists in almost every programming language ever made. (The only exceptions being languages that don't have function declarations at all.) If you can't immediately see the difference and easily translate between declarations (e.g. "(int)fibonacci(int n)") and calls (e.g. "fibonacci(12)") then you simply do not know even the most basic syntax of the language and no framework reference documentation, however it is written, is going to help you.

	-- Greg
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: running an external app
      • From: Scott Ribe <email@hidden>
References: 
 >Re: running an external app (From: Johnny Lundy <email@hidden>)

  • Prev by Date: Communicating with Bluetooth bar code scanners
  • Next by Date: Re: Drawing barcodes
  • Previous by thread: Re: running an external app
  • Next by thread: Re: running an external app
  • Index(es):
    • Date
    • Thread