Re: IOS iPad PopOver Nav bar color

2013-02-19 Thread Alex Zavatone
This might help. http://stackoverflow.com/questions/1852319/uinavigationbar-gradient-details On Feb 17, 2013, at 8:24 PM, Trygve Inda wrote: > I have a popover view and would like a nav-like title bar on it in a dark > color that matches the frame gradient of the popover fram. I can make the >

NSSplitView not Resizing Subviews if Delegate is used

2013-02-19 Thread Michael Starke
Hello here, Yesterday a ran into a strange problem that I could not get my head around. Simple setup created in InterfaceBuilder: A window with a horizontal NSSplitview with two subviews. If I run this without setting the delegate of the split view the two subviews get rescaled as expected. Wh

iOS/RestKit/XCode 4.6

2013-02-19 Thread Dave
Hi All, Has anyone managed to successfully add RestKit and AFNetworking as part of it) with XCode 4.6. I've pulled the Sub Module from github and following the installation instructions but I just can't get it it build properly. The instructions on github are out of date by the looks of t

Re: iOS/RestKit/XCode 4.6

2013-02-19 Thread Dennis
I haven't done so myself (but plan to give it a try soon). However, just yesterday, somebody at work made a brief presentation on CocoaPods, which he had used to install RestKit with. He mentioned that it made it much easier to install RestKit. On Feb 19, 2013, at 8:04

Re: iOS/RestKit/XCode 4.6

2013-02-19 Thread Dave
Hi, I took a quick look but far from making it easier, looks like it will add a whole load more complexity to something really should be simple. Thanks anyway. Dave On 19 Feb 2013, at 16:24, Dennis wrote: I haven't done so myself (but plan to give it a try soon). However, just yesterday,

Re: No mouseExited when switching windows

2013-02-19 Thread Steve Mills
On Feb 18, 2013, at 16:46:10, Fritz Anderson wrote: > "Notified" is the right word. NSWindow posts NSWindowDidResignKeyNotification > and NSWindowDidResignMainNotification. There are also delegate methods with > nearly the same names (which get passed the same notification objects). Ah, thanks

Re: NSSplitView not Resizing Subviews if Delegate is used

2013-02-19 Thread Chuck Soper
Are you using Auto Layout in InterfaceBuilder? (See the Use Auto Layout checkbox in the File inspector for each nib.) If so, implementing splitView:constrainMinCoordinate:ofSubviewAt: may conflict with auto layout. Also, what is your purposed minimum? Where is it defined? Chuck On 2/19/13 7:53

CALayer's backgrounds filters having effect only on immediate parent?

2013-02-19 Thread Oleg Krupnov
In my understanding, if I apply, say, a blur filter to layer's background (CALayer->backgroundFilters), all layers that are behind that layer - that is, immediate parent, grand parent, etc. and all children and siblings of those parent and grandparents that are lower in the tree of layers - should

Re: NSSplitView not Resizing Subviews if Delegate is used

2013-02-19 Thread Michael Starke
I was thinking about Auto-Layout and indeed it is the source of the Problem. Even if the delgate just had - (BOOL)splitView:(NSSplitView *)splitView shouldAdjustSizeOfSubview:(NSView *)view { return YES; } the resizing did not work anymore. The proposedMinimumPosition was just the input

Re: NSSplitView not Resizing Subviews if Delegate is used

2013-02-19 Thread Chuck Soper
Autolayout works well with NSSplitView. There may be differences between 10.7 or 10.8 but I can't remember. Does your app require Mac OS X 10.8 or 10.7? The way I use autolayout with NSSplitView is to add constraints to the subviews in IB. If you need to add or remove those constraints, you can co

Re: No mouseExited when switching windows

2013-02-19 Thread Shane Stanley
On 20/02/2013, at 4:16 AM, Steve Mills wrote: > [center addObserver:self selector:@selector(windowDidResignKey) Don't you mean: [center addObserver:self selector:@selector(windowDidResignKey:) -- Shane Stanley 'AppleScriptObjC Explored' _

Re: NSSplitView not Resizing Subviews if Delegate is used

2013-02-19 Thread Kyle Sluder
On Tue, Feb 19, 2013, at 03:31 PM, Chuck Soper wrote: > Autolayout works well with NSSplitView. There may be differences between > 10.7 or 10.8 but I can't remember. Does your app require Mac OS X 10.8 or > 10.7? Autolayout does not work with NSSplitView on 10.7. --Kyle Sluder ___

Re: CALayer's backgrounds filters having effect only on immediate parent?

2013-02-19 Thread Graham Cox
On 20/02/2013, at 5:42 AM, Oleg Krupnov wrote: > In my understanding, if I apply, say, a blur filter to layer's > background (CALayer->backgroundFilters), all layers that are behind > that layer - that is, immediate parent, grand parent, etc. and all > children and siblings of those parent and g

Re: dragging NSTableColumn to another table

2013-02-19 Thread Chuck Soper
On 2/18/13 11:06 PM, "Graham Cox" wrote: >On 19/02/2013, at 11:09 AM, Chuck Soper wrote: > >> Does anyone know the steps to allow custom dragging of a table column to >> another table? Is this possible? If I was dealing with an NSView >>subclass, >> I think this would be straightforward. I want

Re: dragging NSTableColumn to another table

2013-02-19 Thread Graham Cox
On 20/02/2013, at 12:10 PM, Chuck Soper wrote: > Thanks for your very thorough response. It sounds possible, but quite > labor intensive. So much so, that I think that I should not be using > NSTableView. I was using NSTableView, with one row, as way to horizontally > scroll custom views. To aut

Re: dragging NSTableColumn to another table

2013-02-19 Thread Chuck Soper
On 2/19/13 5:54 PM, "Graham Cox" wrote: >On 20/02/2013, at 12:10 PM, Chuck Soper wrote: > >> Thanks for your very thorough response. It sounds possible, but quite >> labor intensive. So much so, that I think that I should not be using >> NSTableView. I was using NSTableView, with one row, as way

NSScrollView: should I use autolayout or not?

2013-02-19 Thread Chuck Soper
I want to use NSScrollView to create a row of custom views. The width of each custom view can be resized by the user, very similar to an NSTableView (resizable columns within an NSScrollView). The height of each custom view would be pinned to the documentView (which would be pinned to the NSScrollV

Re: dragging NSTableColumn to another table

2013-02-19 Thread Graham Cox
On 20/02/2013, at 1:27 PM, Chuck Soper wrote: > I was going to ask if you used autolayout to place and resize items within > your container view, but since you're changing frame origins and sizes I'm > sure you're not. Correct - I didn't use auto-layout. It's not clear to me that it would give