Re: Frameworks in red

2009-09-27 Thread ERG Consultant
happens on the godPhone). --Graham On 27/09/2009, at 1:12 PM, Erg Consultant wrote: When I drag a bunch of frameworks from one Xcode project to another, their names are listed in red in the destination project. I know they exist because the original project works fine and I can do a Reveal

Frameworks in red

2009-09-26 Thread Erg Consultant
When I drag a bunch of frameworks from one Xcode project to another, their names are listed in red in the destination project. I know they exist because the original project works fine and I can do a Reveal In Finder to verify that they exist? The project being dragged *to* however crashes on

bin2c GUI tool?

2009-08-28 Thread Erg Consultant
Does anyone make a GUI version of bin2c for OS X? Thanks, Erg ___ 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

Does touch input require rotaion also?

2009-08-26 Thread Erg Consultant
When i rotate my view 90 degrees, some of the touches I receive give weird coordinates that appear to be incorrect. Do I need to apply a transform to the touch input matrix as well as the view when I rotate it? Thanks, Erg ___ Cocoa-dev

[iphone] Rotating UIViews?

2009-08-24 Thread Erg Consultant
Is there a simple way to rotate a UIView without applying a transform? I have a single UIViewController and nib file which has one view in landscape orientation with a single image in it. When I run my app, the view appears but in portrait mode which cuts off the right side of the view. I just

Parsing question about NSXMLParser

2009-07-01 Thread Erg Consultant
I am trying to parse an XML file on the web using NSXMLParser. The page is a list of gold prices. I can get the tagged elements with no problem, but the price item doesn't seem to be tagged. Can anyone tell me how to get the price item in this element using NSXMLParser: Price

Weird dyld loader crash

2009-06-20 Thread Erg Consultant
I suddenly started getting a weird loader crash when launching my app. Has anyone seen any errors similar to this one: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Thread 0 Crashed: 0 ???

[NSTask] -launch return

2009-06-09 Thread Erg Consultant
I need to launch and execute a task via NSTask and then immediately get both notification that it launched, and it's launched pid. I tried the notification mechanism but it requires that I first return from my launch function and let the even loop run in order to receive the notification. If

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
I forgot to mention that the problem case is exceptional: the problem I have is only in the case of an Intel version of the app trying to launch a PPC-only child the first time after reboot: -launch returns immediately, and isRunning returns YES, but there is like a 3 second delay between the

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
@lists.apple.com Sent: Tuesday, June 9, 2009 9:43:51 AM Subject: Re: [NSTask] -launch return Erg Consultant wrote: [ launchTask launch ]; // Wait 'til is running... while( ![ launchTask isRunning

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
As I mentioned, in the case of same-architecture launches, everything works. In the case of Intel launching PPC, -launch returns immediately and -isRunning says it's running (if I step over in the debugger for example). However, in reality in the case of Intel launching PPC, as I mentioned,

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
I later monitor the pid that I squirreled away from within a periodic timer: err = GetProcessForPID( pid, psn ); If GetProcessForPID returns an error, I know the process is not running. Erg From: Scott Ribe scott_r...@killerbytes.com To: Erg Consultant

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
, 2009 8:09:09 PM Subject: Re: [NSTask] -launch return Erg Consultant wrote: The Rosetta startup delay is significant because my PPC-only child can't run until Rosetta is running - and it appears to not be running until the 1st PPC program since reboot has been run. Launch a dummy child

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
I just opted for #2 #3. Erg From: Greg Guerin glgue...@amug.org To: list-cocoa-dev cocoa-dev@lists.apple.com Sent: Tuesday, June 9, 2009 8:37:22 PM Subject: Re: [NSTask] -launch return Erg Consultant wrote: I find it absolutely appalling on a modern OS

Re: [NSTask] -launch return

