trying to use cached image as background in NSView

2017-04-03 Thread Patrick J. Collins
elf setNeedsDisplay:YES]; } I tried asking this question on Stack Overflow, but it's gotten no love.. http://stackoverflow.com/questions/43177850/trying-to-use-cached-image-as-background-in-nsview Patrick J. Collins http://collinatorstudios.com ___ Cocoa-

best way to implement a clickable grid?

2015-09-14 Thread Patrick J. Collins
click events on a simple NSView? Any push in the right direction would be greatly appreciated. Thanks! Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: highlight a nsview on click-drag?

2015-03-15 Thread Patrick J. Collins
of audio, so that when it is played, the playhead starts there and ends at the end of the rectangle. Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: highlight a nsview on click-drag?

2015-03-15 Thread Patrick J. Collins
sample index, then you get all of that for free and it seems better to me. Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Trying to hide a NSProgressIndicator upon finishing of table rendering

2015-03-15 Thread Patrick J. Collins
hide not when the table content updates, but when the table has completed it's updating (hence the delay is over), because right now I get the spinner, it disappears, but there is roughly a 0.75 second pause before the table data changes Patrick J. Collins http://collinatorstudios.com

another question about view based NSTableViews

2015-03-15 Thread Patrick J. Collins
) know what row it's in, what column it is, etc... ? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa

highlight a nsview on click-drag?

2015-03-14 Thread Patrick J. Collins
for that rect)? Is there anything built-in that does this for me? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Trying to hide a NSProgressIndicator upon finishing of table rendering

2015-03-13 Thread Patrick J. Collins
view, as I guess NSTableView is doing some lazy loading. Is there a way to determine when the table has actually finished drawing itself so I can hook into that? Thanks! Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa

Re: setting table view rows and columns?

2015-03-13 Thread Patrick J. Collins
, it's blank. I am able to populate my table with data, I just can't seem to get a header to show up. Maybe I should just use labels above the table?? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: setting table view rows and columns?

2015-03-13 Thread Patrick J. Collins
all blank.. Quite frustrating. I am thinking labels is the way to go anyway because I want the header to stay locked when I scroll.. Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: setting table view rows and columns?

2015-03-13 Thread Patrick J. Collins
Also make sure that that headers is checked in the table view attributes inspector, or the headers won't be exposed to set in the first place. aargh! Totally missed that checkbox, and yeah that was my problem!!! thanks! Patrick J. Collins http://collinatorstudios.com

setting table view rows and columns?

2015-03-12 Thread Patrick J. Collins
; That's what I am looking to do, but I don't get how I specify how many columns there are in the table? I have everything else in my table setup properly, I am just trying to figure out how to set the header/column names. Thanks! Patrick J. Collins http://collinatorstudios.com

What is the best way to get events fired on keypress for an NSTextField?

2015-03-12 Thread Patrick J. Collins
this currently? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Document based architecture

2015-03-09 Thread Patrick J. Collins
like The Xcode development application provides project templates for document-based applications. Which I cannot find anywhere in XCode... Can anyone please shed some light on where I can get real-world instructions on how to setup this sort of design? Thanks. Patrick J. Collins http

Trying to create a 1px width NSBox

2015-03-08 Thread Patrick J. Collins
I get a simple 1px solid colored object that I can use for this purpose? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Drawing inside an NSImage?

2015-03-08 Thread Patrick J. Collins
in the drawRect (not using an NSImage): method.. What am I doing wrong here? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Trying to create a 1px width NSBox

2015-03-08 Thread Patrick J. Collins
a vertical line, if it's not useful? I mean, all I want is a vertical line. I don't understand why something like that exists if it's not customizable. Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

using coregraphics with vector art from illustrator

2010-04-19 Thread Patrick J. Collins
into xcode and use those paths in CG and stroke/fill them there? Is that possible? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

dynamically create/remove IB elements and instance vars?

2009-12-10 Thread Patrick J. Collins
in my controller. ... I know how to do this immediately with javascript-- but.. objective-c and xcode... no clue! Any suggestions? Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

breakout game - openGL or quartz?

2009-12-06 Thread Patrick J. Collins
to be as easy to accomplish with quartz/core animation. Also if anyone recommends any particular books or online tutorials for learning how to draw simple rectangles and spheres, and make them glow, etc, that would be great. Thanks! Patrick J. Collins http://collinatorstudios.com

question about mutable vs. non-mutable

2009-04-30 Thread Patrick J. Collins
easy to just define stuff and use it, add to it, remove from it, etc.. So it's really a struggle for me to see something that seems so fundamental to be so challenging to accomplish. Thank you! Patrick J. Collins http://collinatorstudios.com ___ Cocoa

image opacity?

2008-05-11 Thread Patrick J. Collins
Hi again, Does anyone happen to know how one could set the opacity of an NSImageView object? I am looking for a way to simply fade in an image on within my app's window-- but neither of the NSImageView nor IKImageView list anything about opacity... Thank you. Patrick J. Collins http

UI tool kit gone in IB 3?

2008-05-10 Thread Patrick J. Collins
is no longer available? Or advise a good book on the subject? Thank you. Patrick J. Collins http://collinatorstudios.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

scriptability of button in interface?

2008-05-03 Thread Patrick J. Collins
and do something like: Tell application 'patrick's app' to start ? I am assuming there is something in interface builder that you need to do to accomplish this, but I just don't know what it is. Thank you! Patrick J. Collins http://collinatorstudios.com