Accessing FilesOwner fm controller

2009-11-16 Thread Harry Plate
can communicate w/ my class during -awakeFromNib? TIA, -harry ___ 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

NSOpenPanel accessoryView and new windows...

2009-11-16 Thread Harry Plate
with the new window under the open panel. I also note that the default About panel support has the same ordering issue. What needs to be done get my new window on top of the panel, and receiving key/mouse events? TIA, -harry ___ Cocoa-dev mailing list

IKImageBrowserView and reordering

2009-11-05 Thread Harry Vangberg
initiate a drag at all. Developing against 10.6 SDK. Harry ___ 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

NSCollectionView and drag tolerance

2009-11-02 Thread Harry Vangberg
allow that, as stated earlier. or b) Add some kind of 'tolerance radius' inside which the mouse down event must happen, which would make it possible to initiate a drag via the less-than-precise control a touchscreen is. This is with 10.6. Thanks, Harry

Apple Remote Control Wrapper sends same button ID for all buttons.

2009-11-02 Thread Harry Vangberg
20:09:17.748 MediaShow[10005:150b] Button 8192 pressed down 0 Which makes it a tad difficult to differ between them. This is developing against 10.6. Thanks, Harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

NSSplitView and NSScrollView

2009-10-15 Thread Harry Sfougaris
I have placed a NSSplitView inside a NSScrollView in code. However, when the user resizes one of the views so part of it outside the NSScrollView visible bounds, the NSScrollView does not display the scroll bars. Is this not possible? Thank you, Harry Sfougaris

Re: NSSplitView and NSScrollView

2009-10-15 Thread Harry Sfougaris
]; [splitVw setAutoresizingMask:NSViewHeightSizable]; [scrollVw setDocumentView:splitVw]; Thanks, Harry On 15 Οκτ 2009, at 8:53 μ.μ., Kyle Sluder wrote: On Thu, Oct 15, 2009 at 1:31 AM, Harry Sfougaris hsfouga...@mac.com wrote: I have placed a NSSplitView inside

Re: Advice on debugging a GC related crash

2009-09-26 Thread Harry Jordan
Cookies.bundle/Contents/MacOS/Safari Cookies Everything else except for this input manager seems quite standard, so I suspect this could be the culprit. For now I'm going to wait and see if I get any more crash reports in this vein before I investigate any further. Thank you again Harry On 25

Advice on debugging a GC related crash

2009-09-25 Thread Harry Jordan
to go about reproducing it never mind fixing it. Any advice would be most appreciated. Cheers Harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: I can't find it in the docs so I know I'm missing it some where

2009-09-02 Thread Harry Jordan
, Apple could add a third category of 'subscription' apps but there are so many edge cases that it's just adding unnecessary complexity for the users. If your going to subscribe to a service for months or years, then a $1 startup fee really isn't a very big hurdle in my opinion. Harry http

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-20 Thread Harry Jordan
think the position in the array of each UCKeyOutput is equivalent to it's keyCode. Then you need to read UCKeyOutput's bytes (14 and 15) to find out how to decode it's Unicode character. Hope that's more what you were looking for. Sorry I can't seem to find a friendlier solution. Harry On 20

Re: Need advice about how to create a Cocoa Framework

2009-08-19 Thread Harry Jordan
them like a normal application. Make sure you mark the header files that you want to be made as public, and accessible to the outside world. All in all, frameworks aren't that scary. Harry http://inquisitivesoftware.com/ On 19 Awst 2009, at 01:05, Gevik wrote: Hi All, I have an old C

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-19 Thread Harry Jordan
://inquisitivecocoa.com/2009/04/05/key-code-translator/ for my version of what I think your trying to achieve. Be warned, there are a few gaps in my implementation (like F numbers for instance), but that shouldn't be that hard to add. Harry Jordan http://inquisitivesoftware.com/ On 19 Awst 2009, at 18:40

Re: How to set the name of open-with application for a specific file?

2009-08-02 Thread Harry Jordan
reasonable. Hope that helps. Harry http://inquisitivesoftware.com/ On 31 Gorff 2009, at 14:00, MATSUMOTO Satoshi wrote: Dear Jerry Krinock, On 2009/07/31, at 21:43, Jerry Krinock wrote: Activate Finder. Select a subject document file. In main menu click File Get Info. In the Info Window which

Re: Confounding crash, not much to go on except a stack trace

2009-05-09 Thread Harry Jordan
, when it was running 64bit. So problem solved, but I'm not sure how or why. On Mar 26, 10:32 pm, Nick Zitzmann n...@chronosnet.com wrote: On Mar 26, 2009, at 2:33 PM, Harry Jordan wrote: I was wondering if anyone could shed light on this strange error   that occurs, sometimes, (never when I'm

global UIColor

2009-03-22 Thread Harry G
I'm setting up my constants in my app, and have come across a problem. I wish to have a standard UIColor to use for all titles in my app but I get the error error: initializer element is not constant and for obvious reasons , but my question is: How am I 'supposed' to implement a single

Re: NSTableView behavior changes

2009-03-18 Thread Harry Plate
functionality that I was striving for above? Comments appreciated! -harry ___ 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

Re: NSTableView behavior changes

2009-03-18 Thread Harry Plate
surprised that Cmd-A was not working. As you can probably tell, I am tromping in a lot of new territory... Comments appreciated, -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: NSTableView behavior changes

2009-03-17 Thread Harry Plate
(keyDown)? I am seeing some list topics where folks have done that. Comments welcome, -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Best method of communicating with binary java DataOutputStream on iPhone?

