Re: UICollectionView not obeying zIndex of UICollectionViewLayoutAttributes

2015-08-07 Thread Ted Bradley
Thanks for the reply. I made a standalone project in order to strip out all my extraneous code. In the process I think I found my own solution. override func initialLayoutAttributesForAppearingItemAtIndexPath(itemIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? override func finalLa

Problem with 'collapsed' property in NSSplitViewItem

2015-08-07 Thread Bill Cheeseman
I am having difficulty setting up NSSplitViewController and NSSplitViewItem, introduced in OS X 10.10 Yosemite. Specifically, the 'collapsed' property of NSSplitViewItem does not return true after the bottom split view item of my horizontal split view collapses. I have set the 'canCollapse' pro

How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass

2015-08-07 Thread Bill Cheeseman
The header file comments in NSSplitViewController (introduced in OS X 10.10 Yosemite) state with respect to certain NSSplitViewDelegate methods that are "implemented" in NSSplitViewController that they "require a call to super if overriden [sic] by a subclass." How do I call super in an override

Occasional NSInternalInconsistencyException - could not load nib

2015-08-07 Thread Jonathan Mitchell
Occasionally I get crash reports like so: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[TSStackMenuItem loadView] could not load the "TSStackMenuItem_Image_Info" nib.’ They are very infrequent and don’t occur in testing. I doubt that the nibs are actua

Re: Occasional NSInternalInconsistencyException - could not load nib

2015-08-07 Thread Jonathan Mitchell
Hi Sean > On 7 Aug 2015, at 15:30, Sean McBride wrote: > > On Fri, 7 Aug 2015 15:04:19 +0100, Jonathan Mitchell said: > >> Occasionally I get crash reports like so: >> >> Terminating app due to uncaught exception >> 'NSInternalInconsistencyException', reason: '-[TSStackMenuItem loadView] >> cou

Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass

2015-08-07 Thread Quincey Morris
On Aug 7, 2015, at 05:47 , Bill Cheeseman wrote: > > I don't understand why the fact that NSSplitViewController "implements" these > delegate methods requires my override to call super, or what calling super > accomplishes in this situation. According to the latest header files, setting a diff

Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass

2015-08-07 Thread Bill Cheeseman
Thanks, that helps me to understand it a little better. But by calling super the way I showed in my original post, I am not making use of any result that might be returned by super's implementation of the method. And how could super's implementation return anything meaningful to my application a

Re: Xcode 6.4 on the Developer download site.

2015-08-07 Thread Jonathan Mitchell
> On 7 Aug 2015, at 20:45, Alex Zavatone wrote: > > We were told a few times that the latest Xcodes should always be on the > developer downloads site at: > > https://developer.apple.com/downloads/ > > I'm trying to download a copy of Xcode 6.4's installer and I can't see > anything up on th

Re: Xcode 6.4 on the Developer download site.

2015-08-07 Thread Jonathan Mitchell
> On 7 Aug 2015, at 20:45, Alex Zavatone wrote: > > We were told a few times that the latest Xcodes should always be on the > developer downloads site at: > > https://developer.apple.com/downloads/ > > I'm trying to download a copy of Xcode 6.4's installer and I can't see > anything up on th

Re: Xcode 6.4 on the Developer download site.

2015-08-07 Thread Alex Zavatone
Yeah, no idea. I downloaded i fine on another Mac. On Aug 7, 2015, at 4:00 PM, Jonathan Mitchell wrote: > >> On 7 Aug 2015, at 20:45, Alex Zavatone wrote: >> >> We were told a few times that the latest Xcodes should always be on the >> developer downloads site at: >> >> https://developer.a

Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass

2015-08-07 Thread Quincey Morris
On Aug 7, 2015, at 12:33 , Bill Cheeseman wrote: > > But by calling super the way I showed in my original post, I am not making > use of any result that might be returned by super's implementation of the > method. And how could super's implementation return anything meaningful to my > applicat

Re: Xcode 6.4 on the Developer download site.

2015-08-07 Thread Gary L. Wade
Be sure you have Developer Tools selected as a filter. For some reason, versions after than 6.1.1 were not tagged for iOS or OS X. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Aug 7, 2015, at 1:27 PM, Alex Zavatone wrote: > > Yeah, no idea. I downloaded i fine on another

Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass

2015-08-07 Thread Fritz Anderson
Speculation: This may be like the -window property of NSWindowController. Accessing it is the recommended way to force the controller to instantiate the window, even if you don’t care about the result. In this case, _you_ may not care what super’s NSSplitViewDelegate methods do, but NSSplitView

Auto-layout annoyance

2015-08-07 Thread SevenBits
Hi all, I’m experience a slight bug? in my app relating to auto layout constraints. I have a preference pane which should be expanding to fill the length of one center-aligned element. This does not happen. What happens is the xib is designed for English (my Base language), and in German, one p

Re: Auto-layout annoyance

2015-08-07 Thread Charles Srstka
On Aug 7, 2015, at 4:48 PM, SevenBits wrote: > > I’m experience a slight bug? in my app relating to auto layout constraints. I > have a preference pane which should be expanding to fill the length of one > center-aligned element. This does not happen. What happens is the xib is > designed for

Xcode Debugger Shows Incorrect Variable Information

2015-08-07 Thread Richard Charles
I have a heavily customized managed object with some attributes using ivar backing. I recently added an ivar of type NSObject and experienced some difficulty with the debugger. The simplified code is shown below. @implementation MyManagedObject { MyStruct _ivar1; MyStruct _ivar2; // de