Re: about NSThread crash

2009-06-24 Thread Ken Thomases
On Jun 24, 2009, at 1:49 AM, Chris(吴潮江) wrote: On Jun 24, 2009, at 2:28 AM, Ken Thomases wrote: You probably don't need to use a background thread to do FTP. You can do it using asynchronous methods on the main thread. Since you can, you probably should. It's almost always less error

Screen capture Cocoa framework

2009-06-24 Thread Andy Bell
Hi All, Does anyone know if there is a screen recording Cocoa framework out there? I want to record the screen much like Camtasia studio does on Windows and don't want to reinvent the wheel. Thanks in advance -- Andy AllBabel Software www.allbabel.com Tel: +44 (0)20 8133 2473 Mob: +34 6851300

Re: NSScrollView: special handling of subview's headerView?

2009-06-24 Thread Aaron Burghardt
On Jun 24, 2009, at 12:28 AM, Quincey Morris wrote: Also see: http://codehackers.net/blog/?p=10 Ah, yes, that is precisely the same issue. The behavior is partially described here: http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/Concepts/TableParts.h

Re: Screen capture Cocoa framework

2009-06-24 Thread Jean-Daniel Dupas
Le 24 juin 09 à 11:38, Andy Bell a écrit : Hi All, Does anyone know if there is a screen recording Cocoa framework out there? I want to record the screen much like Camtasia studio does on Windows and don't want to reinvent the wheel. I'm not aware of any OpenSource framework, but I

Creating a 'complex' ArrayController based view.

2009-06-24 Thread Brian Bruinewoud
All, I'm ok with creating a special view for a simple value - that is, a single item. I'm not sure what the best way is to design a view that displays items from an array. For the single item view, the view is based on three values that are bound to the view. (eg: width, height, colour) F

Re: Screen capture Cocoa framework

2009-06-24 Thread Andy Bell
Hi Jean-Daniel, Thanks for that, do you know if it captures the mouse pointer as well? Are there any commercial frameworks? Thanks Andy On Wed, Jun 24, 2009 at 12:37 PM, Jean-Daniel Dupas wrote: > > Le 24 juin 09 à 11:38, Andy Bell a écrit : > > Hi All, >> >> Does anyone know if there is a sc

