Strategies for reusing NSPopover

2011-08-13 Thread Martin Hewitson
Dear list, I'm trying to find the best way to use NSPopover in a reusable way. Suppose I have two date picker controls. Beside each I place a button. The button shows a popover hosting a view controller whose view contains a graphical date picker. When I get the delegate message back that the p

Re: Properly wrapping non-contiguous NSTextViews

2011-08-13 Thread Ross Carter
On Aug 12, 2011, at 6:23 PM, Nick Zitzmann wrote: > I've got a problem that has been driving me nuts all day. I tried searching > around and didn't see anything that helped. > > I have a series of non-contiguous NSTextViews (not to be confused with > non-contiguous NSLayoutManager layout), with

Re: Strategies for reusing NSPopover

2011-08-13 Thread Andre Masse
On 13/08/2011, at 08:54 , Martin Hewitson wrote: > Suppose I have two date picker controls. Beside each I place a button. The > button shows a popover hosting a view controller whose view contains a > graphical date picker. When I get the delegate message back that the popover > closed, how ca

Re: Strategies for reusing NSPopover

2011-08-13 Thread Martin Hewitson
On 13, Aug, 2011, at 05:30 PM, Andre Masse wrote: > > On 13/08/2011, at 08:54 , Martin Hewitson wrote: > >> Suppose I have two date picker controls. Beside each I place a button. The >> button shows a popover hosting a view controller whose view contains a >> graphical date picker. When I get

Re: Strategies for reusing NSPopover

2011-08-13 Thread Jodischlange
Am 13.08.2011 um 14:54 schrieb Martin Hewitson: > On a side note, if I search for NSPopover in the Xcode documentation, it only > finds NSPopoverDelegate, but not the class documentation. Anybody else have > similar problems? I'm using Xcode 4.1 and the documentation is up to date. Same problem

Transparency of textured controls

2011-08-13 Thread Leo
Hi all, I think it's something new to Lion: For some reason, the textured controls are now transparent (e.g., Textured Rounded and Textured Square of NSSegmentedControl etc.) That is, underlying elements are showing through. I guess the goal of this transparency is so that textured controls

Anyone else having serious issues with Xcode 4?

2011-08-13 Thread Patrick William Walker
I just fully removed and reinstalled the latest Xcode version for iOS beta 5 and it crashes *constantly* when doing random editting in the editor. ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-1910/Framework/ClassDescriptions/ClassProviders/UnsavedFilesClassProvider/I

Re: Strategies for reusing NSPopover

2011-08-13 Thread Chris Hanson
On Aug 13, 2011, at 8:38 AM, Martin Hewitson wrote: > As I'm writing this I realise it would be much nicer to pass a reference to > the model object to the view-controller before launching the popup, then have > the view controller update the model object. I'll play with this some more. This i

Re: Anyone else having serious issues with Xcode 4?

2011-08-13 Thread Clark Cox
On Sat, Aug 13, 2011 at 11:31 AM, Patrick William Walker wrote: > Xcode version for iOS beta 5 You shouldn't be talking about the iOS betas outside of the appropriate section of the forums. -- Clark S. Cox III clarkc...@gmail.com ___ Cocoa-dev maili

Re: Properly wrapping non-contiguous NSTextViews

2011-08-13 Thread Nick Zitzmann
On Aug 13, 2011, at 7:41 AM, Ross Carter wrote: > On Aug 12, 2011, at 6:23 PM, Nick Zitzmann wrote: > >> I've got a problem that has been driving me nuts all day. I tried searching >> around and didn't see anything that helped. >> >> I have a series of non-contiguous NSTextViews (not to be con

Re: File Copy With Progress?

2011-08-13 Thread Leo
You can also use libcurl which supports the 'file' protocol along with ftp, http, etc. It's also not Cocoa, but easy to use and there's also its Cocoa wrapper CURLHandle (I'm not sure if they updated it to Intel eventually): http://code.google.com/p/curlhandle/ Leo On 8/11/11 7:22:53 PM, Tod

Re: Core Animation for Dummies?

2011-08-13 Thread Izak van Langevelde
On 2011-08-13, at 8:40 PM, William Squires wrote: > Did you set a duration over which to animate? Also, if you return NO, won't > the window NOT close after all, thus defeating the purpose of animating it > disappearing? I believe you need to return YES after a synchronous operation > which wi

Difficulty getting full screen window support in Lion fully working

2011-08-13 Thread Fletcher T. Penney
I have a document-based application, and am trying to add Lion support. I have not installed Lion myself yet, wanting to make sure I get this project out the door before possibly complicating things on my development machine during the upgrade. I was able to get most features (versioning, auto

How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?

2011-08-13 Thread Samuel Wenschen
___ 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: http://lists.apple.com

Re: Difficulty getting full screen window support in Lion fully working

2011-08-13 Thread Eli Bach
On Aug 12, 2011, at 8:29 AM, Fletcher T. Penney wrote: > I have a document-based application, and am trying to add Lion support. I > have not installed Lion myself yet, wanting to make sure I get this project > out the door before possibly complicating things on my development machine > durin

Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?

2011-08-13 Thread Eli Bach
Slowly. Painfully. Manually. As in, instantiate and configure all your custom UI objects in code. I wonder what the FinalCutPro and the rest of those apps guys do with all their custom UI. Are they sticking with 3.x.x InterfaceBuilder, or instantiating everything with code/templates, or does

Re: File Copy With Progress?

2011-08-13 Thread Jens Alfke
On Aug 13, 2011, at 12:27 PM, Leo wrote: > You can also use libcurl which supports the 'file' protocol along with ftp, > http, etc. It's also not Cocoa, but easy to use and there's also its Cocoa > wrapper CURLHandle (I'm not sure if they updated it to Intel eventually): > > http://code.google