Re: How do I set a watchpoint?

2015-05-28 Thread Kate Stone
On May 23, 2015, at 3:15 PM, Jens Alfke j...@mooseyard.com wrote: On May 23, 2015, at 3:04 PM, Kate Stone katherine_st...@apple.com mailto:katherine_st...@apple.com wrote: You can evaluate an Objective-C expression in a Swift frame by overriding the default language like so: Thanks!

Re: How do I set a watchpoint?

2015-05-28 Thread Jens Alfke
On May 28, 2015, at 4:24 PM, Kate Stone katherine_st...@apple.com wrote: Register values can be readily used in C-based languages as if they were pointers, but they have far less obvious meaning in a Swift context where everything is more strongly typed and is safe by design. I think

OSX storyboard window instantiation -- Xcode 6.3.2

2015-05-28 Thread Marco S Hyman
Hello, I’m playing with storyboards on OSX in a project that does nothing. One of the things I’m trying to do is open a second window from a second storyboard. I’ve a class function in a sub-subclass of NSWindowController named OtherWindowController that does this: class func

Re: OSX storyboard window instantiation -- Xcode 6.3.2

2015-05-28 Thread Marco S Hyman
I wrote: Storyboard (NSStoryboard: 0x61004a60) doesn't contain a controller with identifier ‘initial’ I also tried “instantiateInitialController”. No errors written to the console but the returned value is nil. What am I doing wrong? Perhaps nothing. I looked at the storyboard

Re: OSX storyboard window instantiation -- Xcode 6.3.2

2015-05-28 Thread Quincey Morris
On May 28, 2015, at 21:20 , Marco S Hyman m...@snafu.org wrote: Is this an Xcode bug It looks like an Xcode bug, although it’s not what you think. AFAICT, the bug is that when you change the storyboard identifier, Xcode doesn’t actually save the identifier to the storyboard file until you

MyApp-Swift.h generation issues

2015-05-28 Thread Jean Suisse
Dear All, Ever since I copied my Obj-C / Swift project and added it to a new workspace, MyApp-Swift.h no longer contains anything useful, except an empty : @interface NSColor (SWIFT_EXTENSION(MyApp)) @end No other class is mentioned and as a result I get “unknown type name” and other errors

Re: Off center guides

2015-05-28 Thread William Squires
On May 26, 2015, at 1:59 PM, Fritz Anderson fri...@manoverboard.org wrote: Please do not post the same question to two lists at once. You won’t get your answer any sooner, respondents won’t be able to see each others’ replies, and I almost replied on cocoa-dev, where your question is