ncurses type wrapper for NStextview

2017-03-06 Thread Julie Porter
It has been a while since I asked anything here. Most of the scripting I do is in PostScript using the ghostscript interpreter. Occasionally I convert my postscript code to Objective C/Quartz. This works really well for graphical output as Quarts drawing is just postscript backward. I now ha

Re: migrating from 32bit to 64 bit can not run project

2016-03-03 Thread Julie Porter
On 3/3/16 12:00 PM, Britt Durbrow wrote: Britt; thanks for the quick reply. I deleted everything from the folder that I did not create, then stripped them from the project. This allowed the 10.5 version to find the right plist. I then did a copy on the build target, which I renamed, then cha

migrating from 32bit to 64 bit can not run project

2016-03-02 Thread Julie Porter
I mostly program in postscript, which I use for a general purpose language and MIDI parsing. From time to time I make a little coca app when I need to do interactive views or real world interaction. I have a working app that I wrote under 10.5 that makes a little framework, where I can parse

Re: 3d visualization

2012-05-14 Thread Julie Porter
The link seems to be missing, because I can not see Chris's original contribution to this thread. It does not seem to be archived either, although "message not available appears." -jP On May 14, 2012, at 8:32 AM, Chris Goedde wrote: This seems like a good place to start: __

Re: Large over 100K pixel high ruler scroll view

2011-09-01 Thread Julie Porter
threads and learn from the experience of others. -julie On 9/1/11 8:48 PM, Graham Cox wrote: On 31/08/2011, at 2:49 PM, Julie Porter wrote: I have the idea that a class, MyDocument is instantiated with an array myEvents, each time a file is opened.[ [...] I seem to have told you how to do this

Re: Large over 100K pixel high ruler scroll view

2011-08-30 Thread Julie Porter
On 8/30/11 8:59 PM, Jens Alfke wrote: On Aug 30, 2011, at 8:43 PM, Julie Porter wrote: NSLog(@"have %lu events.",[[MyDocument CISEvents] count]); I get the error: 'MyDocument' may not respond to '+CISEvents' This is the distinction between a class and an

Re: Large over 100K pixel high ruler scroll view

2011-08-30 Thread Julie Porter
On 8/29/11 10:39 PM, Graham Cox wrote: NSDocument and NSView are totally unrelated classes. [...] So your view will be doing stuff like: [myDocument giveMeDataForLinesInRange:linesRange];// in -drawRect: and your document will be doing stuff like: [myView setFrame:theSizeICalculatedFromTh

Re: Large over 100K pixel high ruler scroll view

2011-08-29 Thread Julie Porter
On 8/29/11 9:01 PM, Jens Alfke wrote: On Aug 29, 2011, at 7:18 PM, Julie Porter wrote: In some ways it is too bad I can not call the cocoa classes from a postscript syntax, considering that the program already defines the data in arrays of dictionaries. I think at one time there was

Re: Large over 100K pixel high ruler scroll view

2011-08-29 Thread Julie Porter
On 8/29/11 7:29 PM, Graham Cox wrote: Use Interface Builder to set up/design your interface. Add a custom NSView, set its class to your subclass. Place it inside a standard NSScrollView. In the -awakeFromNib method of the custom NSView subclass, set the frame size to what you need. The stand

Re: Large over 100K pixel high ruler scroll view

2011-08-29 Thread Julie Porter
On 8/29/11 1:17 PM, wadesli...@mac.com wrote: One warning about extremely large views is that at some point you will run into floating-point rounding errors, since AppKit and CoreGraphics coords are 32-bit floats and have only 24 bits of precision. Still, that should get you to millions of pix

Re: Large over 100K pixel high ruler scroll view

2011-08-23 Thread Julie Porter
I don't see how bindings come into this. I'm also unclear by what you mean by "setup wizards" - are you referring to Xcode templates, or...? - -- Conrad Shultz This is actually a graphical interface on top of a coredata database (XML) So I used the core data tools and bindings to define

Re: Large over 100K pixel high ruler scroll view

2011-08-23 Thread Julie Porter
On 23 Aug 2011, at 22:18, Julie Porter wrote: How do I do setup the ruler and scrollviews programetically without interface builder? On 8/23/11 2:30 PM, Thomas Davie wrote: Your best bet is to not completely dump IB, but to simply set the contentSize programatically as soon as you load

Large over 100K pixel high ruler scroll view

2011-08-23 Thread Julie Porter
I work with scans of 10 tune Nickelodeon player piano rolls. These can be over 100 yards long when unrolled. My roll images when uncompressed can be 100,000 plus pixels by 2800 pixels. In actual practice the images are made of lines, not pixels. To read these I have programs written in posts

binding contextual menu in NSTableView cell row

2011-03-14 Thread Julie Porter
I am looking to replicate the user interface of the Mac OS7 abandonware application MIDIGraphy. Most of my experience has been with the QuckDraw toolbox (over 30 years?) I used to work for Apple Imaging and was one of the Postscript Gurus on the Laserwriter team, so KV coding is second nature