Core Data : How force end editing of new object before Undo?

2011-12-01 Thread Jerry Krinock
App has an NSTableView; each row represents a managed object in NSPersistentDocument. • User inserts a new object. • Object is inserted with -[NSEntityDescription insertNewObjectForEntityForName::]. • New row appears in the table. • New row's Name column field editor becomes first responder,

Unusual interface, usage of 3d party GUI framework and Mac App Store

2011-12-01 Thread Nick
Hi I am wondering, does Apple allow applications to use non standard controls, like completely drawn-from-png buttons and custom window that QuickTime Player X uses for playback control? Does Apple accept applications written using 3d party frameworks (Nokia (ex Trolltech) QT+QML)? Apologize if

dragging to desktop

2011-12-01 Thread Torsten Curdt
I have a NSImageView and the user should be able to drag from it onto the Finder which will then create a file. While I found this in the archives http://www.cocoabuilder.com/archive/cocoa/43556-drag-and-drop-onto-the-desktop.html the docs and some other posts on the internetz suggest to use

Re: How to force WebView to use a separate NSHTTPCookieStorage ?

2011-12-01 Thread Keary Suska
On Nov 30, 2011, at 9:23 AM, Ben wrote: On 30 Nov 2011, at 15:22, Keary Suska wrote: On Nov 30, 2011, at 7:48 AM, Ben wrote: On 30 Nov 2011, at 14:24, John Joyce wrote: On Nov 30, 2011, at 8:11 AM, Mike Abdullah wrote: On 30 Nov 2011, at 12:00, Ben wrote: I am writing an app which

Re: Core Data : How force end editing of new object before Undo?

2011-12-01 Thread Jerry Krinock
I couldn't find any concept better than: End editing before undoing. However, I got rid of the code smell of my original solution. Instead, I register the window controller to receive it's document's undo manager's NSUndoManagerWillUndoChangeNotification and

Re: dragging to desktop

2011-12-01 Thread Conrad Shultz
In both the docs and at WWDC Apple stated that drag and drop for file access will work transparently under sandboxing. Haven't tested it (yet) myself. (Sent from my iPhone.) -- Conrad Shultz And will this also work when sandbox'ed? I doubt it.

iOS AdMob full screen banner does not hide

2011-12-01 Thread Sasikumar JP
Hi, I am using AdMob ad in my application. Ads are displayed correctly. When i tap the ad,some of the ads are opening in full screen webpage in my application.When i tap the bDone/b button, it did not close the full screen ad. ad page just frozen. AdMob API id invoke the -

Override NSUserDefaults search domain order.

2011-12-01 Thread Heizer, Charles
Hello, I'm playing around with NSUserDefaults and I would like to override which domain takes precedence, but have been unsuccessful. I would really like to know how I can either force all of the NSUserDefaults to come from /Library/Preferences or read from ~/Library/Preferences then

Developing Scrollable toolbar control

2011-12-01 Thread Nick
Hi I need to develop a scrollable tape of buttons for a Mac OS application.. This is kind of a common control on the websites. Maybe there are existing components like that? And, if not, what AppKit controls should I look at to subclass, to do less work possible? I need the elements to be

Re: Developing Scrollable toolbar control

2011-12-01 Thread Eric E Dolecki
You could make a uiview with scroll view in it. Sent from my iPhone On Dec 1, 2011, at 3:08 PM, Nick eveningn...@gmail.com wrote: Hi I need to develop a scrollable tape of buttons for a Mac OS application.. This is kind of a common control on the websites. Maybe there are existing

How to Display Images in a WebView

2011-12-01 Thread Sandeep Mohan Bhandarkar
Hi All, Can some one provide any pointers as to how we can display an Image in a WebView. and can this be done without the use of a HTML File.? Thanks and Regards, Sandeep Mohan Bhandarkar. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: How to Display Images in a WebView

2011-12-01 Thread Eric E Dolecki
Why would you use webview only to display an image though? Sent from my iPhone On Dec 1, 2011, at 8:25 PM, Sandeep Mohan Bhandarkar bhandar...@apple.com wrote: Hi All, Can some one provide any pointers as to how we can display an Image in a WebView. and can this be done without the use

Re: Grabbing at 60hz

2011-12-01 Thread jesse
Hi Alex! I'm not sure I understand the clarification; I'm looking to grab 60 frames per second, to track a fast moving object. (which I think of as 60hz). Does that make sense? Jesse On Dec 1, 2011, at 12:26 AM, Alex Zavatone z...@mac.com wrote: Hz od FPS? On Nov 30, 2011, at 2:27

Making target/action of a view visible to IB

2011-12-01 Thread Graham Cox
I have some custom views that act in some ways like lightweight controls - they have target and action properties - but they inherit NSView, not NSControl. It would be useful to be able to allow the targets and actions of these views to be hooked up in IB. Target isn't usually a problem - it

Re: iOS AdMob full screen banner does not hide

2011-12-01 Thread Sasikumar JP
Hi, I had used 4.x AdMob SDK . it was causing the issue. I tested with the latest SDK 5.x. It works fine. Thanks Sasikumar On Thu, Dec 1, 2011 at 11:52 PM, Sasikumar JP jps...@gmail.com wrote: Hi, I am using AdMob ad in my application. Ads are displayed correctly. When i tap the

Escape xml with CFXMLCreateStringByEscapingEntities

2011-12-01 Thread Claude Saelens
Hello, I need to put XML fragments into another XML. Each time an XML fragment is put into another XML it needs to be escaped to be send to backend a java application. I used the function CFXMLCreateStringByEscapingEntities but it seems it can only escape an XML fragment once, the second time