2009-06-09 Thread Erg Consultant
Pulis tooth...@fastq.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Tuesday, June 9, 2009 9:38:04 PM Subject: Re: [NSTask] -launch return On Jun 9, 2009, at 8:16 PM, Erg Consultant wrote: I find it absolutely appalling on a modern OS that I should have

Re: Subject: [ NSSplitview ] -setAutosaveName

2009-05-31 Thread Erg Consultant
Ok so more specifically I should have asked: How do I get the NSSplitView to restore the divider position when my app relaunches the next time? I set the autosave name but when I drag the splitter, then quit and relaunch, it's still in the default position, not the position it was in when I

NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing

2009-05-31 Thread Erg Consultant
I have a custom icon in a .tiff that I draw next to my cells in an NSOutlineView table. Everything works fine until I turn on NSTableViewSelectionHighlightStyleSourceList: [ registryOutlineView setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleSourceList ]; When I do that the

Re: [ NSSplitview ] -setAutosaveName

2009-05-31 Thread Erg Consultant
6:19:13 AM Subject: Re: [ NSSplitview ] -setAutosaveName On Sat, May 30, 2009 at 11:22 PM, Erg Consultant erg_consult...@yahoo.com wrote: What does setAutosaveName actually do? I assume it saves the position of the splitview to user defaults? The behavior is documented, succinctly, here: http

Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing

2009-05-31 Thread Erg Consultant
Because that is how code posted in the archives says to do it. If I use NSImageCell or NSTextFieldCell (which I've tried), the icons never show up. Those work for NSTableView icons but not NSOutlineView icons. From: Kyle Sluder kyle.slu...@gmail.com To: Erg

Re: [ NSKeyedArchiver ] archiveRootObject:toFile: hoses my directory's permissions

2009-05-30 Thread Erg Consultant
] archiveRootObject:toFile: hoses my directory's permissions On Sat, May 30, 2009 at 1:39 AM, Erg Consultant erg_consult...@yahoo.com wrote: Why does archiveRootObject:toFile: change the permissions on the parent directory? I didn't ask it to. This dir has to be writable for all users - the way

[ NSSplitview ] -setAutosaveName

2009-05-30 Thread Erg Consultant
What does setAutosaveName actually do? I assume it saves the position of the splitview to user defaults? If so, how does one retrieve that value? Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Getting localized /Users/Shared Dir Name

2009-05-29 Thread Erg Consultant
I don't see any methods such as NSSearchPathForDirectoriesInDomains() for getting the localized name of the /Users/Shared directory. Is there one? Thanks, Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Getting localized /Users/Shared Dir Name

2009-05-29 Thread Erg Consultant
Consultant erg_consult...@yahoo.com Cc: Chris Parker c...@apple.com; cocoa-dev@lists.apple.com Sent: Friday, May 29, 2009 3:52:45 PM Subject: Re: Getting localized /Users/Shared Dir Name On 29 May 2009, at 3:49 PM, Erg Consultant wrote: I don't see any methods

Get Users/Shared full path and its localized dir name

2009-05-29 Thread Erg Consultant
How can I get the full path to the Users/Shared dir and the dir's localized name? Thanks, Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

[ NS KeyedArchiver ] archiveRootObject:toFile: hoses my directory's permissions

2009-05-29 Thread Erg Consultant
I have an app I install with PackageMaker setting the permissions on the staging dirs to root/admin as mentioned in the Apple docs so that the app gets installed with permissions for any user. I also install an empty dir with full rwxrwxrwx permissions - this is a data dir that my app will use

Hiding process list app icon for GUI apps

2009-05-28 Thread Erg Consultant
Is there a way to hide a GUI app's icon in the process/switch list as can be done for faceless background apps? I've tried several of the Info.plist settings but nothing seems to do this. Thanks, Erg ___ Cocoa-dev mailing list

-init never gets sent