2009-02-20 Thread Harry G
Data shall be obtained via http as utf-8 served by Java DataOutputStream. The data consists of int's and utf-8 strings Other than iterating through byte by byte, does cocoa have any convenience methods to communicate or extract such data? Speed of data transfer is of high priority, what

Reading from online Byte Array to UITableview best method?

2009-02-19 Thread Harry G
I wish to dynamically load (from URL) byte array data, convert to cocoa datatypes, and use in an UITableview. So many ways to skin a cat, so before I proceed I was wondering what methods you would recommend for the job? ___ Cocoa-dev mailing list

Re: NSTableView crash when selected.

2009-02-17 Thread Harry Plate
that would be a valid assumption. Eg, when we did our leak test we concluded we had to [array removeAllObject] before we [array release]. This just doesn't seem right... -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: NSTableView crash when selected.

2009-02-17 Thread Harry Plate
/stumble abit more before the issue of object retention/ownership becomes second nature to me. Appreciate your help! -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

NSTableView behavior changes

2009-02-17 Thread Harry Plate
class. So I assume that magically my controller has become the data source for the table view. I have read something about a field editor - could this be the clue to my rquirements listed above? -harry ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSTableView behavior changes

2009-02-17 Thread Harry Plate
had me doing so many things that am forgetting most of them (and certainly did not understand them anywat) along the way. But this is progress! Thanks again - this has been extremely helpful! -harry ___ Cocoa-dev mailing list (Cocoa-dev

NSTableView crash when selected.

2009-02-13 Thread Harry Plate
dragging 2 (or more) elements into the view, if I simply click on the table. Boom. It is wierd that iff there is only 1 element in the table view, then all is ok. The stack is added below. Appreciate any suggestions, -harry OS Version: Mac OS X 10.5.5 (9F33) Report Version: 6 Exception Type

Re: Simple memory problem

2009-02-06 Thread harry greenmonster
I cant help but think the preferable way Objective C should would is to send a release automatically to the receiver of a product of itself. inputString = [inputString myMethod]; Its fairly clear in this situation that the original 'inputString' is not wanted and needs to die, and would

Re: Simple memory problem

2009-02-06 Thread harry greenmonster
want to compiler automatically releasing stuff for you. Bryan On Feb 6, 2009, at 5:24 AM, harry greenmonster wrote: I cant help but think the preferable way Objective C should would is to send a release automatically to the receiver of a product of itself. inputString = [inputString

Re: Simple memory problem

2009-02-06 Thread harry greenmonster
Forgot to add: As long as the returned type was the same. So instead.. inputString = [inputString StringFromMyMethod]; On 6 Feb 2009, at 13:32, harry greenmonster wrote: Yes, memory management is a weak point of mine, which I'm currently trying to resolve. Last time I had any use

Re: Simple memory problem

2009-02-06 Thread harry greenmonster
On 6 Feb 2009, at 14:18, Steve Sisak wrote: If you use an Objective-C 2.0 property (rather than a variable) and specifying retain semantics, you'll get that behavior -- with a bit of overhead. Ah interesting, just the kind of result I was hoping to obtain from asking dumb questions. In

Simple memory problem

2009-02-05 Thread harry greenmonster
while([inputString isMatchedByRegex:regexString]){ range = [inputString rangeOfRegex:regexString]; inputString = [inputString stringByReplacingCharactersInRange:range withString:@]; } 'inputString' is a 5mb text file, Activity Monitor shows that memory

Re: Simple memory problem

2009-02-05 Thread harry greenmonster
I had already tried an NSAutoreleasePool but came across issues, it released inputString so as useless for the next iteration. So I tried keeping it around with... if (inputString != nil) { [inputString retain]; /* Keep match around.

Re: Simple memory problem

2009-02-05 Thread harry greenmonster
NSMutableString, good idea, I think that will work, will try that thanks. And thanks everyone else. On 6 Feb 2009, at 00:16, Shawn Erickson wrote: On Thu, Feb 5, 2009 at 3:39 PM, harry greenmonster southwestmons...@googlemail.com wrote: 'inputString' is a 5mb text file, Since

Re: NSTextView and front/middle/back ellipses

2009-01-23 Thread Harry Plate
! The hint led me to Breaking Lines by Truncation in the Rulers and Paragraph Styles doc. Within that are some very useful code fragments illustrating what to do. I'm off to the races, -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

NSTextView and front/middle/back ellipses

2009-01-22 Thread Harry Plate
I have a simple text view that will display its text information with an ellipses on the right (end) if the string is too long for the view. Nice, but... How can I tell NSTextView to use a front or middle ellipses for viewing purposes? -h ___

Re: Trying to display a simple sheet

2009-01-20 Thread Harry Plate
fragments to the -applicationDidFinishLaunching delegate I assume then that only when the app is really running can I start to manipulate sheets -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Trying to display a simple sheet

2009-01-19 Thread Harry Plate
would have expected that #2 or #3 would have resulted in a sheet on my main application window. What obvious detail did I miss? TIA, -harry ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

'Configure Sheet' fails when containing a WebView

2008-05-23 Thread harry greenmonster
Hi I have a screensaver which I'm building, I have created a 'configure sheet' accessed by the 'options' button in 'system preferencesscreensaver'. In IB I drag WebView onto my 'configure sheet', then when I test the screensaver the 'options button' fails to open the sheet. If I delete

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-22 Thread Harry
There are also a couple of wiki-book projects on Learning Cocoa. Here are links: http://en.wikibooks.org/wiki/Programming_Mac_OS_X_with_Cocoa_for_beginners http://en.wikibooks.org/wiki/Programming:Cocoa Date: Wed, 21 May 2008 12:33:12 -0700 (PDT) From: Erik Buck [EMAIL PROTECTED]