irc client with cocoa

2011-07-27 Thread David Remacle
Hello, Is there a class or a small framework for irc client ? Thank's -- David Remacle lis...@clampin.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the m

Re: Disable Lion's window restoration?

2011-07-27 Thread Gerd Knops
On Jul 26, 2011, at 5:20 AM, Jean-Daniel Dupas wrote: > > Le 26 juil. 2011 à 02:33, Gerd Knops a écrit : > >> Hi, >> >> Is there an application-global way of disabling window restoration? >> >> All I can find is NSWindow's "- (BOOL)isRestorable" method (and it's >> relatives). >> >> I was h

Re: irc client with cocoa

2011-07-27 Thread Nick Zitzmann
On Jul 27, 2011, at 3:54 AM, David Remacle wrote: > Hello, > > Is there a class or a small framework for irc client ? Nick Zitzmann ___ Cocoa-dev mailing list (Cocoa-de

Re: Cocoa-dev Digest, Vol 8, Issue 565

2011-07-27 Thread Martin Stanley
I also have implemented a UITextField for numeric (currency and percentage) input. Here is my experience: 1- I found the Number Pad keyboard fatally lacking due to omission of a decimal point character and a "Done" key. So use a Numbers and Punctuation keyboard. 2- I did not use a UIPickerView be

Re: Cocoa-dev Digest, Vol 8, Issue 565

2011-07-27 Thread Martin Stanley
(oops, corrected response below; sorry) I also have implemented a UITextField for numeric (currency and percentage) input. Here is my experience: 1- I found the Number Pad keyboard fatally lacking due to omission of a decimal point character and a "Done" key. So use a Numbers and Punctuation key

Re: Two NSTableViews, two data sources, one data model?

2011-07-27 Thread Gary L. Wade
I found it cleaner to have a separate object from my document be the data source (and delegate) for four separate views (table, outline, browser, collection) showing a folder hierarchy. - Gary L. Wade (Sent from my iPhone) On Jul 26, 2011, at 10:53 PM, Izak van Langevelde wrote: > I currently

Re: How can i change a app position and size?

2011-07-27 Thread David Duncan
On Jul 26, 2011, at 6:14 PM, Diego Alvarez Nogueira wrote: > 1)Why do I have some differences in get bounds between cocoa and applescript? > for instance: on 'originString' and 'sizeString' are > returned({1920,106,1280,800}) and with applescript ("set _bounds to get > bounds of window window_n

Re: irc client with cocoa

2011-07-27 Thread Paul Franz
I found this one that is a wrapper for the libircclient. It looks light http://www.stupendous.net/projects/irc-client-cocoa-framework/ Paul Franz On Wed, Jul 27, 2011 at 11:20 AM, Nick Zitzmann wrote: > > On Jul 27, 2011, at 3:54 AM, David Remacle wrote: > >> Hello, >> >> Is there a class or a

Re: Receiving unicode keyboard input

2011-07-27 Thread Bill Appleton
Hi Aki, Thanks for responding. The problem is that Safari or webkit does not implement this new spec correctly, i have filed a webkit bug and included a copy below. I could try to do something clever to dance around this, but then if they change it i would have a deployed problem in the field. I

UIAlertView with UITextField

2011-07-27 Thread Dan Hopwood
Hi, I have come across a undocumented method of the UIAlertView class called: addTextFieldWithValue:label: This works really well and is exactly what I am looking for however a little reading tells me Apple may reject submissions that use this private API. I wondered if anyone knew this was the

Re: UIAlertView with UITextField

2011-07-27 Thread David Duncan
On Jul 27, 2011, at 10:02 AM, Dan Hopwood wrote: > This works really well and is exactly what I am looking for however a little > reading tells me Apple may reject submissions that use this private API. Yes, you will be rejected for using private API. -- David Duncan __

Re: UIAlertView with UITextField

2011-07-27 Thread Dan Hopwood
Thanks David. And do you or does anyone else know if Apple would permit implementing something like the following, which gives a very similar result: http://iphonedevelopment.blogspot.com/2009/02/alert-view-with-prompt.html Thanks, Dan On Jul 27, 2011, at 18:14, David Duncan wrote: On Jul 27

Re: Dialog Command Keys

2011-07-27 Thread Bill Appleton
hi all, oh man i hate to belabor this issue but i have studied every suggestion and the docs and i cannot figure this out the problem is that i cannot get command keys to work on dialog text, even dialogs run and managed by cocoa as suggested i set the target for my menu items to nil, and also m

Re: Dialog Command Keys

2011-07-27 Thread Raleigh Ledet
The target of the menus should be nil and you need to set the action to what standard controls expect them to be. Namely: cut: @selector(cut:) copy: @selector(copy:) paste: @selector(paste:) so basically: [cutMenuItem setTarget:nil] [cutMenuItem setAction:@selector(cut:)] This of course means

Re: Dialog Command Keys

2011-07-27 Thread Bill Appleton
Thanks Raleigh that fixes the problem. I had a single handler for all menu items that used menu tags to get a menu and item id, so i will apply your fix below. our app is enterprise software and has one code base for windows and mac so this issue was related to the portability requirements bes

Re: Dialog Command Keys

2011-07-27 Thread Kyle Sluder
On Wed, Jul 27, 2011 at 11:57 AM, Bill Appleton wrote: > our app is enterprise software and has one code base for windows and mac so > this issue was related to the portability requirements Perhaps you could use the problems you've encountered in this thread to advocate for giving the requisite d

Re: Dialog Command Keys

2011-07-27 Thread Bill Appleton
hi kyle i agree. we are in transition that direction, its great to see the mac growing in popularity it provides justification for the effort. best bill On Wed, Jul 27, 2011 at 12:13 PM, Kyle Sluder wrote: > On Wed, Jul 27, 2011 at 11:57 AM, Bill Appleton > wrote: > > our app is enterprise

Re: Receiving unicode keyboard input

2011-07-27 Thread Aki Inoue
Bill, > Thanks for responding. The problem is that Safari or webkit does not > implement this new spec correctly, i have filed a webkit bug and included a > copy below. OK. I cannot comment on the behavior since I'm not WebKit :-). > I could try to do something clever to dance around this, but

Re: UIAlertView with UITextField

2011-07-27 Thread glenn andreas
And how well will that approach work with an updated release that moves things around to different locations? Hint: many apps have broken with updated OS releases when system UI objects are changed internally. Anything that hard codes in coordinate assumptions of system views is problematic -

Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread Sean McBride
Hi all, How can one support the new Resume feature and also show a splash screen at app launch, before documents are opened? I've added logs to my NSApplicationDelegate and observed the launch sequence and it goes like: awakeFromNib applicationWillFinishLaunching NSApplicationDidFinishRestorin

Re: Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread John Joyce
On Jul 28, 2011, at 7:29 AM, Sean McBride wrote: > Hi all, > > How can one support the new Resume feature and also show a splash screen at > app launch, before documents are opened? > > I've added logs to my NSApplicationDelegate and observed the launch sequence > and it goes like: > > awake

Re: Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread Philip Ershler
On Jul 27, 2011, at 5:16 PM, John Joyce wrote: > > On Jul 28, 2011, at 7:29 AM, Sean McBride wrote: > >> Hi all, >> >> How can one support the new Resume feature and also show a splash screen at >> app launch, before documents are opened? >> >> I've added logs to my NSApplicationDelegate and

Re: Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread Dave Fernandes
License agreements are still a necessity. This seems to be what the OP is asking about, and not simply a marketing splash screen. I used to put this check in my document controller's openUntitledDocumentAndDisplay:error: and openDocumentWithContentsOfURL:display:error: methods. Unfortunately, t

Re: Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread Sean McBride
On Jul 27, 2011, at 19:39, Dave Fernandes wrote: > License agreements are still a necessity. This seems to be what the OP is > asking about, and not simply a marketing splash screen. Thanks for the on-topic reply! (Sad that even though I anticipated the 'don't do that comments', they still cam

Re: Lion's new "Resume" feature, document restoration, and splash screens

2011-07-27 Thread Quincey Morris
On Jul 27, 2011, at 15:29, Sean McBride wrote: > (And I know someone is going to tell me: don't show an icky splash screen... > that option is being considered too.) Incidentally, in the context of Lion and automatic termination/resume, it's no longer just the ickiness that's a problem. The dee

Tracking down CALayer problem in iTunes plug-in

2011-07-27 Thread Graham Cox
I'm developing an iTunes visualizer plug-in using the new SDK, which supports Cocoa views and by extension, layers. But debugging these things is awkward because it's a plug-in and you can't run iTunes in a debugger. But you can log stuff to the console, which is something. When I clean-up my v

Re: 1. Creating a TCP server? (Rick Mann)

2011-07-27 Thread Jens Alfke
On Jul 26, 2011, at 4:20 PM, John MacMullin wrote: > http://developer.apple.com/library/mac/#samplecode/CocoaEcho/Introduction/Intro.html > ? CocoaEcho is pretty messy. Might be useful as reference for looking at how to do some things, but I wouldn’t recommend basing your app on it, not when t

Running Cocoa from a dynamic library

2011-07-27 Thread Guido Sales Calvano
Dear community, I'm building a project I've been thinking about for 14 years now. Finally doing it. But I've hit a stumbling block... So I need help... I'm trying to wrap Ogre3D a graphics engine in a javascript api using v8, and then load that as a module in node js, a javascript framework foc

Drawing text in a ImageAndTextCell in a nsoutlineview works as desired in Leopard. Broken in Snow Leopard and Lion

2011-07-27 Thread ktam
I'm having problems with code that works fine on Leopard, slightly broken in Snow Leopard and even more so in Lion. In Leopard the drawing of text in a selected cell with a colour label applied is drawing white instead of black, if the selected cell is the first in a list of items with a co

Drawing of text in outline view image and text cell correct in Leopard, broken in snow leopard

2011-07-27 Thread Kevin Meaney
I'm having problems with code that works fine on Leopard, and broken in Snow Leopard. In Leopard the drawing of text in a selected cell with a colour label applied is drawing white instead of black, if the selected cell is the first in a list of items with a colour label applied. Correct behavi