Re: Adding commandline batch mode to Cocoa app

2008-03-22 Thread Tom Harrington
ally install the command-line tool. Depending on your architecture the command-line tool could be as simple as a symbolic link to the main bundle's binary. Depending on your requirements, you might consider whether the batch-mode processing would be better i

Re: NSURLConnection doesn't post

2008-04-10 Thread Tom Harrington
st the data and call its delegate methods. Also, is it possible that when -sendLogs is called from another class, it's also called from a separate thread? NSURLConnection's delegate methods are called on the same thread that initiated the connection, and if you've started a differen

Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?

2008-04-10 Thread Tom Harrington
] superview] frame]" would give you the current width, and if desired you could adjust mainView's frame appropriately. This would mean designing to Tiger's pref pane width, and then expanding when running on Leopard. Best to stick with looking up the size instead

Re: NSURLConnection doesn't post

2008-04-11 Thread Tom Harrington
o just give the thread its own run loop. It all depends on your app architecture. -- Tom Harrington [EMAIL PROTECTED] AIM: atomicbird1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Obj-C client and Java-RMI server

2008-04-24 Thread Tom Davies
nd OS X. Tom ___ 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 cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

How can I display a pop-up alert message to a user from a background launchd daemon?

2009-02-04 Thread Tom Fortmann
ovide, Tom ___ THOMAS FORTMANN Director of Development XCAPE SOLUTIONS, INC. 207 Crystal Grove Blvd. Lutz, FL 33548 TEL 847 228 9831 <http://www.xcapesolutions.net> www.xcapesolutions.net <mailto:tfortm...@xcapesolutio

Determining if a user is logged in from a Launchd Daemon

2009-02-06 Thread Tom Fortmann
Event that can be sent to determine this? Please let me know if anyone has any ideas on how to do this. Thanks, Tom ___ THOMAS FORTMANN Director of Development XCAPE SOLUTIONS, INC. 207 Crystal Grove Blvd. Lutz, FL 33548 TEL 847 228 9831

RE: Determining if a user is logged in from a Launchd Daemon

2009-02-09 Thread Tom Fortmann
...likely that they will be formally deprecated in a future version of Mac OS X", where as the utmpx API is new to 10.5 which implies a potentially longer life. Thanks again, Tom ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no

Code Signing Examples

2009-02-20 Thread Tom Fortmann
tical application within my code. I've also looked at simply running the codesign utility and parsing its XML output, but this seems like a weak design. What is codesign gets replaced? Tom ___ THOMAS FORTMANN Director of Development XCAPE

RE: Code Signing Examples

2009-02-20 Thread Tom Fortmann
PM To: Tom Fortmann Cc: cocoa-dev@lists.apple.com; darwin-...@lists.apple.com Subject: Re: Code Signing Examples On Feb 20, 2009, at 6:47 AM, Tom Fortmann wrote: > Can anyone point me to sample code on how to verify an application > or process is signed? My application executes a c

NSNumberFormatter unsigned long long bug?

2008-10-09 Thread Tom Bernard
08 NSString *lLongMaxPlusOneString = [formatter stringFromNumber:lLongMaxPlusOneNumber]; // debugger shows -9,223,372,036,854,775,808 [unsignedLongLongTextField3 setStringValue:lLongMaxPlusOneString]; } Thanks in advance. ++ Tom Tom Bernard

Launchd timeout messages

2008-10-20 Thread Tom Fortmann
FYI - I know this is a little off the Cocoa topic, but I didn't see a more appropriate developer list. If one exist please forgive the intrusion and point me in the right direction. Tom Fortmann Xcape Solutions ___ Cocoa

RE: Launchd timeout messages

2008-10-20 Thread Tom Fortmann
Jason, Thanks. I will try removing the OnDemand key. If that doesn't work I will report on Darwin-dev list. Thanks again, Tom -Original Message- From: Jason Coco [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2008 3:14 PM To: Tom Fortmann Cc: cocoa-dev@lists.apple.com Su

How to exit a thread help...

2008-10-25 Thread Tom Jones
Hello, I'm writing a Foundation tool and I need to run a NSTask in a separate thread. I have it working but when the task completes the thread is still running. I tried issuing a [NSThread exit] but that did nothing. What am I missing? Thanks, tom This my main code #import #i

Re: How to exit a thread help...

2008-10-27 Thread Tom Jones
thread is completed it's still present. >> What am I missing? > I suspect it's because you aren't allowing any run loops to run. See > the thread beginning here: > http://lists.apple.com/archives/Cocoa-dev/2008/Oct/msg01016.html Thanks, tom

