variable the window now now opens.
Hopefully this is helpful to someone else….
Steve
>> On May 20, 2010, at 10:08 PM, Steve Cronin wrote:
>>
>>> Folks;
>>>
>>> I have a feeling that this is an embarrassing one so try and go easy on me…
>>> XC 3.2.2
ontroller already
exists or has just been alloc'ed and init'ed..
What I am just not understanding here?
Please?
Steve
On May 20, 2010, at 10:08 PM, Steve Cronin wrote:
> Folks;
>
> I have a feeling that this is an embarrassing one so try and go easy on me…
> XC 3.2.2
>
Folks;
I have a feeling that this is an embarrassing one so try and go easy on me…
XC 3.2.2
I have a main nib that opens a window and that works fine.
I used to have an NSPanel in this nib to handle preferences.
I've decided it's a good idea to split the nib into two different nibs: the
main ni
On May 11, 2010, at 4:53 AM, Jonathan del Strother wrote:
> Long shot : has it hit a breakpoint?
No
> And if not, what happens if you pause the debugger and step through?
Here's the stack after I launch, see "Run", then hit 'Pause'
#0 0x9809d2fa in mach_msg_trap
#1 0x9809da67 in ma
Folks;
I need to pare back a project, remove some of the cruft.
I copied the entire project directory and renamed the project and bundle
identifier for now.
I've removed various IB widgets as well as objC classes.
I can now build without any issues in debug and release.
If I double click the re
t;lastName",nil]
triggerChangeNotificationsForDependentKey:@"fullName"];
}
On Apr 20, 2010, at 8:53 PM, Graham Cox wrote:
>
> On 21/04/2010, at 11:48 AM, Steve Cronin wrote:
>
>> I'm seeing compiler warnings -> : warning: 'ABC' may not res
Folks;
Subclassed NSObject now getting compiler warnings - don't understand why?
@interface ABC : NSObject {
}
@end
@implementation ABC
+ (void)initialize
{
...
keys = [NSArray ..];
[self setKeys:keys triggerChangeNotificationsForDependentKey:@"xyz"];
...
}
@end
I'm seeing compiler
On Apr 10, 2010, at 3:51 PM, Fritz Anderson wrote:
> Did you change the action type to Cocoa after starting with AppleScript or
> shell script?
No
> Have you examined the contents of the action bundle in the problem case?
> Clean the target first, then build. Control-click Products > yourBund
On Apr 10, 2010, at 3:08 PM, Fritz Anderson wrote:
> You don't say what kind of Automator action you are building — script,
> AppleScript, or Cocoa?
Cocoa
> And what do you mean by "compile warnings?" The compiler doesn't know or care
> about the contents of Info.plist. The build system might
Folks;
I have an Automator action that is giving me a confusing result.
If I include an 'Executable File' key in the info.plist
- debug compile - with no executable this key is pointless
- release compile - no warning
If I remove the 'Executable File' key from the info.plist
- debug compile - no
Folks;
I'm trying to build my first framework.
I added a new target of type framework.
There are 4 build steps: Copy Headers, Compile Bundle Resources, Compile
Sources, and Link Binary With Library
I've added all the .h files to the 'Copy Headers' and all the .m files to
'Compile Sources'
Ever
On Apr 1, 2010, at 5:58 PM, Jens Alfke wrote:
>
> On Apr 1, 2010, at 3:51 PM, Steve Cronin wrote:
>
>> I have an import statement like the last example but I can't find any "bar"
>> directory
>> I'm unable to determine the particular
Folks;
I'm puzzled by a configuration
Here are my assumptions:
#import //generally a framework reference - is relative
to /System/Library
#import "foo.h" //source file found in $(SRCROOT)
#import "bar/foo.h" // source file found in a directory relative to
Folks;
I have an iPhone application that is used for a very specific purpose.
After perusing and modifying data the user is given the option to effectively
[Cancel] or [Save]
After they have made their decision the app's purpose has been served for this
instance.
What I would like to do is e
e:
> .txt looks wrong.
> Why not create .h and .m and import the .h?
> Usually you #import, not #include in ObjC.
>
> .h
> extern NSString *gLeftBracket;
>
> .m
> NSString *gLeftBracket=@"<";
>
> atze
>
>
> Am 14.03
Folks;
I have a dozen or so strings that I use over and over in various classes.
So here's what I've done
I have a CommonStrings.txt file added to the project. It looks like this:
NSString *gLeftBracket =@"<";
NSString *gRightBracket =@">";
If I #include this file somewhere in
Folks;
I want to provide a service which will open a small HUD for fine-tuning the
request.
It seems to me that this HUD should open nearby where the context request
occurred.
I've poked around some and haven't hit anything promising.
As the recipient of the service call 'xyz: userData:error:'
Folks;
I have a tableView which is working pretty handily.
I support a form of import by dropping a text file on it.
The backing arrayController returns an NSTableViewDropAbove for UI
feedback purposes.
(the row the file is dropped on (or above) doesn't actually matter)
I
estigation' impulse a the potential customer…
I'm on a tear to reduce these reasons for abandoning….
My research shows if folks actually install and try my program - they tend to
buy it!
Steve
On Feb 26, 2010, at 3:59 PM, Nick Zitzmann wrote:
>
> On Feb 26, 2010, at 2
Folks;
Thanks for the thoughts on this matter!
I think Matt raises an great point about hijacking on subsequent launches.
Personally I'm mistrustful of installers..
why does a simple application need to go mucking around on my system?
why is this application different than all th
Folks;
My Mac-based Cocoa application is now available as a free trial download from
the internet.
The first time a user opens the software a warning is shown informing the user
that this software has never been used and was downloaded from the internet --
thanks redmond =[:-(
I understand
Folks;
I'm a big fan of Snow Leopard's revised support for Services.
In fact my application has a service that I would like most of my customers to
use.
What I have found from watching test subjects install my software is that many
folks stumble on enabling the service.
I understand that user n
…
Thanks Again
Steve
On Feb 23, 2010, at 2:43 PM, Fritz Anderson wrote:
> On 23 Feb 2010, at 2:11 PM, Steve Cronin wrote:
>
>> I have all of this working including a build step that compresses the
>> appropriate release version of Helper
>> (/usr/bin/ditto -c -k --se
Folks;
This is a Mac application.
I have a helper app that I want to transport inside of a larger app (Mother)
At the user's discretion I want to deploy the helper app
The helper app CAN be called by AppleScript.
In order to help with Mother's file size and inadvertent calling of Helper
(when n
Folks;
I've found through field testing that some of my customers are keeping several
copies of my application on their computer.
At various points in the usage, it is possible to launch the application using
AppleScript as well as by invocations of -launchAppWithBundleIdentifier:
However, whe
Folks;
I am trying to understand the ABAddressBook's ABLocalizedPropertyOrLabel()
function.
I can find descriptions of what it is supposed to do but no actual examples or
guidance on how to use it or the necessary conditions for it to work.
I have configured a Snow Leopard machine to use Danis
Folks;
In Snow Leopard an Address Book user now has a preference setting for setting
the 'default account for new contacts'
-save always stores to the local machine regardless
Am I just missing something?
Thanks,
Steve
___
Cocoa-dev mailing list (
Thanks for your time!
Steve
On Oct 4, 2009, at 4:17 PM, Clark Cox wrote:
On Sun, Oct 4, 2009 at 1:48 PM, Steve Cronin
wrote:
Folks;
(thePhrase) : Geschäftsführer (CEO):
(tString): Geschäftsführer (CEO)
Both
curPos = [thePhrase rangeOfString: tString
options:NSCaseInsensitiveSear
Folks;
(thePhrase) : Geschäftsführer (CEO):
(tString): Geschäftsführer (CEO)
Both
curPos = [thePhrase rangeOfString: tString
options:NSCaseInsensitiveSearch].location;
AND
NSLocale *tLocale = [[[NSLocale alloc]
initWithLocaleIdentifier:@"de_DE"] autorelease];
curPos = [thePhrase r
Folks;
I opened the .xib file in a text editor -searched for 'NSCoreUIImageRep'
I found one instance (thankfully) and by 'reading' the text was able
to determine that it was a matrix of 2 radio buttons.
I removed the offending matrix and re-instantiated a fresh one.
I monitored the .xib text
Kyle * Graham;
The IB Info says:
Deployment Target: 10.4
Development Target: IB 3.2
There are no error or warnings!
What should I be looking at?
Steve
On Sep 30, 2009, at 1:56 AM, Kyle Sluder wrote:
Check your IB compatibility settings. Looks like you've archived an
image into your nib th
Folks;
I have converted to using SL; XC3.2; IB 3.2.
I have an app with a deployment target of 10.4
There are no IB warnings; the dev target is IB 3.2
Things have been working reasonably well but now when I test on a
Tiger I crash immediately
Leopard and Snow Leopard are fine
2009-09-30 01:34
Gentlemen;
YES Bingo! + newWidgetID
I love how Cocoa can so drive you crazy and then when insight happens
it's often nearly painful in its elegance and simplicity…
Breathtaking sometimes….
Thank-you all,
Steve
On Sep 29, 2009, at 5:12 PM, Steve Cronin wrote:
"…. Object with
Folks;
I have a Clang issue that is making me a little crazy.
I have a modestly complex Core Data application with several thousand
lines of code.
I've run Clang and at this point I have only one issue:
"…. Object with +0 retain counts returned to caller where a +1
(owning) retain count is
Folks;
I have an app that receives AppleScript calls
App passes Clang with no warnings; using XC 3.2 w/ 10.6SDK
The call is made successfully and performs beautifully -- the first
time!
Everything works just as intended.
The second script call is processed by the app but crashes immediately
Folks;
I have recently converted to XC & IB 3.2
I've updated my project to be a 3.2 project using a baseSDK of 10.6
with deployment target of 10.4
I have a Core Data model that I've been very happy with starting in
10.4 and continuing in 10.5..
In readying for the brave new world ahead I ha
On Sep 20, 2009, at 5:01 PM, Kyle Sluder wrote:
On Sun, Sep 20, 2009 at 12:42 PM, Steve Cronin
wrote:
essentially it is:
"Essentially" isn't good enough; actual copy-paste is necessary to
ensure you're doing it correctly.
NSMutableDictionary *localDict = [
ettings release];
myBaseSettings = [newSettings retain];
}
}
Does this provide you the information you are looking for?
Steve
On Sep 20, 2009, at 1:51 PM, Kyle Sluder wrote:
On Sep 20, 2009, at 11:35 AM, Steve Cronin
wrote:
I have an instance variable which is an NSMutableDictionary *
myBas
, 2009, at 11:35 AM, Steve Cronin
wrote:
I have an instance variable which is an NSMutableDictionary *
myBaseSettings
You need to post the code that creates this dictionary.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
Folks;
I have recently converted to XC & IB 3.2
I've updated my project to be a 3.2 project using a baseSDK of 10.6
with deployment target of 10.4
I've run the static analyzer and have no analyzer issues as well as no
compiler nor IB warnings
I'm feeling good about this but now code that wo
Luke;
I've adapted the code to accomodate your's and Chris' answer to
question 2.
Here's the entire method, which now shows not static analyzer issues
but I still would like to understand why not.
+ (NSDictionary *)metadataForFilePath:(NSString *)thisPath {
NSDictionary *md = [NSD
MDItemCopyAttributes. The object that you create inside that call
is never released.
Luke
On Sep 18, 2009, at 4:33 PM, Steve Cronin wrote:
Folks;
Alert - potential boneheaded-ness lies ahead - please be gentle.
I'll be the first to admit that I'm much happier in ObjC than C…
I thought I
Folks;
Alert - potential boneheaded-ness lies ahead - please be gentle.
I'll be the first to admit that I'm much happier in ObjC than C…
I thought I would try static analysis and see what turned up.
On the whole I must say I'm pleased but this one has me questioning my
basic understanding
, at 12:46 AM, Steve Cronin wrote:
Folks;
Got another report today from the field also a MacBookPro5,1
running 10.5.8
2009-09-16 03:01:53.954 XYZ[329:20b] Error loading /Library/
ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/
QXPScriptingAdditions: dlopen(/Library
c970 x86_64)
How I do I hone in on where the problem is??
Steve
On Sep 15, 2009, at 1:50 AM, Graham Cox wrote:
On 15/09/2009, at 4:44 PM, Steve Cronin wrote:
15:01:38.292 XYZ[11756:20b] HIToolbox: ignoring exception '***
-[NSCFString substringToIndex:]: Range or index out of bounds'
Folks;
I have an app with a 10.4 Deployment target.
I have recently begun using XC 3.2 and IB 3.2 - spp compiles cleanly
and all IB 'sibling' issues have been resolved.
I've gotten a field report (release) where I'm seeing:
15:01:38.292 XYZ[11756:20b] HIToolbox: ignoring exception '***
-[NS
r your time and consideration!
Steve
On Sep 14, 2009, at 1:16 AM, Steve Cronin wrote:
John;
That's good information but I don't see how it helps with a stand-
alone service - how do I (or user) launch the .service bundle?
Steve
On Sep 14, 2009, at 1:12 AM, John C. Randolph wrote:
John;
That's good information but I don't see how it helps with a stand-
alone service - how do I (or user) launch the .service bundle?
Steve
On Sep 14, 2009, at 1:12 AM, John C. Randolph wrote:
On Sep 13, 2009, at 10:55 PM, Steve Cronin wrote:
I have convinced myself that th
Foks;
I'm trying to develop a stand alone service in Snow Leopard.
The issue I'm running into is how to update the system as I compile a
new version.
The pbs command shows that the bundle path is the one in my Release
Build folder
"pbs -dump_pboard"
{
NSBundleId
Folks;
I am trying to understand whether ABAddressBook will permit
interaction with Exchange.
I don't see anything in the documentation specifically on this point.
Can anyone comment on this?
Am I missing a resource?
Is it currently not supported?
Thanks for any thoughts!
Steve
p 10, 2009, at 2:51 AM, Steve Cronin wrote:
My base SDK is set to 10.6 and a deployment of 10.4.
Everything was peachy under 10.5 and XC3.1 no such warnings or
errors.
Sooo does this mean I cannot use XC3.2 unless I fix all these issues?
Nib deployment targets are actually set in the nib
Folks;
I know I'm late to the game here but I just took my app for a compile
under XC3.2 for the first time…
A few NSString encoding loose ends OK but WHAMO my .xib files are
hammered with ~100 errors (not warnings!)
".. This view overlaps one of its siblings. Overlapping sibling views
Ben;
Thanks for taking the time to respond.
I believe that I was blinded by a build issue in my allegation that
the Predicate Builder mechanism was not giving correct results.
This seems to be working fine now.
I'm glad you have expressed the fragility issue on equivalence - I'll
remember t
Folks;
I have a Core Data entity that has a dateCreated and a dateModified -
both NSDates in the object files.
I'd like to construct a predicate that will retrieve all records where
a record's dateModified is greater than that record's dateCreated.
Its deceptively easy to setup something th
Folks;
I have a logging facility built into my application to assist in
troubleshooting from the field.
These 4 lines appear SOMETIMES in user submitted log files:
2009-08-12 10:57:55.383 MyApp[296:20b] .sdef error: (null)
2009-08-12 10:57:55.383 MyApp[296:20b] line number: 2
2009-08-12 10:5
Folks;
NSTextView <- NSText <- NSView <- NSReponder <- NSObject
NSTextField <- NSView <- NSReponder <- NSObject
At runtime if I have access to an instance of NSTextView how can I
address the NSTextField?
I know I should know this but I having a 'moment'...
Steve
Folks;
Found the answer:
NSDictionary *bindDict = [self infoForBinding:@"value"];
[[bindDict objectForKey:@"NSObservedObject"] setValue:newString
forKeyPath:[bindDict objectForKey:@"NSObservedKeyPath"]];
On Aug 2, 2009, at 1:32 PM, Steve
Folks;
I have several text fields bound to a mutable dictionary in the window
controller.
Works fine.
I want to provide drag-n-drop text snippets into these text fields.
I have all the drag-n-drop working just fine -- (uses custom text
fields and the window field editor)
Within the perfor
Folks;
From my Cooca app I want to call an AppleScript with several
parameters one of which is an AppleScript record.
I've got everything about calling and return values working smoothly.
What I can't seem to get is how to create that parameter record.
I have been able to build AppleScript l
g the binding does get the UI job done but leaves me at a dead
end in my understanding of why the code I submitted doesn't accomplish
my goal!
Thanks for your time and help!
Steve
On Jul 4, 2009, at 5:51 PM, Matt Neuburg wrote:
On Fri, 03 Jul 2009 17:00:59 -0500, Steve Cronin
said:
Folks;
I have a simple one column tableView of a managed object.
The text field in the table view is editable.
I want to keep the table sorted when the user manually changes a value,
I have registered for the notification:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selec
Quincey;
Do you in fact have a "code" property? On the app delegate? What's
does it's @property (or accessor prototype) look like?
The 'code' property is declared on an entity: MyEntity.
The accessors were created by XCode itself using the 'Copy Method
Declaration/Implementation to Clipboard'
Quincy;
Hey thanks for some useful data!
BUT it is not what is happening in this case.
I have a base class MyManagedObject that all entities are derived from.
MyManagedObject has the - setNilValueForKey: method defined.
I set a breakpoint there and a log message as well. Neither are ever
call
Folks;
10.5.7 - 10.5 SDK - target 10.4
I have a managed core data entity working pretty nicely.
I can display values in a tableView blah-blah
Clicking on table column headers does as expected IN RELEASE versions
for both Tiger and Leopard.
However, in the debugger a click on table col
know there remains the root forms issue
but let's not drag that issue in here
Steve
On Jun 22, 2009, at 12:52 PM, Ken Thomases wrote:
On Jun 22, 2009, at 3:10 AM, Steve Cronin wrote:
So I've been pondering and testing...
1) Why would I have to bust up/loop on thePhrase?
BUT in
Ken & Jerry;
Thanks for the quick response!
So I've been pondering and testing...
1) Why would I have to bust up/loop on thePhrase? This makes me face
Jerry's issue of a universal solution for breaking on words.
Just on general principal what would that solution be?
[thePhrase componentsSep
Folks;
I would like to solicit feedback on the best approach to solve this
problem: "phrase contains any word in set {a,b,c...}"
I have a user supplied phrase (usually 3-5 words; max of 10 words) ->
thePhrase
The user may provide any random phrase...
I also have a user managed array of w
Folks;
Using 10.5 SDK deploying to 10.4 on an Intel 10.5.7 machine running XC
3.1.2
I have a Core Data model against which I have successfully loaded data.
Now I want to display some data in a tableView - so I drag a stock
arrayController from IB onto a window.
I set the Mode to 'Entity'
Folks;
I want to allow users to drag selected text between text fields.
I have subclasses NSTextField and implemented:
- (void)awakeFromNib { [self registerForDraggedTypes:[NSArray
arrayWithObject:NSStringPboardType]];}
- (unsigned int)draggingEntered:(id )sender { ...
- (BOOL)performDragOp
Folks;
I'm making slow progress on what seems like should be a really simple
contextual menu plugin.
Build the 2006 version of Apple's SampleCMPlugin (that's the latest I
could find)
There is a section of code to determine if the current selection is
text (or could be coerced to text):
Folks;
I'm trying to write a pretty simple contextual menu plug in
I've modeled it after SampleCMPlugin. I just to the COM stuff
straight away.
I successfully compile and move the release product to ~/Library/
Contextual Menu Items
I log out and back in
I never see any of the printf() e
Folks;
Annoyed that something was amiss I have respecified the various bits
of code and it all now works as I knew Cocoa would..
Best explanation I can offer is some spelling error in key handling of
which I was blinded..
Sorry for the nuisance on the list! [:-(
Steve
This code works:
NSM
Folks;
I have a mutable dictionary 'myPerson' which has a key=@"address".
The object stored at @"address" is another mutable dictionary.
someCity = [myPerson valueForKeyPath:@"address.city"] --> nil
someCity = [[myPerson valueForKey:@"address"] valueForKey:@"city"] --
> expected value
Why
"
Is the reason you are alluding to the complications due to instance
variables that is noted in the NSMutableCopying Protocol notes?
Or are you thinking of another reason?
Steve
On Apr 24, 2009, at 11:34 AM, Mike Abdullah wrote:
On 24 Apr 2009, at 17:15, Steve Cronin wrote:
Graham;
Graham;
THANK-YOU for this informative and "full-bodied" answer!
I want make sure I fully understand:
1) The "Easy Way" works only if there are no collection objects as
values in the "copied" dictionary (or other collection).
It seems to me that the "Hard Way" is ultimately necessary for "ev
Folks;
Its been a long day and maybe I'm just in need of sleep but I'm
bamboozeled...
I have an NSMutableDictionary (newThing) that is set up based on some
user defaults and current contextual data.
newThing is fine.
What I want to do is clone newThing (newThing2) and leave the values
Folks;
I haven't stuck my toe in the iPhone water yet.
I know I could find the answers to these by digging but I've been
asked to find out the answers quickly...
1) Does the iPhone support the Cocoa AddressBook.framework? If so, do
the AB change notifications also work?
2) We believe tha
Folks;
I have a panel which I want to allow the user to extend vertically up
to 100 pixels.
IB 3.1 (xib)
Resize flag - ON
Has Minimum Size - ON (use Current to establish the base size)
Has Maximum Size - ON (use Current then add 100 to Height)
Now the project won't compile:
error: This windo
Folks;
I'm reading input from a text file (stringWithContentsOfFile) I have
no control over.
Testing is going well until a I encounter a phrase is wrapped in curly
quotes.
(Note phrases wrapped in straight quotes are fine)
Without trying to digest the entirety of the Mac OS Text Encoding
d lose the resistance but there are only so many
mountains one guy can climb...
Thanks for the very helpful note!
Steve
On Mar 22, 2009, at 12:43 PM, Adam R. Maxwell wrote:
On Mar 21, 2009, at 10:38 AM, Steve Cronin wrote:
The 'theScript' is a valid script that executes flawlessly
SDEF file had been renamed.
As Samuel Jackson said in "Black Snake Moan" -- "Collar that dog!",
Steve
On Mar 22, 2009, at 12:05 PM, Matt Neuburg wrote:
On Sat, 21 Mar 2009 12:38:11 -0500, Steve Cronin
said:
Folks;
I'm trying to get a string value back from a simple
Folks;
I'm trying to get a string value back from a simple AppleScript in
Cocoa:
NSDictionary *errorDict= nil;
NSAppleScript *appleScriptObject = [[NSAppleScript alloc]
initWithSource:theScript];
NSAppleEventDescriptor *eventDescriptor = [appleScriptObject
executeAndReturnError: &errorDi
Folks;
I have an 10.5 Intel development environment but I am deploying to
10.4 Universal using the 10.4 SDK.
I have a QTMovieView object from IB in a window.
When I run in Debug mode a message appears in the Console.
When I run in Release mode on either platform - no message appears (I
rou
Folks;
I use an object in my application called 'appDelegate'; it's a
subclass of NSObject.
I instantiate this object in the main Nib file
This object has IBActions for the main menu and since it is -app
delegate it is a kind on central dispatcher.
My question is this:
The +initialize is
Folks;
Sheepish - the offending textView was set as field Editor
Yeesh I guess I need some sleep.
Thanks for the responses!
Steve
On Mar 8, 2009, at 12:02 AM, Scott Anguish wrote:
what bindings have you set for the misbehaving text view?
On 8-Mar-09, at 12:41 AM, Steve Cronin wrote
Folks;
I'm really puzzled by this one. In one window I have a TexView inside
a ScrollView - works well - user can type many lines and scroller
appear and disappear as expected.
In another window I have another TextView inside a ScrollView and
every time the user hits the 'Return' or 'Ent
Folks;
I've inherited some Cocoa code that uses NSMutableNURLRequest and
NSURLConnection to pass .php request to a server.
The NSMutableURLRequest packs up some data into the the .php which
stuffs this data into a MySQL database.
This is all working nicely.
Now what I've been asked to make
view based toolbar
items if you intend to allow customization; that you must build the
entire view in code?
Could you explain just a bit more?
Steve
On Feb 10, 2009, at 5:47 PM, Peter Ammon wrote:
On Feb 9, 2009, at 7:13 PM, Steve Cronin wrote:
Folks;
I have a mix of view and
Folks;
I have a mix of view and image based toolbar items.
The views are all IBOutlets defined in IB.
Everything is working well - events are handled and items
arevalidated, everything is dandy.
Except when the user customizes the toolbar.
The image based items can be added and removed 'till
Folks;
I use AppleScript to accomplish some inter-application tasks.
Over time I have a developed several utility routines in Cocoa, one of
which is to return the results of an arbitrary script execution. as an
NSString:
- (NSString *) getStringResutlFromAppleScript:(NSString *)theScript {
ne else.
Steve
On Feb 4, 2009, at 5:10 PM, Peter Ammon wrote:
On Feb 4, 2009, at 1:23 PM, Steve Cronin wrote:
NSMenuItem
Menu item title
MyService
The key
a script.
NSUpdateDynamicServices() is the right way to programmatically
refresh Services.
-Peter
On Feb 4, 2009, at 7:03 AM, Steve Cronin wrote:
Well, sheesh - that's embarrassing! There is no 'self' until init
- I know that! Ugh.
However, that doesn't cha
n for new Services is to run pbs directly:
/System/Library/CoreServices/pbs
However, pbs has no supported public interface and this will (has
already) change, so don't include any reference to pbs in a script.
NSUpdateDynamicServices() is the right way to programmatically
refresh Services.
rn self;
}
- (void) applicationDidFinishLaunching:(NSNotification *)aNote {
[NSApp setServicesProvider:self];
void NSUpdateDynamicServices(void);
}
- (void) myServiceName:(NSPasteboard *)pboard userData:(NSString
*)userData error:(NSString **)error {
.
}
On Feb 4, 2009, at 5:47 AM,
Folks;
I have a need for a stand-alone service.
Seems like Service don't get alot of love... (Maybe that's my
problem .. but I don't think so)
To be clear here, this is a stand-alone .service type application (not
a service vended by a larger app (like Mail).
Here's what I have done:
0) b
Corbin;
Hey thanks for replying!
First off, don't use the 'tableView:' prefix for your own delegate
methods. Consider what would happen if AppKit introduced the same
delegate method in a future release. Well, I can tell you from
experience that it won't be good. So, please make it somethin
Folks;
iTunes and Excel both have a feature wherein if you double-click on
the column divider in the tableHeader then the table column width is
adjusted to the maximum width of the data in the column.
Below is a reasonably generic Cocoa solution for implementing this
behavior.
The tableVi
Corbin;
Thanks for responding!
I don't understand "..Symbolicate your backtrace.."
Can you take a moment and educate me on this?
Thanks!
Steve
On Jan 29, 2009, at 1:24 PM, Corbin Dunn wrote:
On Jan 29, 2009, at 9:54 AM, Steve Cronin wrote:
Folks;
An Australian tester i
Folks;
An Australian tester is reporting the crash shown below...
How can I best attack this problem?
What kind of IB setting causes a 'makeObjectsPerformSelector:'?
I do not directly call such a method in my code at all.
What do I make of the 'CFRelease' at frame 0?
What can I do to facilitate
Folks;
NSTextView has an attribute 'automaticLinkDetection' that can be set
in IB or with the usual -set method.
What the docs say is that it "...causes strings representing URLs
typed in the view to be automatically made into links to those URLs..."
This is what I observe. If I begin typing
1 - 100 of 155 matches
Mail list logo