Re: How apply a mask (xxx-xxx-xxxx for phone #) to a text field while inputting?

2009-06-24 Thread WT
On Jun 23, 2009, at 9:12 AM, Steve Fogel wrote: Hi, all... In my iPhone app I'd like to have a text field that duplicates the behavior of the phone field in the Contacts application, applying a mask to the field as it's being entered. So if the user types 2125551212, I'd like the text fie

Re: display Mac id

2009-06-24 Thread KK
I use this in my CF tool: #include #include #include #include #include #include #include #include #include #include #include - (NSString *)getHWEthernetMAC { NSString *deviceName = @"en0"; // Ethernet device is en0 int mib[6]; size_t len; char *buf; unsigned char *pt

Re: Cocoa and email (SMTP/POP3)

2009-06-24 Thread David Hoerl
Look at the EDMessage class: http://www.mulle-kybernetik.com/software/EDFrameworks/ . You need its sibling class EDCommon too. With that Cocoa framework, you can send email through a SMTP access point using various types of security - it works with .mac and google too. I know these work as I

Confusion about NIB loading

2009-06-24 Thread Chris Idou
I'm trying to load a NIB from my application that exists in a subframework. Since the doco for loadNibNamed:owner: says that it looks in the bundle "associated" with the owner, I'm creating an object of a class that exists in the subframework to pass as the owner. However, it doesn't find the

Re: Confusion about NIB loading

2009-06-24 Thread Rob Keniger
On 24/06/2009, at 11:20 PM, Chris Idou wrote: Since the doco for loadNibNamed:owner: says that it looks in the bundle "associated" with the owner, I'm creating an object of a class that exists in the subframework to pass as the owner. However, it doesn't find the NIB. Am I understanding co

Re: Screen capture Cocoa framework

2009-06-24 Thread I. Savant
On Jun 24, 2009, at 7:47 AM, Andy Bell wrote: Thanks for that, do you know if it captures the mouse pointer as well? Do you really need to ask the list? It's sample code. Compile it, run it, take a screen capture, and see for yourself. Are there any commercial frameworks? Come on n

Re: Screen capture Cocoa framework

2009-06-24 Thread Jean-Daniel Dupas
No, and AFAK, there is no way to capture the cursor. It is not part of the standard video pipeline and it is handle at the hardware level (by the graphic card directly). That said, it should not be difficult to draw a cursor using OpenGL before downloading the frame (in this sample , you may

Re: display Mac id

2009-06-24 Thread Chris Ridd
On 24 Jun 2009, at 13:45, KK wrote: - (NSString *)getHWEthernetMAC { NSString *deviceName = @"en0"; // Ethernet device is en0 Embedding a device name seems a bit odd to me - why not use getifaddrs() and walk the list of actual interfaces? Something like... struct ifaddrs *ifp, *p

Re: Screen capture Cocoa framework

2009-06-24 Thread Andy Bell
On Wed, Jun 24, 2009 at 3:36 PM, I. Savant wrote: > On Jun 24, 2009, at 7:47 AM, Andy Bell wrote: > > Thanks for that, do you know if it captures the mouse pointer as well? >> > > Do you really need to ask the list? It's sample code. Compile it, run it, > take a screen capture, and see for yours

Re: Screen capture Cocoa framework

2009-06-24 Thread I. Savant
On Jun 24, 2009, at 10:26 AM, Andy Bell wrote: I was asking for recommendations not tips on how to use a search engine. Well, you got both. -- I.S. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

Re: Screen capture Cocoa framework

2009-06-24 Thread Michael Ash
On Wed, Jun 24, 2009 at 10:26 AM, Andy Bell wrote: > > I was asking for recommendations not tips on how to use a search engine. Sometimes you get what you need, not what you want. Mike ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Dennis Christopher
Has anyone found a diagramming package that will "reverse engineer" Cocoa code and output a UML diagram from it? Dennis Christopher ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread I. Savant
On Jun 24, 2009, at 11:16 AM, Dennis Christopher wrote: Has anyone found a diagramming package that will "reverse engineer" Cocoa code and output a UML diagram from it? Xcode will make a class diagram (under the "Design" menu). Is that what you're looking for? If not, maybe you should lis

Re: Screen capture Cocoa framework

2009-06-24 Thread Gordon Apple
If you find anything like that, I'd like to know. What I want is a vDig component that could be used with QTBroadcaster that captures frames of the content of a window -- on-screen or off-screen. On 6/24/09 6:30 AM, "cocoa-dev-requ...@lists.apple.com" wrote: > Hi All, > > Does anyone know

Re: UML Diagramming or Other Helpful Software?

2009-06-24 Thread John Velman
I haven't tried it, but it's on my todo list. The other day I ran across ArgoUML at http://argouml.tigris.org/. It runs on "any Java platform". I'd be interested in what you end up using. John Velman On Tue, Jun 23, 2009 at 06:49:18PM -0700, Brad Gibbs wrote: > Hi, > > I'm wondering if there a

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread John Velman
I don't know about UML diagram, but Doxygen can produce diagrams of different types, and can also be used to produce Xcode documentation sets: http://developer.apple.com/tools/creatingdocsetswithdoxygen.html Best, John Velman On Wed, Jun 24, 2009 at 11:16:14AM -0400, Dennis Christopher wrote: >

extending NSSavePanel, how to disable button?

2009-06-24 Thread Eric Slosser
I'm extending NSSavePanel by using an accessory view. The view contains two NSSecureTextFields, to contain the user-typed password and confirmation. I know how to detect when the two password fields don't have identical content, to display a warning string on the dialog, and to prevent the

Re: GC pros and cons

2009-06-24 Thread Quincey Morris
On Jun 24, 2009, at 09:14, Philip Aker wrote: Like Gwynne, I'm comfortable with the traditional "reap what you sow" philosophy. This has benefits in that the basic policy spills over into other areas of programming and gradually, one learns as a matter of habit, to account for things all t

Re: extending NSSavePanel, how to disable button?

2009-06-24 Thread Steve Christensen
I haven't tried myself, but just checking the headers it looks like the closest thing would be to make your controlling class the delegate and then implement either - (BOOL)panel:(id)sender isValidFilename:(NSString *)filename; or - (NSString *)panel:(id)sender userEnteredFilename:(NSString

Re: GC pros and cons

2009-06-24 Thread Bill Bumgarner
On Jun 24, 2009, at 12:51 PM, Quincey Morris wrote: In a nutshell, for folks like me who regularly use CFCreate … CFRelease in loops, what are the benefits of GC? If CFCreate/CFRelease is precisely what you want to do, there are no benefits from GC, because the garbage collector isn't involv

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Jeffrey Oleander
> On Wed, 2009/06/24, I. Savant wrote: > From: I. Savant > Subject: Re: UML Diagramming or Other Helpful Software > To: "Dennis Christopher" > Cc: "cocoa-dev@lists.apple.com" > Date: Wednesday, 2009 June 24, 10:18 >> On 2009 Jun 24, at 11:16, Dennis Christopher wrote: >> Has anyone found a dia

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Dennis Christopher
Jeff, Object and Class diagrams. I need to diagram class relationships, containment, dependency and so on. But the UML symbols et al have to be correct. Dennis On Jun 24, 2009, at 2:24 PM, Jeffrey Oleander wrote: On Wed, 2009/06/24, I. Savant wrote: From: I. Savant Subject: Re: UML Di

Placing an image in the border of NSTextView

2009-06-24 Thread Filip van der Meeren
Hello, I have a question... How can I place an image in the left border of an NSTextView, without causing a move or shift of the text to the right? And keep the image at the height of a given linenumber... Thank you, Filip van der Meeren ___ C

Re: Cocoa and email (SMTP/POP3)

2009-06-24 Thread Jeremy Pereira
Everybody seems to have forgotten that this thread was started by somebody who was attempting to write a mail client of their own, for learning purposes. Therefore, it strikes me as slightly pointless to implement it by scripting to another mail client. The correct way for a mail client

Re: Placing an image in the border of NSTextView

2009-06-24 Thread Kyle Sluder
May I suggest learning about the Cocoa text system? http://developer.apple.com/documentation/Cocoa/Conceptual/TextArchitecture/TextArchitecture.html --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

QTMovieView - control-click vs. right-click give different behavior?

2009-06-24 Thread John C. Daub
Hello. I am using a QTMovieView to play back a movie. I wish for there to be no chance of user interaction with the movie: pure playback. The behavior is window shows, movie auto-plays (QTMovieView takes up the whole of the window content area), when movie is done the window closes. I noticed if

Re: Cocoa and email (SMTP/POP3)

2009-06-24 Thread David Blanton
Look at CFNetwork Programming Guide. See CFWriteStreamRef and CFReadStreamRef. You can write a simple SMTP process in one page of code. Contact me off list if you want some code. db On Jun 24, 2009, at 1:02 PM, Jeremy Pereira wrote: Everybody seems to have forgotten that this threa

Re: QTMovieView - control-click vs. right-click give different behavior?

2009-06-24 Thread John C. Daub
on 6/24/09 2:50 PM, John C. Daub at h...@hsoi.com wrote: > I am using a QTMovieView to play back a movie. I wish for there to be no > chance of user interaction with the movie: pure playback. The behavior is > window shows, movie auto-plays (QTMovieView takes up the whole of the window > content a

icns to Icon\r

2009-06-24 Thread Michael Hanna
Hi all, my goal is to create custom installer icons for a couple of Installer .pkg packages. I'm following the instructions at: http://www.khiltd.com/Downloads/prettypackages.html At the section "Into the Fray" he suggests to use the Finder to generate the Icon\r file for me by doing a Get Info o

IBPlugin embedding question

2009-06-24 Thread Doug Scott
Question: How can I automate the maintenance of embedded IBPlugins. Xcode Version 3.1.3 Interface Builder Version 3.1.2 (677) I have developed a small series of custom IBPlugin framework projects, two of which include other custom IBPlugin objects. Here is a quick overview of the hierarchy.

Re: Placing an image in the border of NSTextView

2009-06-24 Thread Martin Wierschin
How can I place an image in the left border of an NSTextView, without causing a move or shift of the text to the right? May I suggest learning about the Cocoa text system? There's nothing in there that will do what he wants. Any image one adds via the Cocoa text system is going to be a char

Re: IBPlugin embedding question

2009-06-24 Thread WT
Hi Doug, I don't have any experience in designing and implementing IB plugins, but I thought I'd pass along an observation that has served me well on occasions when I needed to make error-prone changes to many similar nib files (well, xib files, actually): xib files are xml files, so they

Re: Screen capture Cocoa framework

2009-06-24 Thread Paul M
On 25/06/2009, at 2:51 AM, Michael Ash wrote: On Wed, Jun 24, 2009 at 10:26 AM, Andy Bell wrote: I was asking for recommendations not tips on how to use a search engine. Sometimes you get what you need, not what you want. Sometimes you get what you ask for, not what you want. paulm ___

Calendar Store- iCal Notifications

2009-06-24 Thread Chris
I know you can use the Calendar Store API to receive notifications if iCal data has changed. Can you use the same API to receive notifications if the ical user has received a notification related to a calDAV account (i.e. new meeting invitations, rejected meeting invitations, etc.). Than

Re: GC pros and cons

2009-06-24 Thread Chris Idou
On Jun 24, 2009, at 09:14, Philip Aker wrote: > Like Gwynne, I'm comfortable with the traditional "reap what you sow" > philosophy. This has benefits in that the basic policy spills over into > other areas of programming and gradually, one >learns as a matter of habit, to account for things

Re: Confusion about NIB loading

2009-06-24 Thread Chris Idou
On 24/06/2009, at 11:20 PM, Chris Idou wrote: >> Since the doco for loadNibNamed:owner: says that it looks in the bundle >> "associated" >> with the owner, I'm creating an object of a class that exists in the >> subframework to pass as the owner. >> >> However, it doesn't find the NIB. Am I und

Re: Confusion about NIB loading

2009-06-24 Thread Kevin Cathey
Alternatively you could use NSNib which allows you to explicitly specify the bundle. In addition, when instantiating the nib using NSNib, you can get the top level objects to send a release message to match the implicit retain. For more info, check out the resource programming guide: http:

Re: Confusion about NIB loading

2009-06-24 Thread Graham Cox
On 25/06/2009, at 10:18 AM, Chris Idou wrote: But loadNibNamed:owner: is a class method, so I can't actually explicitly find the appropriate bundle, and call loadNibNamed: on it to find the right NIB. The doco says that loadNibNamed:owner: will look in the bundle "associated" with the ow

RE: GC pros and cons

2009-06-24 Thread Jeff Laing
> I think it depends what language you weaned yourself on. If you've used Lisp > or some other > functional language, manual reclamation is an unthinkable monstrosity. If you > weaned yourself > on C or similar languages, manual reclamation seems like the default state of > play. Its also going

Re: display Mac id

2009-06-24 Thread Stephen Blinkhorn
Hi Laurent, On 24 Jun 2009, at 00:58, Laurent Cerveau wrote: //now we get the data and do something with them macAddressData = (CFDataRef) IORegistryEntryCreateCFProperty ( controllerService,CFSTR(kIOMACAddress), kCFAllocatorDefault, 0); does macAddressData now contain the raw bytes to a s

Re: GC pros and cons

2009-06-24 Thread Stephen J. Butler
On Wed, Jun 24, 2009 at 7:40 PM, Jeff Laing wrote: > http://www.simple-talk.com/dotnet/.net-framework/understanding-garbage-collection-in-.net/ > > (Yes, I do .NET as well as Cocoa) > > No real surprises there, except for the closing paragraphs which can be > paraphrased down to "If you need memor

RE: GC pros and cons

2009-06-24 Thread Jeff Laing
> Well, no, that's not a good summary of the last couple paragraphs. IF > YOU HAVE A FINALIZER, then you should probably be using the Unless you peer into the implementation details of your superclasses, you should assume that all classes may have a finalizer. Unless you don't care about every l

Watch for a file

2009-06-24 Thread Tom Jones
I'm trying to use NSNotification to watch for a file but I can not seem to get it to work. Is it possible to use NSNotification to watch for a specific file on the file system? One example would be to run a method once the file shows up on the filesystem. Thanks, tom __

Re: Watch for a file

2009-06-24 Thread Graham Cox
On 25/06/2009, at 12:26 PM, Tom Jones wrote: k. Is it possible to use NSNotification to watch for a specific file on the file system? No. There are other ways however - search the documentation for "folder watching" and "kqueue". Uli Kusterer has a small easy-to-use class for this - UK

Re: Confusion about NIB loading

2009-06-24 Thread Rob Keniger
On 25/06/2009, at 10:18 AM, Chris Idou wrote: But loadNibNamed:owner: is a class method, so I can't actually explicitly find the appropriate bundle, and call loadNibNamed: on it to find the right NIB. The doco says that loadNibNamed:owner: will look in the bundle "associated" with the ow

Re: GC pros and cons

2009-06-24 Thread Peter Ammon
On Jun 24, 2009, at 6:02 PM, Stephen J. Butler wrote: On Wed, Jun 24, 2009 at 7:40 PM, Jeff Laing wrote: http://www.simple-talk.com/dotnet/.net-framework/understanding-garbage-collection-in-.net/ (Yes, I do .NET as well as Cocoa) No real surprises there, except for the closing paragraphs wh

Re: Watch for a file

2009-06-24 Thread Rob Keniger
On 25/06/2009, at 12:38 PM, Graham Cox wrote: No. There are other ways however - search the documentation for "folder watching" and "kqueue". Uli Kusterer has a small easy-to-use class for this - UKKQueue. I'd also recommend Stu Connolly's SCEvents class: http://stuconnolly.com/blog/s

Re: Confusion about NIB loading

2009-06-24 Thread Kyle Sluder
On Wed, Jun 24, 2009 at 6:20 AM, Chris Idou wrote: > Since the doco for loadNibNamed:owner: says that it looks in the bundle > "associated" > with the owner, I'm creating an object of a class that exists in the > subframework to pass as the owner. In the context of your application, are the clas

Re: GC pros and cons

2009-06-24 Thread Kyle Sluder
On Wed, Jun 24, 2009 at 7:55 PM, Peter Ammon wrote: > Microsoft even says that all objects must be robust against being Dispose()d > multiple times, which smacks of sloppiness.  If your program disposes of an > object twice, then it is structured so that independent usages of the object > are not c

Re: GC pros and cons

2009-06-24 Thread Stephen J. Butler
On Wed, Jun 24, 2009 at 8:19 PM, Jeff Laing wrote: > Unless you peer into the implementation details of your superclasses, you > should assume that all classes may have a finalizer. Unless you don't care > about every last little piece of performance. I don't understand your point. If the superc

Re: Watch for a file

2009-06-24 Thread Tom Jones
Thanks Graham. I downloaded Uli's class but I dont see any example code. By any chance do you have a quick example? Thanks, tom - Original Message - From: "Graham Cox" To: "Tom Jones" Cc: cocoa-dev@lists.apple.com Sent: Wednesday, June 24, 2009 7:38:54 PM GMT -08:00 US/Canada Pacific

Re: GC pros and cons

2009-06-24 Thread Quincey Morris
On Jun 24, 2009, at 18:19, Jeff Laing wrote: Unless you peer into the implementation details of your superclasses, you should assume that all classes may have a finalizer. Unless you don't care about every last little piece of performance. In my day app, we regularly cache hundreds of tho

Re: Watch for a file

2009-06-24 Thread Tom Jones
Thanks Rob. This works great and if Stu is on this list great class! tom - Original Message - From: "Rob Keniger" To: "cocoa-dev Dev" Sent: Wednesday, June 24, 2009 7:57:21 PM GMT -08:00 US/Canada Pacific Subject: Re: Watch for a file On 25/06/2009, at 12:38 PM, Graham Cox wrote: >

Re: Watch for a file

2009-06-24 Thread Graham Cox
On 25/06/2009, at 1:25 PM, Tom Jones wrote: Thanks Graham. I downloaded Uli's class but I dont see any example code. By any chance do you have a quick example? Thanks, tom Sure. In some object that wants to respond to changes to a folder: myUKQ = [[UKKQueue alloc] init];

Quick DO endian question

2009-06-24 Thread Michael Vannorsdel
Do messages to remote proxies (a vended DO object) need to have their arguments adjusted for endianness or does DO handle that on its own? ie: [rootProxy myNumberIs:someInt32]; would I need to standardize alignment in the above or leave it alone. __

Re: display Mac id

2009-06-24 Thread Finlay Dobbie
On Tue, Jun 23, 2009 at 8:04 AM, Kiran Kumar wrote: > Hi all, > > i am doing project to change MAC Address ,i want to display MACID in > a single textbox like 00:15:e9:4c:c3:d7 > > or 00-15-e9-4c-c3-d7 can any one help me plz ... Apple has sample code for this: http://developer.apple.com/sampleco

Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Chunk 1978
i've seen code where this is written: -=-=-=- @property (nonatomic, retain) UIImageView *image; ... @synthisize image; ... [image release];//in dealloc method -=-=-=- aren't setters/getters methods used only for objects that need to have their value changed? assuming the UIImageView in the a

Application Support Folder

2009-06-24 Thread Anthony Smith
I'm beginning to delve into Core Data and I've been looking at the generated code for the Xcode Core Data project. I'm finding their implementation of -applicationSupportFolder interesting. They grab the NSApplicationSupportDirectory using NSSearchPathForDirectoriesInDomains, which makes se

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Alfonso Urdaneta
John Velman wrote: I don't know about UML diagram, but Doxygen can produce diagrams of different types, and can also be used to produce Xcode documentation sets: http://developer.apple.com/tools/creatingdocsetswithdoxygen.html seconded. uml is crap anyway. -- alfonso e. urdaneta red82.com - a

Hide Interface Builder Object?

2009-06-24 Thread Chunk 1978
i have a simple black NSView that is positioned the top index level of the main view, covering all other visual elements in IB. it's purpose is to fade out, so the view appears to fade in. i have to often move it out of the way, and i also set it to hidden (then change it to not hidden at launch)

Re: GC pros and cons

2009-06-24 Thread Chris Idou
On Jun 24, 2009, at 18:19, Jeff Laing wrote: > we regularly cache hundreds of thousands of objects from a persistent > (relational) store and it is absolutely critical to us that the instant that > those objects aren't required, they give their > memory back - that's how we can run in a machine

RE: GC pros and cons

2009-06-24 Thread Jeff Laing
> 1. If your objects use (scarce) resources that are not themselves > subject to GC (file handles, network connections, whatever), you'd be [snip] > 2. If you expect objects to be returned to the free memory pool "the > instant that those objects aren't required" then GC isn't going to > satisfy yo

Re: Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Graham Cox
On 24/06/2009, at 1:45 PM, Chunk 1978 wrote: aren't setters/getters methods used only for objects that need to have their value changed? assuming the UIImageView in the above code always maintains the same image throughout the program, are setter and getters still required? perhaps the above

Re: Hide Interface Builder Object?

2009-06-24 Thread Graham Cox
On 25/06/2009, at 10:47 AM, Chunk 1978 wrote: i have a simple black NSView that is positioned the top index level of the main view, covering all other visual elements in IB. it's purpose is to fade out, so the view appears to fade in. i have to often move it out of the way, and i also set it

Re: Application Support Folder

2009-06-24 Thread Kyle Sluder
On Tue, Jun 23, 2009 at 9:02 PM, Anthony Smith wrote: > If count is not greater than 0 then it returns an NSTemporaryDirectory. > What's the point? Is that check really necessary? Will there ever be an > instance where NSSearchPathForDirectoriesInDomains will not return the > NSApplicationSupportDi

Re: Quick DO endian question

2009-06-24 Thread Michael Ash
On Wed, Jun 24, 2009 at 11:43 PM, Michael Vannorsdel wrote: > Do messages to remote proxies (a vended DO object) need to have their > arguments adjusted for endianness or does DO handle that on its own? > > ie: > > [rootProxy myNumberIs:someInt32]; > > would I need to standardize alignment in the a

Re: Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Michael Ash
On Tue, Jun 23, 2009 at 11:45 PM, Chunk 1978 wrote: > i've seen code where this is written: > > -=-=-=- > @property (nonatomic, retain) UIImageView *image; > ... > @synthisize image; > ... > [image release];    //in dealloc method > -=-=-=- > > aren't setters/getters methods used only for objects t

Re: GC pros and cons

2009-06-24 Thread Marcel Weiher
On Jun 24, 2009, at 11:00 , Bill Bumgarner wrote: On Jun 24, 2009, at 12:51 PM, Quincey Morris wrote: In a nutshell, for folks like me who regularly use CFCreate … CFRelease in loops, what are the benefits of GC? If CFCreate/CFRelease is precisely what you want to do, there are no benefit

Re: GC pros and cons

2009-06-24 Thread Greg Titus
On Jun 24, 2009, at 10:38 PM, Marcel Weiher wrote: On Jun 24, 2009, at 11:00 , Bill Bumgarner wrote: On Jun 24, 2009, at 12:51 PM, Quincey Morris wrote: In a nutshell, for folks like me who regularly use CFCreate … CFRelease in loops, what are the benefits of GC? If CFCreate/CFRelease is

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Philip Mötteli
Am 24.06.2009 um 17:16 schrieb Dennis Christopher: Has anyone found a diagramming package that will "reverse engineer" Cocoa code and output a UML diagram from it? OmniGraffle, Xcode and Visual-Paradigm. ___ Cocoa-dev mailing list (Cocoa-dev@list

Design for custom tableviewcell button action

2009-06-24 Thread Bryan Hansen
I'd like to add a custom button to my own custom tableview subclass that will perform an action on the tableviewcontroller class. This is pretty much identical to the way accessoryviews call a method on the tableviewdelegate when it is tapped. The difference is it will be my own button plac