Cocoa Document Based Application question


i've got pretty basic question here cocoa project i'm working on through xcode. i'm using of basic setup/files provided me ide when set project up.

program i'm making glorified frontend, 90% of done @ point. last element need capture filename of associated file double clicked start application. need able pass full path of file along program i'm starting application.

seems should pretty simple, i've been stumped far. lend hand , let me know code (and should live)? thanks!
 

read nsapplicationdelegate:
https://developer.apple.com/library...nce/nsapplicationdelegate_protocol/index.html

has methods called when files passed app opened, printed, etc.

on left under heading "related documentation" detailed discussion , fundamentals. example, "mac app programing guide", in "core app design" section.

there under heading "sample code" links examples. shouldn't difficult find 1 nsapplicationdelegate implements 1 of file-open callbacks.
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Snow Angels: Men Dig Out Moose Buried By Avalanche

Error installing Key Agent drivers in Windows 7

IOH Heatsink & CPU B Core 0 Relative to ProcHot