Re: Editing NSOutlineView Group Item

2014-11-07 Thread Luther Baker
http://openradar.appspot.com/18906942 On Wed, Nov 5, 2014 at 7:23 AM, Luther Baker lutherba...@gmail.com wrote: Thanks and thanks. I'll follow up on both your suggestions. Again, many thanks for your time Quincey! Luther On Nov 5, 2014, at 2:03 AM, Quincey Morris

Weak linking

2014-11-07 Thread Satyanarayana Chebrolu
Hi folks, We have an application, which is supporting from 10.5(Leopard) to 10.10(Yosemite). Inside the application, there is a custom framework(X.framework), which has some custom code for Appkit classes. Off late, decided to introduce a new feature, which will be supported from 10.7 to

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Jerry Krinock
On 2014 Nov 04, at 01:33, Quincey Morris quinceymor...@rivergatesoftware.com wrote: The fact that NSNotificationCenter is involved tells you that this is *not* KVO related. OK, then that makes me even more upset that all I can get from po $rdi, po $rdx, po $rcx, etc. when I need them

Nil Coalescing and Optional Chaining?

2014-11-07 Thread David Wood
I'm just trying to cut my teeth on Swift here, and there are a few command-line activities I like to use to make sure I understand what a language is doing. The goal in this case is to take a parameter from the command line, that may or may not have been entered with the command that started

Re: Nil Coalescing and Optional Chaining?

2014-11-07 Thread David Wood
(Dagnabbed mailing list didn’t set the ReplyTo field! What’s up with that?) On Nov 7, 2014, at 8:57 AM, Charles Jenkins cejw...@gmail.com wrote: It looks to me like Process.arguments[] does not return an optional value. I think you need to find out how many elements are in the array before

Re: Nil Coalescing and Optional Chaining?

2014-11-07 Thread Charles Jenkins
Well, if you have only one argument, then arguments.count would be 1, but to get the argument, you’d ask for Process.arguments[0]. Arrays are zero-based. — Charles Jenkins On Friday, November 7, 2014 at 09:30, David Wood wrote: (Dagnabbed mailing list didn’t set the ReplyTo field!

Serious bug for UICollectionView

2014-11-07 Thread Colas B
Dear cocoa-dev, I am facing the following bug with `UICollectionView` in the **horizontal scrolling mode** (`iOS 8`, `iOS 7`, the only ones I have tested). I would like to have your views on this bug and on how I could elegantly fix it (and possibly fix it so that when Apple fixes it, my fix

UITableView - distinguish selection from drill-down

2014-11-07 Thread Martin Hewitson
Dear list, I’m trying to find a good idiom for allowing the user to select an item from a hierarchical tree of items. The items are categories, and categories can contain sub-categories, etc. This is easy to present using a UITableView and segues. But in this particular part of the UI, I want

Re: Nil Coalescing and Optional Chaining?

2014-11-07 Thread David Wood
On Nov 7, 2014, at 9:36 AM, Charles Jenkins cejw...@gmail.com wrote: Well, if you have only one argument, then arguments.count would be 1, but to get the argument, you’d ask for Process.arguments[0]. Arrays are zero-based. D'oh. Well, that fixed it. The final result looks like this: var

Re: Nil Coalescing and Optional Chaining?

2014-11-07 Thread Scott Ribe
On Nov 7, 2014, at 8:34 AM, David Wood terri...@verizon.net wrote: Only now does it occur to me that the place to post this would have been a Swift-dev mailing list. Is that even a thing? No, use of Swift is so intimately tied to Cocoa that they're having those discussions here. -- Scott

Re: Nil Coalescing and Optional Chaining?

2014-11-07 Thread Kyle Sluder
On Fri, Nov 7, 2014, at 09:34 AM, David Wood wrote: On Nov 7, 2014, at 9:36 AM, Charles Jenkins cejw...@gmail.com wrote: Well, if you have only one argument, then arguments.count would be 1, but to get the argument, you’d ask for Process.arguments[0]. Arrays are zero-based.

Re: Weak linking

2014-11-07 Thread Fritz Anderson
On Nov 7, 2014, at 5:54 AM, Satyanarayana Chebrolu satyanaraya...@ivycomptech.com wrote (slightly more appropriate to xcode-users): The app is getting crashed when we launch it on 10.5 and 10.6 machines saying that “dyld: Symbol not found: _OBJC_CLASS_$_NSTableCellView”. Understand that

Re: Weak linking

2014-11-07 Thread Satyanarayana Chebrolu
Yes, its 10.5 only. On 11/7/14, 9:46 PM, Fritz Anderson fri...@manoverboard.org wrote: On Nov 7, 2014, at 5:54 AM, Satyanarayana Chebrolu satyanaraya...@ivycomptech.com wrote (slightly more appropriate to xcode-users): The app is getting crashed when we launch it on 10.5 and 10.6 machines

Re: Weak linking

2014-11-07 Thread Greg Parker
On Nov 7, 2014, at 3:54 AM, Satyanarayana Chebrolu satyanaraya...@ivycomptech.com wrote: Hi folks, We have an application, which is supporting from 10.5(Leopard) to 10.10(Yosemite). Inside the application, there is a custom framework(X.framework), which has some custom code for

Re: Saving a Document style app

2014-11-07 Thread Sean McBride
On Sat, 18 Oct 2014 11:06:35 -0500, Luther Baker said: I'd like to save my Document based app in the bundle style format. IE: I'd like to save things in a directory - like apps like OmniOutliner do. Out of the box, I get the option to save as sqlite, binary or XML. What I'd like is to save a

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Greg Parker
On Nov 7, 2014, at 5:06 AM, Jerry Krinock je...@ieee.org wrote: On 2014 Nov 04, at 01:33, Quincey Morris quinceymor...@rivergatesoftware.com wrote: The fact that NSNotificationCenter is involved tells you that this is *not* KVO related. OK, then that makes me even more upset that

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Jerry Krinock
On 2014 Nov 07, at 14:14, Greg Parker gpar...@apple.com wrote: Which frame are you in when you try to read the register (the top frame, or some other frame)? Some other. #11 in this call stack: #0 in strlen () #1 in strdup () #2 in objc_class::nameForLogging() () #3 in

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Greg Parker
On Nov 7, 2014, at 12:35 PM, Jerry Krinock je...@ieee.org wrote: On 2014 Nov 07, at 14:14, Greg Parker gpar...@apple.com wrote: Which frame are you in when you try to read the register (the top frame, or some other frame)? Some other. #11 in this call stack: #0 in strlen () #1

How to obtain paths of laid-out text

2014-11-07 Thread Graham Cox
In the past, I've obtained bezier paths from laid out text using a subclass of NSLayoutManager that overrode the deprecated -showPackedGlyphs:length:... method. This method had a nice smooth impedance match with [NSBezierPath appendPackedGlyphs:]. The method has been deprecated since 10.7, but

Re: auto layout exception: Unable to create description in descriptionForLayoutAttribute_layoutItem_coefficient. Something is nil

2014-11-07 Thread Chuck Soper
Thanks for your reply. I fixed the issue by removing all the constraints and re-adding them. Each time I added some constraints, I confirmed compatibility with iOS 7.1 The one thing that I did differently was that I added width and height constraints to some images. I only had about a dozen views