Help with threads and queues

2010-04-29 Thread Paul Franz
-C? Paul Franz ___ 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/Unsubscribe/Update your Subscription: http

Re: Help with threads and queues

2010-04-29 Thread Paul Franz
queue whenever you want. The operation passed to the queue should write some data to the socket. Thomas On Apr 29, 2010, at 2:26 PM, Paul Franz wrote: I am trying to convert my Java code to Objective-C code and I have run into a problem. I have thread, that currently has a socket open and it

Re: Help with threads and queues

2010-04-29 Thread Paul Franz
queue from within the block? 2) Is there anyway to peek at the queue and find out how many "tasks" are queued up? 3) Is there a Cocoa wrapper for the dispatch code or will I need to create my own? 4) Do the dispatch queues work with Garbage Collection compiled code? Paul Franz On T

Re: Help with threads and queues

2010-04-29 Thread Paul Franz
Thanks. That looks like what I am looking for. Note: I didn't know that about NSOperationQueue. Paul Franz On Thu, Apr 29, 2010 at 6:00 PM, Dave DeLong wrote: > If you're worried about cross-platform compatibility, then use > NSOperationQueue and NSOperations.  The fun

Re: Help with threads and queues

2010-04-30 Thread Paul Franz
Oooohh. Cool. Definitely going to get it. Paul Franz On Fri, Apr 30, 2010 at 10:55 AM, James Bucanek wrote: > Paul Franz <mailto:paul.p.fr...@gmail.com> wrote (Thursday, April 29, 2010 > 5:26 AM -0400): > >> I am trying to convert my Java code to Objective-C code and

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, >> >

Re: App Delegate in Document App

2009-07-28 Thread Paul Franz
You should do it in the MainMenu.xib file. Paul Franz On Tue, Jul 28, 2009 at 1:46 PM, David Blanton wrote: > In MyDocument.xib I added an object and set its class to AppDelegate, a > subclass of NSObject, in my project. I connected the Application delegate > outlet to this obje

Re: GNUstep Kickstarter Project

2013-08-17 Thread Paul Franz
I am in. Paul Franz On Aug 15, 2013, at 8:02 PM, "Reaves, Timothy" wrote: > No, not really. > > On Thu, Aug 15, 2013 at 5:02 PM, Lars Sonchocky-Helldorf < > lars.sonchocky-helld...@hamburg.de> wrote: > >> Hi list, >> >> I've got this

Re: 64-bit iOS

2013-09-10 Thread Paul Franz
Should be interesting to see how this plays out. When it comes to Java, when you switch from a 32-bit JVM to a 64-bit JVM there is a 10% penalty doing so. The main reason has to do with pointers. All pointers double in size. The effect might be less in a Objective-C program. Paul Franz On Sep

Custom Cocoa Component/Control

2009-01-19 Thread Paul Franz
, what are the methods I need to override to make sure that the size is maintained? The control/component will need to react to mouse clicks but the NSView will be handling the dragging of the position of this control/component. Paul Franz ___

Re: Custom Cocoa Component/Control

2009-01-20 Thread Paul Franz
Mike, So I should use NSBrowser or an NSCollectionView to manage the different icons that will be in the window. But to do this, do I need to subclass the NSControl or the NSCell or both or will the NSCollectionView/NSBrowser handle the draw of the icons/images w/text? Paul Franz Mike

Re: Custom Cocoa Component/Control

2009-01-21 Thread Paul Franz
Can a custom NSControl/NSCell combo be used in a normal NSView? Paul Franz Scott Ribe wrote: You probably need a custom NSCell subclass, and you'll set that to be the cell class used by the browser. ___ Cocoa-dev mailing list (Coco

Re: Custom Cocoa Component/Control

2009-01-22 Thread Paul Franz
Thanks. I will read that. Paul Franz Shawn Erickson wrote: On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz wrote: Can a custom NSControl/NSCell combo be used in a normal NSView? Yes. This type of question implies you may want to dig a little more deeply in the view documentation. http

Creating Subclass in Core Data

2009-02-22 Thread Paul Franz
to create a new child is bound to the "addChild" method of the NSTreeController. It seems to work. But I have no idea what types of entities are being created. My assumption is that they are of type "AbstractClass". Paul Franz _

Re: De-Mystifying NSCell

2009-03-24 Thread Paul Franz
Kyle, Thank you for an awesome video. Paul Franz Ken Worley wrote: VERY well done and informative. Thanks! Ken On Mar 23, 2009, at 3:10 AM, Kyle Sluder wrote: Hi all, I've noticed recently a few people have posted to the list in a state of uncertainty regarding NSCell, particular

Re: 64-bit iOS

2013-09-12 Thread Paul Franz
ely double size, but > in Java, they are not. > > See “Compressed oops" at > http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html > > > Le 11 sept. 2013 à 00:18, Paul Franz a écrit : > >> Should be interesting to see how