Cocoa window stops responding

2015-04-27 Thread Nisar Ahmed
My application has a UI having a main window which contains many views such as NSTableView, NSOutlineView, NSOpenGLView, many NSTextFields etc... The applications works normally but after some time the UI stops responding to the mouse clicks, the application does not hang but it seems that all the

Re: Cocoa window stops responding

2015-04-27 Thread Jonathan Mitchell
> On 27 Apr 2015, at 09:53, Nisar Ahmed wrote: > > My application has a UI having a main window which contains many views such > as NSTableView, NSOutlineView, NSOpenGLView, many NSTextFields etc... > > The applications works normally but after some time the UI stops responding > to the mouse

Re: Cocoa window stops responding

2015-04-27 Thread Uli Kusterer
On 27 Apr 2015, at 10:53, Nisar Ahmed wrote: > My application has a UI having a main window which contains many views such > as NSTableView, NSOutlineView, NSOpenGLView, many NSTextFields etc... > > The applications works normally but after some time the UI stops responding > to the mouse clicks,

Re: To Swiftly Crash

2015-04-27 Thread Charles Jenkins
That’s it! Thank you, Quincey! It no longer crashes if I put a question mark after replacementString:String and then ignore XCode’s warning, but I went ahead and implemented the “shouldChangeTextInRanges" method instead. Thanks for the quick, correct response! --  Charles On April 26, 2015 a

Re: The Case of the Dancing Keyboard

2015-04-27 Thread Alex Zavatone
By any chance is the searchBar wired through an IBOutlet? If so, do you have two connections to it? On Apr 27, 2015, at 2:04 AM, Gerriet M. Denkmann wrote: > >> On 23 Apr 2015, at 12:04, Gerriet M. Denkmann wrote: >> >> >> An UITableViewController with an UISearchController in iOS 8.3 >> >>

Running AppleScripts from an App using NSAppleScript

2015-04-27 Thread Dave
Hi All, I have a number of AppleScripts I’d want to run from my App. Each Script has a couple of parameters, here is an example: on run set myParam1 to set myParam2 to set myStatus to doStuff(myParam1, myParam2) return myStatus end run — — Do something with

Re: Running AppleScripts from an App using NSAppleScript

2015-04-27 Thread Jens Alfke
> On Apr 27, 2015, at 6:52 AM, Dave wrote: > > At the moment, I setup the Text for the Script, Compile it and then Run it > each time. I’m wondering if there is anyway to be able to just compile the > Script once, and then pass the Parameters to the Script as it seems a bit > time-consuming t

Sketch TNG Code?

2015-04-27 Thread Rick Mann
Is the Sketch TNG sample code available anywhere? Session 2014-212 showed something I need to do, but didn't explain how it was done (connecting the selected shape's properties to the inspector side bar). -- Rick Mann rm...@latencyzero.com ___ C

Do Bindings work in Swift?

2015-04-27 Thread Rick Mann
In the latest Xcode 6.3.1, I've got an OS X app with a mixture of Objective-C and Swift classes, and a Storyboard-based UI. I have one table view that's bound through an NSArrayController to an array in an Objective-C class, and it seems to work as desired. I have another table view that's boun

Re: Do Bindings work in Swift?

2015-04-27 Thread Charles Srstka
On Apr 27, 2015, at 8:54 PM, Rick Mann wrote: > > In the latest Xcode 6.3.1, I've got an OS X app with a mixture of Objective-C > and Swift classes, and a Storyboard-based UI. > > I have one table view that's bound through an NSArrayController to an array > in an Objective-C class, and it seem

Re: The Case of the Dancing Keyboard

2015-04-27 Thread Gerriet M. Denkmann
> On 27 Apr 2015, at 19:04, Alex Zavatone wrote: > > By any chance is the searchBar wired through an IBOutlet? > > If so, do you have two connections to it? No, it is not connected to any IBOutlets. The reason is simply: programmer error. When I click in the searchBar the following happens:

Fwd: XPC service crash

2015-04-27 Thread Arjun SM
Hi all, My XPC service is crashing on Mavericks 10.9.5 and on Mountain Lion 10.8.x and I am not able to figure out the problem. I have pasted the logs below. The same code works perfectly fine on latest *10.10 Yosemite*. I am not sure what changes to be done in my code to make it work on Maverick

Re: Sketch TNG Code?

2015-04-27 Thread Thomas Wetmore
Rick, I requested that code and was told it was not packaged for release as a sample project. I then requested an as-is copy, and am awaiting a reply. If you manage to find a copy I would appreciate hearing about it. Tom Wetmore > On Apr 27, 2015, at 8:52 PM, Rick Mann wrote: > > Is the Sketc

Re: Sketch TNG Code?

2015-04-27 Thread Rick Mann
Figures. If you get ahold of it, I'd love to get a copy. Thanks! > On Apr 27, 2015, at 22:12 , Thomas Wetmore wrote: > > Rick, I requested that code and was told it was not packaged for release as a > sample project. I then requested an as-is copy, and am awaiting a reply. > > If you manage to