2009-05-28 Thread Erg Consultant
I have an object which I initialize like this: gReg = [ [ Registry alloc ] init ]; Problem is, my init method never receives any message. Does anyone know what can cause this? Thanks, Erg ___ Cocoa-dev mailing list

Re: -init never gets sent

2009-05-28 Thread Erg Consultant
in the code. Erg From: David Blanton aired...@tularosa.net To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Thursday, May 28, 2009 4:38:42 PM Subject: Re: -init never gets sent what is the result of [ Registry alloc ] ? On May 28

Re: performSelectorOnMainThread problem

2009-05-28 Thread Erg Consultant
Either your main thread doesn't implement the selector requested, or else it's an issue with the runloop never processing the request. If you have code that alters the runloop or modifies its input sources, check that code first. Erg From: Ben Einstein

Re: -init never gets sent

2009-05-28 Thread Erg Consultant
the exact same source file in another app and it all works fine. Must be a stack blow or something. From: David Blanton aired...@tularosa.net To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Thursday, May 28, 2009 5:21:55 PM

Re: Hiding process list app icon for GUI apps

2009-05-28 Thread Erg Consultant
. Thanks, Erg From: Peter Ammon pam...@apple.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Thursday, May 28, 2009 6:22:20 PM Subject: Re: Hiding process list app icon for GUI apps On May 28, 2009, at 1:57 PM, Erg Consultant wrote

Re: Hiding process list app icon for GUI apps

2009-05-28 Thread Erg Consultant
. I think the runtime stuff on OS X was never really ready for prime-time. Erg From: Eric Schlegel eri...@apple.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Thursday, May 28, 2009 10:10:36 PM Subject: Re: Hiding process list

Reading an AliasHandle from a Finder alias file

2009-05-26 Thread Erg Consultant
Is there a way to read AliasHandle data from an OS X Finder alias file - sort of like the way one could create an AliasHandle in memory in the old days by reading a alias resource from OS 9 alias files? The Alias Manager APIs only seem to provide routines for determining if a file is an alias,

Re: Privilege elevation of a cocoa app

2009-05-21 Thread Erg Consultant
Never run an 'app' as privileged. You need a helper tool to do that. You have a lot of reading ahead of you to understand how to do this. Erg From: Jerry Krinock je...@ieee.org To: cocoa-dev@lists.apple.com Developers cocoa-dev@lists.apple.com Sent: Thursday,

NSTableView -frame == NSSplitView -frame

2009-05-20 Thread Erg Consultant
I have an NSTableView embedded in an NSSplitView. When I send my NSTableView object the -frame message, I get the frame of the NSSplitView instead. How can I get the frame of the NSTableView directly? Thanks, Erg ___ Cocoa-dev mailing list

Clarification on custom NSFormatter

2009-05-19 Thread Erg Consultant
I have my own objects I store in an NSOutlineView. Each object has a name property. When I implement my custom NSFormatter to tell the table how to draw cells, do I create a separate subclass of NSFormatter, or can I make my existing data class subclass from NSFormatter and then use the data

IP detection code by country

2009-05-15 Thread Erg Consultant
Does anyone know of some Cocoa libraries for detecting which country the machine's IP address is currently running in? Thanks. Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Does -copyPath:toPath:handler run synchronously?

2009-05-15 Thread Erg Consultant
The documentation does't say whether it runs synchronously or returns immediately before the copy completes. Does anyone know? Thanks, Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

CFShow doesn't show up in non-admin user logs

2009-05-12 Thread Erg Consultant
If I add CFShow statements to my code, they show up in Console when run as admin, but not when run as a non-admin user. Does anyone know why this happens? Thanks, Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Installer has admin permissions but installer plugins don't

2009-05-05 Thread ERG Consultant
I am fully aware of the security issues having already written several helper tools. Stating that a temp text file written to /tmp is a security hole is really stretching it a bit. NSTemporaryDirectory can't be used because there is no way to specify that path in Packagemaker. I did indeed

