IMHO, named parameters at call sites are one of the things that makes
Objective-C great; and I am VERY happy that Swift-2 enforces this.
It is not any additional burden in any modern IDE to have this; as the IDE’s
autocomplete fills in the parameter names for you.
Also, consider a body of code
On 25 Jun 2015, at 12:34, Sandor Szatmari admin.szatmari@gmail.com
wrote:
I wrote an interface to a third party app using the Scripting Bridge. It
worked pretty good but I had to test the SBApplication object for nil before
accessing it. Periodically it would return nil
On 25 Jun 2015, at 13:33, Bill Cheeseman wjcheese...@gmail.com wrote:
On Jun 25, 2015, at 8:09 AM, Dave d...@looktowindward.com wrote:
That’s the problem, “sdef and/or “sdp barf when I try to generate the
header file and without the header file you are pretty much dead in the
water.
On 25 Jun 2015, at 14:48, Bill Cheeseman wjcheese...@gmail.com wrote:
On Jun 25, 2015, at 9:13 AM, Dave d...@looktowindward.com wrote:
I get this error:
sdp: enumerator of enumeration e183: missing required name attribute.
Can you generate the sdef file separately, then manually
On further investigation, the App doesn’t have an .sdef, so, the “sdef” tool,
must generate it from the old style ‘aete’ resources. So, the fault could be in
either “sdef” or “sdp”.
I’ve trying to look at the output from “sdef” but it’s in a horrible format -
no line endings, so it’s hard to
Le 25 juin 2015 à 15:13, Dave d...@looktowindward.com a écrit :
On 25 Jun 2015, at 13:33, Bill Cheeseman wjcheese...@gmail.com wrote:
On Jun 25, 2015, at 8:09 AM, Dave d...@looktowindward.com wrote:
That’s the problem, “sdef and/or “sdp barf when I try to generate the
header file
Hi,
Is the source code of “sdp” available anywhere? Just a thought.
All the Best
Dave
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
On Jun 25, 2015, at 8:09 AM, Dave d...@looktowindward.com wrote:
That’s the problem, “sdef and/or “sdp barf when I try to generate the
header file and without the header file you are pretty much dead in the water.
I haven't noticed a specific description of the failure you're
On Jun 25, 2015, at 9:13 AM, Dave d...@looktowindward.com wrote:
I get this error:
sdp: enumerator of enumeration e183: missing required name attribute.
Can you generate the sdef file separately, then manually edit it to supply the
missing required 'name' attribute, and then run sdp on
On 25 Jun 2015, at 14:24, Jean-Daniel Dupas mail...@xenonium.com wrote:
That just means you wrote an invalid sdef file in the first place.
Really? No kidding?!?!? lol
The .sdef file comes with the App I am trying to generate the header file
for!
On 25 Jun 2015, at 16:50, dangerwillrobinsondan...@gmail.com wrote:
On 2015/06/25, at 15:49, Britt Durbrow
bdurb...@rattlesnakehillsoftworks.com wrote:
IMHO, named parameters at call sites are one of the things that makes
Objective-C great; and I am VERY happy that Swift-2 enforces
Hi,
Can you open the dictionary in Scripteditor?
Is the application launched when you run sdef or open the dictionary in
Scripteditor?
I can’t seem to find an editor that will open it
Try Xcode or TextWrangler with soft wrap switched on in the preferences. Or
Sdef Editor, ignore the warnings
Le 25 juin 2015 à 15:57, Dave d...@looktowindward.com a écrit :
On 25 Jun 2015, at 14:48, Bill Cheeseman wjcheese...@gmail.com wrote:
On Jun 25, 2015, at 9:13 AM, Dave d...@looktowindward.com wrote:
I get this error:
sdp: enumerator of enumeration e183: missing required name
On 25 Jun 2015, at 17:14, Jean-Daniel Dupas mail...@xenonium.com wrote:
You can pretty format it using xmllint command line tool.
xmllint --pretty 1 yourfile.xml your_formatted_file.xml
I knocked up a utility to do it but thanks anyway.
Once I could see where the problem was, I
Hi,
I’ve added some .applescript files to my project which get called using the
AppleScriptObjC Bridge.
I was wondering if there was a way to specify in the project somehow that I
want to use the terminology from a particular application when compiling the
script?
All the Best
Dave
On 26 Jun 2015, at 9:10 am, Raglan T. Tiger r...@crusaderrabbit.net wrote:
I have a list of generic bitmaps that are to be transformed to NSImages. The
list can be long, I haven limits on it.
Here is the code I use to populate an NSMenu that gets set into an
NSPopUpButton.
I need
I have a list of generic bitmaps that are to be transformed to NSImages. The
list can be long, I haven limits on it.
Here is the code I use to populate an NSMenu that gets set into an
NSPopUpButton.
I need to speed this process up ... any suggestions?
NSMenu *comboMenu = [[[NSMenu alloc]
On Jun 25, 2015, at 6:10 PM, Raglan T. Tiger r...@crusaderrabbit.net wrote:
I have a list of generic bitmaps that are to be transformed to NSImages. The
list can be long, I haven limits on it.
Here is the code I use to populate an NSMenu that gets set into an
NSPopUpButton.
I need
Trying to have a delegate pattern with a typealias requirement. I can define
the protocol, I can make a class conform to it, but I can’t declare a variable
of that type as a member of another class because it has associated type
information. Is there a way to do this, or is there a very good
Graham,
Xcode 6.3.2; OS X 10.10.3; Base SDK 10.10; Deployment Target 10.10; Swift 1.2;
iMac 24” early 2009.
I think we have to go back to around 10.5 to get to the time of no assumptions
about z-order of overlapping sibling views.
Thanks,
Tom Wetmore
On Jun 25, 2015, at 12:22 AM, Graham
On 2015/06/25, at 15:49, Britt Durbrow
bdurb...@rattlesnakehillsoftworks.com wrote:
IMHO, named parameters at call sites are one of the things that makes
Objective-C great; and I am VERY happy that Swift-2 enforces this.
I agree whole heartedly.
But will call out that it is a considered
On 25 Jun 2015, at 00:30, Graham Cox graham@bigpond.com wrote:
On 24 Jun 2015, at 9:22 pm, Dave d...@looktowindward.com wrote:
I was wondering if I should just give up now and forget using the Bridge or
if there’s any chance that I might get a usable header file generated
22 matches
Mail list logo