Re: Running AppleScripts from an App using NSAppleScript

2015-04-28 Thread has
Dave wrote: I have a number of AppleScripts I’d want to run from my App. Each Script has a couple of parameters [...] Example code here: http://appscript.sourceforge.net/nsapplescript.html The downside (one of them anyway) is that you have to do all of the Cocoa-AE packing and

Bindings across view controllers in OS X storyboards

2015-04-28 Thread Rick Mann
I have a window made up of a couple of NSSplitViewControllers and custom view controllers. It's mostly a master-detail type of thing, where the selected item in the first split sets up the second, and a selected item there sets up the third. Thing is, I don't see a good way to bind from one

Re: Cocoa window stops responding

2015-04-28 Thread Nisar Ahmed
I think I have found the culprit, I have subclassed NSOpenGLView where in drawRect, I am rendering a IOSurface based texture using CVDisplayLink, although I don't know why it is causing the screen to freeze but when I moved the rendering code from CVDisplayLink to dispatch timer the problem seems

New information. Was: Re: Weird UITableView problem

2015-04-28 Thread William Squires
Thinking this was a Swift problem, I recreated the project, but with ObjC as the language. I set up the UI the same as with the Swift project. It too, only shows a subset of the array, only this one shows 15 rows, not 13. Here's the ViewController.m // // ViewController.m // SimpleObjCTable

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Aaron Montgomery
Works for me. Not saying it doesn't work for you, but the problem isn't the code. Created a fresh Single View Application iOS project. Replaced ViewController.m source with the code below. Added a UITableView to the View Controller's View and hooked up the DataSource to the View Controller. Ran

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread William Squires
On Apr 28, 2015, at 12:15 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Apr 28, 2015, at 09:45 , William Squires wsqui...@satx.rr.com wrote: shows 15 rows You keep saying “shows”, but you don’t say what this means. A table view can only “show” as many rows as can fit

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Quincey Morris
On Apr 28, 2015, at 10:57 , William Squires wsqui...@satx.rr.com wrote: the whole simulator screen is taller than my iMac's screen can display, even for iPhone 5s as the simulator target, … So change the display scale to 50% from the simulator’s Window menu. … thus I have to scroll the

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Quincey Morris
On Apr 28, 2015, at 09:45 , William Squires wsqui...@satx.rr.com wrote: shows 15 rows You keep saying “shows”, but you don’t say what this means. A table view can only “show” as many rows as can fit between its top and bottom bounds. The rest are “shown” by scrolling the view. So, how many