Re: iOS UI suggestions wanted - Date Picker

2013-04-16 Thread Laurent Daudelin
I have not implemented a date picker in a popover but I saw one on CocoaControls.com. Unfortunately, there seems to be a problem with the site right now. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys

Re: Core Animation with NSWindow

2013-04-16 Thread Ankuj Gupta
Hi Jens The problem that I have is I cant change the apis for creating the windows. The only function which I can modify is when we are showing that window. That is where I need to animate it Ankuj Gupta On Tue, Apr 16, 2013 at 10:07 PM, Jens Alfke wrote: > > On Apr 16, 2013, at 5:10 AM, Anku

iOS UI suggestions wanted - Date Picker

2013-04-16 Thread Rick Aurbach
In my iPad app, I have a number of tableviews in various places which act as selection lists. The user can scroll the list and select the item with a tap, of course. But since some of the lists can be lengthy, I also include navigation aids. In all but one of the lists, the items are alphabetize

Re: Autosave directory settable?

2013-04-16 Thread Steve Mills
On Apr 16, 2013, at 15:18:21, Kevin Perry wrote: > That might work, though I would probably recommend overriding at > -saveToURL:ofType:forSaveOperation:completionHandler: instead, and only > modify the path if saveOperation == NSAutosaveElsewhereOperation. If you > override at that level, set

Re: Autosave directory settable?

2013-04-16 Thread Kevin Perry
That might work, though I would probably recommend overriding at -saveToURL:ofType:forSaveOperation:completionHandler: instead, and only modify the path if saveOperation == NSAutosaveElsewhereOperation. If you override at that level, setAutosavedContentsFileURL: will be invoked for you when the

Autosave directory settable?

2013-04-16 Thread Steve Mills
Is it possible for the app to set the directory where autosaved documents will be stored instead of the folder the OS creates deep within /private/var/folders? Our app has long done its own autosaving and offered a pref so the user could change the dir if they wanted. I'm now looking into the p

Re: Binding NSDictionary in NSArray into table view cell

2013-04-16 Thread Quincey Morris
On Apr 16, 2013, at 11:41 , Quincey Morris wrote: > for every cell-based table view I've created "every *view*-based table view", I meant. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment

Re: Binding NSDictionary in NSArray into table view cell

2013-04-16 Thread Quincey Morris
On Apr 16, 2013, at 10:26 , Chris Paveglio wrote: > I've added an NSArrayController to the xib. Set it's contentArray binding to > my array. Then I selected a text box in my table cell where one of the > dictionary values would go. I set it's binding to BindTo:arrayController; > controllerKey:

Re: UITableCellView width decreases when scrolling

2013-04-16 Thread Koen van der Drift
On Apr 16, 2013, at 2:27 PM, Luke the Hiesterman wrote: > I'm guessing you need to call [self setNeedsDisplay] in the implementation of > -[MyCustomView setObject:] Yes, that's it! Thanks, - Koen. ___ Cocoa-dev mailing list (Cocoa-dev@lists.ap

Re: UITableCellView width decreases when scrolling

2013-04-16 Thread Luke the Hiesterman
I'm guessing you need to call [self setNeedsDisplay] in the implementation of -[MyCustomView setObject:] Luke On Apr 16, 2013, at 11:25 AM, Koen van der Drift wrote: > > On Apr 15, 2013, at 7:20 AM, Koen van der Drift > wrote: > >> The reason I was using drawRect is that my cell contains

Re: UITableCellView width decreases when scrolling

2013-04-16 Thread Koen van der Drift
On Apr 15, 2013, at 7:20 AM, Koen van der Drift wrote: > The reason I was using drawRect is that my cell contains some text, plus a > small graph (a few changing lines, so I cannot use an static image) at the > bottom. Therefore I was using CoreGraphics, and I decided then to also draw > the

Binding NSDictionary in NSArray into table view cell

2013-04-16 Thread Chris Paveglio
I'm having trouble with bindings. I have an mutable array which contains 2 or more mutable dictionaries. I want to display the dictionary items in an NSTableView using NSTableCellView (the one where I can do custom layout in the cell with multiple text boxes/image boxes etc). And the dictionary

Re: Core Animation with NSWindow

2013-04-16 Thread Jens Alfke
On Apr 16, 2013, at 5:10 AM, Ankuj Gupta wrote: > Can we use Core Animation with NSWindow ? The apple's documentation > mentions that we can use only with NSView. If there is any documentation > for core animation used with NSWIndow NSWindow doesn’t draw anything itself (aside from the window f

Re: presentViewController completion block usage

2013-04-16 Thread Diederik Meijer | Ten Horses
An additional thought: when you put references to the presentingVC's properties in the completion block you may get retain cycle warnings. This is caused by the fact that blocks keep strong references to objects. Passing data back to the referring VC could also be done in viewWillDisappear, coul

Core Animation with NSWindow

2013-04-16 Thread Ankuj Gupta
Hi Can we use Core Animation with NSWindow ? The apple's documentation mentions that we can use only with NSView. If there is any documentation for core animation used with NSWIndow Thanks Ankuj ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) P

Flicer while using NSViewAnimation for roll down

2013-04-16 Thread Ankuj Gupta
Hi I am trying to slide down a NSWindow using NSViewAnimation. I am using the following code NSRect firstViewFrame = [macWindow frame]; NSViewAnimation *theAnim; NSRect newViewFrame; NSMutableDictionary* firstViewDict;