NSWorkspace -setIcon:forFile creates garbled icon under 10.4

2009-05-05 Thread Erg Consultant
I have some code that grabs an app icon from an app bundle's .icns file and then sets it onto another file using -setIcon:forFile. Under 10.5 it works fine. Under 10.4 the icon gets set but is garbled. I tried all the options but still get the same result. Does anyone know why this happens on

Re: Writable dir for non-admin user outside user's dir

2009-05-04 Thread Erg Consultant
On Thu, Apr 30, 2009 at 7:24 PM, Erg Consultant erg_consult...@yahoo.com wrote: One other thing I should mention: the location has to be non-obvious as the files being written are DRM files and although I make them invisible, so all variants of tmp, etc are out. It's going to be trivial to track

Re: CA -animator animation only works the first time

2009-04-30 Thread ERG Consultant
...@apple.com wrote: On Tue, Apr 28, 2009 at 02:49:23PM -0700, Erg Consultant wrote: I have two standard Cocoa objects in my window that I animate using CA's AppKit -animator method. When my nib loads, I get the original NSRects of the two items by sending them the -frame message. I then recalc the rects

Re: Why is NSString-FSRef so hard?

2009-04-30 Thread ERG Consultant
/ has been in use since the inception of unix in 1970 that's 39 years. I seriously doubt it's going to change anytime soon. In 39 more years, i'll be dead. ERG Sent from my iPod On Apr 29, 2009, at 8:50 PM, Michael Ash michael@gmail.com wrote: On Wed, Apr 29, 2009 at 10:22 PM, Andrew

Writable dir for non-admin user outside user's dir

2009-04-30 Thread Erg Consultant
Is there any location on the system outside the current user's dir that is writable outside the user's domain? I need my app to create some files when run under a non-admin acct that I need to persist across boots/logins. But every permanent location seems to be locked except for things inside

Re: Writable dir for non-admin user outside user's dir

2009-04-30 Thread Erg Consultant
One other thing I should mention: the location has to be non-obvious as the files being written are DRM files and although I make them invisible, so all variants of tmp, etc are out. Erg From: Dave Geering dlgeer...@gmail.com To: Erg Consultant erg_consult

Re: Writable dir for non-admin user outside user's dir

2009-04-30 Thread Erg Consultant
, 2009 4:16:03 PM Subject: Re: Writable dir for non-admin user outside user's dir On Thu, Apr 30, 2009 at 5:52 PM, Erg Consultant erg_consult...@yahoo.com wrote: Is there any location on the system outside the current user's dir that is writable outside the user's domain? I need my app to create

Installer has admin permissions but installer plugins don't

2009-04-30 Thread Erg Consultant
I am using PackageMaker 2.1.1 from Xcode 2.5. My installers have to work with 10.4/10.5. My built installer prompts for an admin password before install, but if my installer plugin tries to do any file operations on anything inside /Applications at runtime - such as deleting or moving one of

Re: Why is NSString-FSRef so hard?

2009-04-28 Thread Erg Consultant
is NSString-FSRef so hard? On Tue, Apr 28, 2009 at 12:21 AM, Erg Consultant erg_consult...@yahoo.com wrote: LSOpenCFURLRef doesn't work either - kLSApplicationNotFoundErr. The nature of the file is the app's exe which is normally inside the MacOS dir. However, all this works perfectly fine

Re: Why is NSString-FSRef so hard?

2009-04-28 Thread Erg Consultant
, process, it says not found + the binary itself never runs (even though LSOpenApplication returns no err). I assume this has something to do with XCode launching it within its own process. What a headache! Erg From: Chris Hanson c...@me.com To: Erg Consultant

Re: C string constant-NSString constant without defining twice?

2009-04-28 Thread Erg Consultant
I tried this and it absolutely works great - although I too had thought that it wouldn't. Who woulda thunkit? Erg From: Erik Buck erik.b...@sbcglobal.net To: cocoa-dev@lists.apple.com Sent: Tuesday, April 28, 2009 8:18:56 AM Subject: Re: C string