Use of cURL and OpenSSL versus CF and NS Classes

2008-11-03 Thread Tom Fortmann
w there isn't a definitive answer here, but I'm hoping the wealth of experience on this list can provide some good advice. Tom Fortmann Xcape Solutions Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

How do you get the OS X version number in C or C++?

2008-11-14 Thread Tom Fortmann
Is there a core foundation function for querying the Mac OS X operating system name and version information? The uname() API returns the Darwin kernel version information, but I need to find the OS X 10.x.x information. Tom Fortmann Xcape Solutions

RE: How do you get the OS X version number in C or C++?

2008-11-14 Thread Tom Fortmann
What framework do I include in my Xcode project to pull in Gestalt? I've tries CoreServices, Carbon and Cocoa. -Original Message- From: Sean McBride [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 2:27 PM To: chaitanya pandit; Tom Fortmann Cc: cocoa-dev@lists.appl

RE: How do you get the OS X version number in C or C++?

2008-11-14 Thread Tom Fortmann
I'm an idiot! I was trying to include gestalt.h directly. Simply including the header works like a champ. -Original Message- From: Sean McBride [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 3:17 PM To: Tom Fortmann; 'chaitanya pandit' Cc: cocoa-dev@lists.ap

Different result with NSURLRequest then with curl (or browser)

2008-11-23 Thread Tobias Tom
Hey everyone, I'm trying to access the API of delicious. You can access a JSON list just by using the URL http://feeds.delicious.com/v2/json/. So I tried to access that result from within cocoa code. Here's my try: NSURL *url = [NSURL URLWithString:@"http://feeds.delicious.com/v2/ json/"]; N

Different result with NSURLRequest then with curl (or browser)

2008-11-23 Thread Tobias Tom
Hey everyone, I'm trying to access the API of delicious. You can access a JSON list just by using the URL http://feeds.delicious.com/v2/json/. So I tried to access that result from within cocoa code. Here's my try: NSURL *url = [NSURL URLWithString:@"http://feeds.delicious.com/v2/ json/"]; N

Looking for info on creating Plugins/Modules

2008-12-11 Thread Tom Jones
is loaded when the app launches and it's main method can be called. Is there such a architecture that I can read up on and integrate in to a Cocoa application? Thanks, tom ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Looking for info on creating Plugins/Modules

2008-12-13 Thread Tom Jones
This is great, thanks! I think you even covered follow up questions, now it's off to read the Apple documentation. Thanks again, tom On Dec 12, 2008, at 1:05 AM, Chris Hanson wrote: On Dec 12, 2008, at 12:16 AM, Kyle Sluder wrote: On Fri, Dec 12, 2008 at 2:58 AM, Tom Jones wrote

Advice for drawing complex, line-based designs

2009-05-05 Thread Tom Roehl
I'm working on a project where I'm reading in a file that contains a list of coordinates that are used to define a stitch pattern for embroidery machines. Think of those machines you see at the mall that stitch names and logos on hats and t-shirts. To display the images, I created a documen

NSString and string contains

2008-03-02 Thread Tom Jones
NSLog(@"I found home, %@", obj); } */ } I hope the example helps, thanks, tom ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

NSProgressIndicator indeterminate

2017-04-13 Thread Tom Doan
is a *very* slight gradient moving across the bar. While the determinate bar is medium-dark gray moving over light gray, the indeterminate one has an almost imperceptibly lighter medium-dark moving over medium-dark. This seems less than ideal. Is there some setting that can change that? Tom Doa

Re: NSProgressIndicator indeterminate

