KeyCode to Character mapping

2012-01-24 Thread Akhil Jindal
Hi I am developing a desktop application on cocoa and am trying to handle the menu keyboard shortcuts on my own. For this, I have to map the scan code that I receive into a character. I was trying to do this using [NSEvent charactersIgnoringModifiers]. But despite its promising name, it doesn't s

Re: While running our iPhone app, the screen sometimes goes white and locks up. Any idea why?

2012-01-24 Thread G S
Did the crash-log-generation procedure and got this after our screen went totally white: Unknown thread crashed with unknown flavor: 5, state_count: 1 Then we have these, which apparently result from force-quitting the app during the white screen: Exception Type: 0020 Exception Codes: 0xdea

Re: Programmatically create aliases to unmounted servers?

2012-01-24 Thread Ken Thomases
On Jan 24, 2012, at 4:24 PM, Zajkowski, James wrote: > I'm looking for a way to construct an alias file (a bookmark file) with a > specific but unmounted file server location. That is, I want to put an icon > on user's desktops that says "Network Space" and have it resolve to > afp://ser.ver.a

Re: Programmatically create aliases to unmounted servers?

2012-01-24 Thread John Joyce
What you might want to do is create an AppleScript that is maybe run-only and is on the desktop. Way less pain. On Jan 24, 2012, at 4:24 PM, Zajkowski, James wrote: > All, > > I'm looking for a way to construct an alias file (a bookmark file) with a > specific but unmounted file server locatio

Re: Confusing CALayer Transform/Frame/Bounds Behavior

2012-01-24 Thread David Duncan
On Jan 24, 2012, at 4:23 PM, Seth Willits wrote: > Can anyone explain what's going on? The frame is an entirely synthesized property, based on the bounds, position, anchorPoint and transform of a given layer. When you set the latter parameters, the frame updates automatically but when you set

Confusing CALayer Transform/Frame/Bounds Behavior

2012-01-24 Thread Seth Willits
I'm trying to get a handle on how changing the frame of a layer affects its frame while a transform is specified. During this, I noticed something weird, and I just can't figure it out. In the documentation: "When a new frame rectangle is specified the bounds origin is undisturbed, while the

Re: Where to implement alert ?

2012-01-24 Thread Quincey Morris
On Jan 24, 2012, at 13:03 , Luc Van Bogaert wrote: > Assume I have a document object with an array object as a property, and an > associated window controller, with a removeObject: method which is called > from the menu. If I wanted to alert the user before actually removing an > object from th

Re: vForce Performance

2012-01-24 Thread Sean McBride
On Mon, 23 Jan 2012 12:24:16 -0800, dct said: >I recently posted a query on the Xcode-Users list but with no reply so far. > >I hopes of accelerating some standard C functions, I've run a few timing >experiments to assess vForce.h function performance. The results are >disappointing. I think the

Programmatically create aliases to unmounted servers?

2012-01-24 Thread Zajkowski, James
All, I'm looking for a way to construct an alias file (a bookmark file) with a specific but unmounted file server location. That is, I want to put an icon on user's desktops that says "Network Space" and have it resolve to afp://ser.ver.add.ress/mount/username. I can create an NSURL with the

Where to implement alert ?

2012-01-24 Thread Luc Van Bogaert
Hi, I have what I think is a very simple design question for which I would like to get input from some of the experts on this list. Assume I have a document object with an array object as a property, and an associated window controller, with a removeObject: method which is called from the menu

Re: NSFetchRequest Problem Under iOS 4.3.5

2012-01-24 Thread Hunter Hillegas
I believe that initWithEntityName is new in iOS 5. On Jan 24, 2012, at 11:40 AM, Laurent Daudelin wrote: > NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] > initWithEntityName:@"Relationship"]; ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: NSFetchRequest Problem Under iOS 4.3.5

2012-01-24 Thread Laurent Daudelin
Thanks, Dave, that did the trick! Maybe there could be an additional initializer for NSFetchRequest like initWithEntityName:inManagedObjectContext:... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys So

How to open CMYK TIF in Cocoa?

2012-01-24 Thread Todd Freese
Is there an easy way to open a CMYK TIF file and put it into an NSImage? Seems like the Framework is assuming the file is RGB. Todd __ This email has been scanned by the Symantec Email Security.cloud service. For more informatio

Re: NSFetchRequest Problem Under iOS 4.3.5

2012-01-24 Thread Dave DeLong
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; NSEntityDescription *entity = [NSEntityDescription entityForName:@"Relationship" inManagedObjectContext:context]; [fetchRequest setEntity:entity]; Dave On Jan 24, 2012, at 11:40 AM, Laurent Daudelin wrote: > Given the following

NSFetchRequest Problem Under iOS 4.3.5

2012-01-24 Thread Laurent Daudelin
Given the following code: NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] initWithEntityName:@"Relationship"]; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K = %@", @"parentObject.objectBaseUuid", wallUuid]; [fetchRequest setPredicate:predicate];

Re: NSOpenPanel problem

2012-01-24 Thread Jan E. Schotsman
On Jan 23, 2012, at 11:15 PM, Ken Thomases wrote: I don't know about complaints from the compiler, but I'm certain that ARC can't be used with code deployed to Leopard. ARC requires support from the runtime libraries and that support was never released for Leopard. Thanks for your help.

Re: I think I'm ready to throw in the towel - I really need help here

2012-01-24 Thread Alex Zavatone
Have you considered tracing the images in Illustrator and converting that vector to a png? On Jan 24, 2012, at 7:06 AM, John Love wrote: > I've got my universal iApp (entitled "Love Song to America") all ready > (started in Sept, 2011), except I've got quite a few .png graphics whose x2 > vers

Socket.IO project?

2012-01-24 Thread Eric E. Dolecki
I am looking to implement *socket.IO-objc *and see that it depends on 4 other open source projects and some of those depend on other things. Instead of spending a lot of time gathering all that up, does anyone have a project with everything packaged up in it? https://github.com/pkyeck/socket.IO-ob

I think I'm ready to throw in the towel - I really need help here

2012-01-24 Thread John Love
I've got my universal iApp (entitled "Love Song to America") all ready (started in Sept, 2011), except I've got quite a few .png graphics whose x2 version are very, very pixelated. Furthermore, it will never get to the app store because my app has been rejected because of the pixelation I've ju

EAFramework in iOS Simulator?

2012-01-24 Thread Rick Mann
I see there's a Bluetooth section in the Settings application on the simulator in Xcode4, but when I visit it, the spinner just spins. I'm hoping it's possible to connect to an accessory in the simulator now (that would make life a lot easier), even if it bypasses the iAP authentication steps.