Re: Why is NSString-FSRef so hard?

2009-04-28 Thread Erg Consultant
C string encoding and may lose information in the conversion from that encoding. You are strongly discouraged from using these methods as are deprecated in Mac OS X v10.4. From: Clark Cox clarkc...@gmail.com To: Erg Consultant erg_consult...@yahoo.com Cc

Re: C string constant-NSString constant without defining twice?

2009-04-28 Thread Erg Consultant
Except in the case where one line of code creates the temp file and then another immediately uses it and deletes is - as in my case. There is zero chance the user could FUS faster than my 2 lines of code create and delete the file. Erg From: Graham Lee

Re: Why is NSString-FSRef so hard?

2009-04-28 Thread Erg Consultant
: Tuesday, April 28, 2009 9:59:07 AM Subject: Re: Why is NSString-FSRef so hard? Le 28 avr. 09 à 17:47, Michael Ash a écrit : On Tue, Apr 28, 2009 at 1:13 AM, Erg Consultant erg_consult...@yahoo.com wrote: Apple's doc's specifically say to stay away from using the CString routines which require

Re: Why is NSString-FSRef so hard?

2009-04-28 Thread Erg Consultant
This is a DRM situation where there are multiple app executables inside the main .app bundle. From: Kyle Sluder kyle.slu...@gmail.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev cocoa-dev@lists.apple.com Sent: Tuesday, April 28, 2009 2:11:40 PM

CA -animator animation only works the first time

2009-04-28 Thread Erg Consultant
I have two standard Cocoa objects in my window that I animate using CA's AppKit -animator method. When my nib loads, I get the original NSRects of the two items by sending them the -frame message. I then recalc the rects to move the two views offscreen. When I show my window, I animate both

C string constant-NSString constant without defining twice?

2009-04-27 Thread Erg Consultant
Is there a macro for defining an NSString constant as a previously defined C string constant without having to actually define the string in two places? I have something like the following: #define kTempQuagmireHackFilePathCString /private/tmp/quagmire.dat #define

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
, outPSN ); // - Fails with -10810 error - Unexpected internal error From: Steve Christensen puns...@mac.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Saturday, April 25, 2009 6:04:14 PM Subject: Re: Why is NSString-FSRef so

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
however does not work - the special characters get mangled. Erg From: Ken Thomases k...@codeweavers.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Saturday, April 25, 2009 6:12:33 PM Subject: Re: Why is NSString-FSRef so hard

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
Are NSURL and CFURL not toll-free bridged? Erg From: Sean McBride cwat...@cam.org To: Erg Consultant erg_consult...@yahoo.com; cocoa-dev@lists.apple.com Sent: Sunday, April 26, 2009 2:41:20 PM Subject: Re: Why is NSString-FSRef so hard? Erg Consultant (erg_consult

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
michael@gmail.com To: cocoa-dev cocoa-dev@lists.apple.com Sent: Monday, April 27, 2009 9:57:33 PM Subject: Re: Why is NSString-FSRef so hard? On Tue, Apr 28, 2009 at 12:51 AM, Erg Consultant erg_consult...@yahoo.com wrote: So why isn't it working? Why does LSOpenApplication give me an error

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
NSString-CFURL-FSRef. Erg From: Michael Ash michael@gmail.com To: cocoa-dev cocoa-dev@lists.apple.com Sent: Monday, April 27, 2009 9:51:14 PM Subject: Re: Why is NSString-FSRef so hard? On Tue, Apr 28, 2009 at 12:26 AM, Erg Consultant erg_consult...@yahoo.com

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
would issue an API that executes single executable binaries only in the case that they don't have special chars in the path. Erg From: Ken Thomases k...@codeweavers.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Monday, April 27

Re: Why is NSString-FSRef so hard?

2009-04-27 Thread Erg Consultant
= (DWORD)pid; result = YES; } } } } From: Ken Thomases k...@codeweavers.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent

Why is NSString-FSRef so hard?

2009-04-25 Thread Erg Consultant
I am trying to convert an NSString containing a path to a file directly to an FSRef. If there are no special characters in the path, it's easy - I can go from NSString to CFURL to FSRef. But if the path contains any special characters at all, both CFURL and NSURL creation routines fail. No

Re: Why is NSString-FSRef so hard?

2009-04-25 Thread Erg Consultant
I was using CFURLGetFSRef passing in the NSString which works fine as long as the path contains no special chars. If it does, CFURLGetFSRef returns nil. Erg From: Nick Zitzmann n...@chronosnet.com To: Erg Consultant erg_consult...@yahoo.com Cc: cocoa-dev

Re: Why is NSString-FSRef so hard?

2009-04-25 Thread Erg Consultant
: Why is NSString-FSRef so hard? On Sat, Apr 25, 2009 at 7:28 PM, Erg Consultant erg_consult...@yahoo.com wrote: I was using CFURLGetFSRef passing in the NSString which works fine as long as the path contains no special chars. If it does, CFURLGetFSRef returns nil. CFURLGetFSRef is great if what

Path from NSFileHandle?

2009-04-08 Thread Erg Consultant
Is there a way to get the path of a file opened by an NSFileHandle from the file handle itself? I have a method that takes only an NSFileHandle to an open file but I don't know the file's path. Thanks, Erg ___ Cocoa-dev mailing list

Re: Path from NSFileHandle?

2009-04-08 Thread Erg Consultant
9:11:00 PM Subject: Re: Path from NSFileHandle? On Apr 8, 2009, at 8:54 PM, Michael Ash wrote: On Wed, Apr 8, 2009 at 11:00 PM, Erg Consultant erg_consult...@yahoo.com wrote: Is there a way to get the path of a file opened by an NSFileHandle from the file handle itself? I have a method

Re: Reading one line at a time using NSFileHandle

2009-03-26 Thread Erg Consultant
Consultant erg_consult...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Thursday, March 26, 2009 7:24:29 AM Subject: Re: Reading one line at a time using NSFileHandle On Wed, 25 Mar 2009 19:36:01 -0700 (PDT), Erg Consultant erg_consult...@yahoo.com said: Is there a way to read one line of a text file

Reading one line at a time using NSFileHandle

2009-03-25 Thread Erg Consultant
Is there a way to read one line of a text file at a time using NSFileHandle (the way fgets does)? Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

NSWorkspace -launchApplication fails to launch, but no error

2009-03-20 Thread Erg Consultant
I try to launch an application by passing a full POSIX path to NSWorkspace -launchApplication: on 10.3.9 but it fails. I have built my app using the 10.4 SDK and tried it targeting both 10.3 10.4 as deployment since I have some newer 10.4 routines which won't work on 10.3. I also check each

Simple text encryption

2009-02-25 Thread Erg Consultant
Are there any classes in Cocoa for simple text file or plist file encryption? I just need something I can point at a file on disk and do simple encryption without a password or key and then decode it later. Doesn't have to be fancy or even all that secure - just something simple and easy to

Chnaging icon of running app

2009-02-12 Thread Erg Consultant
Is it possible to change the icon of a running app after it has already been started? My app has no .icns file not will it - but I want to set it to some other bundle's icon after my app has already launched. I've seen discussions in the archives about how to change the Dock icon, but not the

NSURLConnection ignoring untrusted server certificates

2009-01-29 Thread Erg Consultant
When I try to connect to my web server using NSURLConneciton thusly: loadedData = [ NSURLConnection sendSynchronousRequest:request returningResponse:response error:error ]; The data comes back with a zero length. Inspecting the error reveals that it's an untrusted server certificate error. Is