2017-04-13 Thread Tom Doan
> On Apr 13, 2017, at 13:35 , Tom Doan wrote: > > > > the indeterminate one has an almost imperceptibly lighter > > medium-dark moving over medium-dark. > > This suggests you have set your system appearance to Graphite instead > of Blue (in System Preferences -

NSAccessibility

2017-07-13 Thread Tom Doan
't know how to prevent this call from being made. Any suggestions? Best regards, Tom Doan Estima Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgume

runModalSession handling

2018-04-05 Thread Tom Doan
continued on 0 and 1, and that seemed to work around this, but I would really like to understand what is wrong with this setup. Best regards, Tom Doan --- 1560 Sherman Ave #1029 Evanston, IL 60201 USA #if 0 // // Original code // itsRC = (LOGICAL) ([NSApp

NSString drawAtPoint in Mojave

2018-11-06 Thread Tom Doan
if I take the window and create a PDF from it, everything looks fine. It also works fine on High Sierra. Anybody have any idea what might be going wrong with this? Best regards, Tom Doan --- Estima 1560 Sherman Ave #1029 Evanston, IL 60201 USA ___

Re: NSString drawAtPoint in Mojave

2018-11-07 Thread Tom Doan
> > > > I just started testing a port of my application to Mojave. I'm > > having a rather odd problem with NSString drawAtPoint > > withAttributes. I use that to add text to graph windows. All the > > lines and fills look fine, but the text, done with drawAtPoint, > > doesn't show on the screen.

Re: NSString drawAtPoint in Mojave

2018-11-07 Thread Tom Doan
> On Nov 7, 2018, at 11:40 AM, Tom Doan wrote: > > > >> Does the "Layer-Backed Views" section of the AppKit Release Notes > >> for 10.14 explain what you're seeing? > >> <https://developer.apple.com/documentation/macos_rele

Re: NSString drawAtPoint in Mojave

2018-12-13 Thread Tom Doan
n High Sierra. Anybody have any idea > what might be going wrong with this? > > Best regards, > > Tom Doan > --- > Estima > 1560 Sherman Ave #1029 > Evanston, IL 60201 > USA > > > ___ > > Cocoa-dev mail

Re: Analyser reports memory leak… where?

2013-09-12 Thread Tom Davie
EventTypes retain] autorelease]; > } It’s not a hard and fast rule, and in fact collection access does not do this, so it’s entirely possible to do things like: id a = x[5]; [x removeObjectAtIndex:5]; [a crashMyProgram]; Tom Davie ___ Cocoa-dev maili

Re: why isn't id an id?

2013-10-04 Thread Tom Davie
h the fact that ids come up all the time, and show some support for wanting a language where the compiler can make more proofs for us. Thanks Tom Davie * prove is a loaded term when it comes to objective-c, as the runtime can mess up your compile time proo

NSStackView basics

2013-11-08 Thread Tom Harrington
I don't know what. I've been looking at Apple's InfoBarStackView demo app but haven't worked out which detail it has that I don't (Apple's demo: https://developer.apple.com/library/mac/samplecode/InfoBarStackView/Introduction/

Re: NSStackView basics

2013-11-12 Thread Tom Harrington
nts like setting the equivalent of @"V:|-[subview2]-" makes both visible (with different sizes). Looking at the demo project, I see now that there are constraints with similar effect, which is why it works. On Mon, Nov 11, 2013 at 6:29 PM, Ken Ferry wrote: > > Hi Tom, > > I

NSButton/NSBox interaction

2014-04-09 Thread Tom Doan
behavior so I can override it. Can someone explain what's happening, please? Thanks, Tom Doan Estima ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mo

Re: NSButton/NSBox interaction

2014-04-10 Thread Tom Doan
nt it off and doesn't go off and manage itself along with the other buttons that the OS thinks (incorrectly in this case) are logically linked to it. Tom Doan Estima > > On Apr 10, 2014, at 6:57 AM, Keary Suska > > wrote: > > > >> On Apr 9, 2014, at 5:30 PM,

Re: NSButton/NSBox interaction

2014-04-10 Thread Tom Doan
f and doesn't go off and manage itself along with the > other buttons that the OS thinks (incorrectly in this case) are > logically linked to it. > > Tom Doan > Estima > > > > On Apr 10, 2014, at 6:57 AM, Keary Suska > > > wrote: > > > >

NSHelpManager

2014-04-25 Thread Tom Doan
the desired level. I was hoping that there would similarly be a showHelp in NSResponder, but it appears that showHelp always goes straight to the NSApplication. Is there any way to work get the type of behavior I need? Best regards, Tom Doan Estima __

Re: NSHelpManager

2014-04-29 Thread Tom Doan
the search box, it goes through my custom help handling and pops up the correct window. I don't see how to cut the stop at the search box out of the process---it doesn't *look* like the Help is a custom NSMenuItem, but it sure acts like one. Best regards, Tom Doan Estima > On 201

Zombie NSWindow

2014-05-08 Thread Tom Doan
the Window menu, but it doesn't respond to anything. (For instance, I can't try to close it again.) I've put NSLogs in a bunch of places but can't seem to locate what causes an apparently dead window to reappear. Any though

Problem in notification

