• 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: Adding simple AppleScript commands to a Cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding simple AppleScript commands to a Cocoa application


  • Subject: Re: Adding simple AppleScript commands to a Cocoa application
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 19 Apr 2006 05:56:47 +0200

Dustin,

On 19.4.2006, at 4:53, Dustin Voss wrote:

The problem is that Objective-C does not have the concept of object- independent actions. The closest it has is NSInvocation, and even that is meaningless until it is tied to one, specific object.

There cannot be really a concept of objectless operations in an object-oriented environment.


On the other hand, classes--being static objects--can in practice fill this gap nicely and, from the implementation point of view, very cleanly: if, that is, the designer cares :)

For example, an NSObject category containing just a bunch of class methods can be in practice pretty well considered an "objectless" list of actions.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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
References: 
 >Adding simple AppleScript commands to a Cocoa application (From: "Robert Nolet" <email@hidden>)
 >Re: Adding simple AppleScript commands to a Cocoa application (From: Dustin Voss <email@hidden>)

  • Prev by Date: Re: [Q] COM and dynamic link library?
  • Next by Date: Re: C# to Objective-C translator?
  • Previous by thread: Re: Adding simple AppleScript commands to a Cocoa application
  • Next by thread: Re: Adding simple AppleScript commands to a Cocoa application
  • Index(es):
    • Date
    • Thread