How to pass commandline argument in cocoa application?

Discussion in 'Mac Programming' started by Ram Thakkar, Jul 7, 2012.

  1. Ram Thakkar macrumors newbie

    Jul 4, 2012
    Hello everybody,

    I m developing one app in cocoa. What i code in that application is that its open in fullscreen mode with hiding menubar. I used once webview in that application. For testing purpose i opened google in that webview. Now what i want to do it. After building app from that project, if i want to open a website i just write "". So basically i want to pass argument with my that app.

    For example in window csharp : System.diagnositc.Process.Start (iexplore,"");

    Same thing i want to do on mac.

    Please provide me some link or give any advice for that.

    Thank in advance.
  2. radiogoober macrumors 6502a

    Jun 7, 2011
    It's easy.

    2. "command line argument objective c"

Share This Page