2014-06-10 Thread Tom Doan
ets called in a completely different situation---the one that I intended. I have no idea what it's trying to do here. (What's an NSScrollerImp?) and no idea how to trap it to figure out what the problem is. Any help anyone can offer would be appreciated. Tom Doan Estima Proc

Re: ANN: new open-source window manager for OS X

2013-04-19 Thread Tom von Schwerdtner
Looks interesting. Any comment on how this relates to Slate (https://github.com/jigish/slate)? It seems to be roughly along the same lines (which would be fine, just asking). -Tom On Wed, Apr 17, 2013 at 12:44 PM, Steven Degutis wrote: > Called Windows.app. Source is on github: >

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Tom von Schwerdtner
On Tue, May 7, 2013 at 9:54 AM, Steven Degutis wrote: > > These ones: https://github.com/sdegutis/grs > > (...) > > For the curious, I'm giving them away because > I think something got cut off here...? -Tom ___ Cocoa-d

Re: NSRuntime.loadLibrary(/usr/lib/java/libObjCJava.dylib) error

2009-06-14 Thread Thomas G. Schaffernoth (Tom)
SOunds good. Look forward to getting time together when you get here in August. Although, we might be on vacation for some of that time. How you handling the challenges? -- Thanks. Thomas G. Schaffernoth (Tom) Quoting Tejas Vora : Thanks a lot for the responses. Just require some

NSToolbar in Catalina

2020-03-23 Thread Tom Doan via Cocoa-dev
icons look correctly dimmed and the washed out ones are supposed to be active anyway. Does anyone have an idea what the problem might be? Best regards, Tom Doan Estima --- 2717 Harrison St Evanston, IL 60201 USA ___ Cocoa-dev mailing list (Coco

Re: NSToolbar in Catalina

2020-03-23 Thread Tom Doan via Cocoa-dev
t ones are supposed to be active anyway. Does anyone > have an idea what the problem might be? > > Best regards, > > Tom Doan > Estima > --- > 2717 Harrison St > Evanston, IL 60201 > USA > > > ___ > > Co

Re: NSToolbar in Catalina

2020-03-23 Thread Tom Doan via Cocoa-dev
e > > image = [NSBundle imageForResource:imgName]; > > -Dave > > On 3/23/20, 1:10 PM, "Cocoa-dev on behalf of Tom Doan via > Cocoa-dev" on behalf of Cocoa-dev@lists.apple.com> wrote: > > To provide a bit of additional information, the toolbar icons

ARC and C++ structures

2021-09-14 Thread Tom Doan via Cocoa-dev
really seen any good description of how ARC interacts with C++. A release there seems fine---the question is where is the earlier (apparently erroneous) release. Tom Doan Estima --- 2717 Harrison St Evanston, IL 60201 USA ___ Cocoa-dev mailing lis

Re: ARC and C++ structures

2021-09-15 Thread Tom Doan via Cocoa-dev
Thanks. That did it. Interestingly, not only did the Applie Migration tool not flag a potential problem, but the docs on NSWindow and releaseWhenClosed don't even hint of it. > Hi Tom, > > > On Sep 14, 2021, at 9:53 AM, Tom Doan via Cocoa-dev > > wrote: > > &

Intermittent invisible NSWindow

2021-11-13 Thread Tom Doan via Cocoa-dev
doesn't come up initially. I can't reproduce this on any of my computers running three different flavors of MacOS (including Big Sur and Monterey). What should I be looking for that might cause this behavior. Best regards, Tom Doan --- 2717 Harrison

Re: Intermittent invisible NSWindow

2021-11-15 Thread Tom Doan via Cocoa-dev
Esoteritech, Inc. > "Demystifying technology for your home or business" > > > > > On Nov 13, 2021, at 9:52 AM, Tom Doan via Cocoa-dev > > wrote: > > > > I'm having a problem with an application where a small percentage of > > users have

Re: Intermittent invisible NSWindow

2021-11-18 Thread Tom Doan via Cocoa-dev
kiness that forces too-small > frame, though not enough to make it disappear. > > Keary Suska > Esoteritech, Inc. > "Demystifying technology for your home or business" > > > > > On Nov 15, 2021, at 7:13 AM, Tom Doan via Cocoa-dev > > wrote:

Accessibility Settings

2024-01-10 Thread Tom Doan via Cocoa-dev
ion? Best regards, Tom Doan --- Estima 2717 Harrison St Evanston, IL 60201 USA ___ 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 cocoa-dev

<    1   2   3