Re: NSCell subclassing nightmares

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 8:10 PM, Chase Meadors wrote: > Well, in the montage of problems that arose from this, I found out more > about how cells work, but I'm still confused. It took me forever to discover > that the weird problems with bindings I was experiencing stemmed from the > fact that ther

Re: Objective C Compiler Settings

2009-06-28 Thread Gerriet M. Denkmann
On 29 Jun 2009, at 07:10, Graham Cox wrote: On 29/06/2009, at 9:18 AM, Michael Ash wrote: On Sun, Jun 28, 2009 at 4:12 PM, Tommy Nordgren wrote: Are there any compiler flags you can provide when compiling Objective C code, that causes an exception to be triggered when a category implements

Re: Tool-tips on NSTabViewItem

2009-06-28 Thread Andrew Farmer
On 26 Jun 2009, at 08:01, PKameo wrote: How do you add a tool-tip to a NSTabViewItem? I tried the following, but that didn't work right. [[tabViewItem view] setToolTip:toolTip]; //Where tabViewItem is of type NSTabViewItem* and toolTip is of type NSString* [tabViewItem view] returns the conte

Re: NSCell subclassing nightmares

2009-06-28 Thread Graham Cox
On 29/06/2009, at 1:10 PM, Chase Meadors wrote: Well, in the montage of problems that arose from this, I found out more about how cells work, but I'm still confused. It took me forever to discover that the weird problems with bindings I was experiencing stemmed from the fact that there is

Re: Dispose pattern (was: Re: GC pros and cons)

2009-06-28 Thread Stephen J. Butler
On Sun, Jun 28, 2009 at 10:50 AM, Konrad Neitzel wrote: > But a garbage collector must be able to detect an object which memory can / > must be released. And for all this, the system has to do some work. > > I still have to read much more about the GC used within Objective-C / Cocoa > so I am not

Re: NSCell subclassing nightmares

2009-06-28 Thread Quincey Morris
On Jun 28, 2009, at 20:10, Chase Meadors wrote: I'm making a custom cell that will 'animate' in a sense. Each of these cells holds an NSTimer. The object value sets a bool that determines whether the code inside the timer's method is executed or not. The code in this method simply increment

Re: NSImageView/NSImage question

2009-06-28 Thread Graham Cox
On 28/06/2009, at 5:36 PM, Marco S Hyman wrote: I'd like to get the path of the file containing the data used to create an NSImage when that images is dragged onto an NSImageView. I think I stated that correctly. Is it possible? If so a pointer to the appropriate doc would be appreciated. L

Re: Intersection of CGPath and CGRect

2009-06-28 Thread Graham Cox
On 28/06/2009, at 4:43 AM, Martin Hewitson wrote: Does anyone know a good way to test if a CGPathRef intersects a CGRect at any point? This can be a hard problem. First, naturally discard the trivial case of the bounding rect of the path not intersecting the rect you're testing. The furt

Re: NSTableView -setDataCell confusion

2009-06-28 Thread Quincey Morris
On Jun 27, 2009, at 13:18, Chase Meadors wrote: I'm using AMIndeterminateProgressIndicatorCell (at least the drawing code) to imitate a progress indicator in the table view. To get it to use the custom cell, I've been calling [myTableColumn setDataCell:[[MyCustomClass alloc] init]]; Howeve

Re: Force NSTextField to update (and transform)

2009-06-28 Thread mmalc Crawford
On Jun 26, 2009, at 5:37 AM, Michał Glenc wrote: I'm a beginner in Cocoa world and I have some problems with bindings, NSValueTransformer etc. Cocoa bindings is not a beginner technology. You are encouraged to gain some experience with Cocoa before using bindings. My application perform

[MEET] July CocoaHeads Mac Developer Meetings

2009-06-28 Thread Stephen Zyszkiewicz
Greetings, CocoaHeads is an international Mac programmer's group. Meetings are free and open to the public. We specialize in Cocoa, but everything Mac programming related is welcome. Upcoming meetings: Australia Brisbane- Wednesday, July 15, 2009 19:00. Canada Toronto- Tuesday, July 14, 20

NSCell subclassing nightmares

2009-06-28 Thread Chase Meadors
I never dreamed such a task could cause such difficulty! I'm making a custom cell that will 'animate' in a sense. Each of these cells holds an NSTimer. The object value sets a bool that determines whether the code inside the timer's method is executed or not. The code in this method simply

NSRuleEditor

2009-06-28 Thread Loukas Kalenderidis
There's no sample code for NSRuleEditor, right? Or am I missing something? I saw someone ask this on a list last year and the answer was "no, but I've got a sample I can send you" - does anyone have anything they're willing to share? I remember seeing in the "companion guides" section of

Re: Dispose patern (was: Re: GC pros and cons)

2009-06-28 Thread Konrad Neitzel
Thomas Davie schrieb am 28.06.2009 18:07:04: > On 28 Jun 2009, at 17:47, Konrad Neitzel wrote: > > But a garbage collector must be able to detect an object which > > memory can / must be released. And for all this, the system has to > > do some work. > As must your program do if it keeps tra

Dispose pattern (was: Re: GC pros and cons)

2009-06-28 Thread Konrad Neitzel
Hi all! Thomas Davie schrieb am 27.06.2009 09:56:31: > On 27 Jun 2009, at 01:27, James Gregurich wrote: > > GC isn't nirvana. it does have its perils and issues, and you have > > to be aware of them and code around them. You can't just turn it on > > and some how everything magically works.

Re: [bulk]: Re: GC pros and cons

2009-06-28 Thread Konrad Neitzel
Graham Cox schrieb am 27.06.2009 05:13:37: > Using GC may mean you can avoid even that small degree of necessary > care, but the ownership rules are straightforward, easily learned and > committed to mind, and are hardly arcane or arbitrary - they are > simple and logical. I'd really rather

NSImageView/NSImage question

2009-06-28 Thread Marco S Hyman
I'd like to get the path of the file containing the data used to create an NSImage when that images is dragged onto an NSImageView. I think I stated that correctly. Is it possible? If so a pointer to the appropriate doc would be appreciated. Looking through the doc it seems that an image will

NSTableView -setDataCell confusion

2009-06-28 Thread Chase Meadors
I'm using AMIndeterminateProgressIndicatorCell (at least the drawing code) to imitate a progress indicator in the table view. To get it to use the custom cell, I've been calling [myTableColumn setDataCell:[[MyCustomClass alloc] init]]; However, I've run into a 'slight' problem. Apparently, A

Intersection of CGPath and CGRect

2009-06-28 Thread Martin Hewitson
Hi, Does anyone know a good way to test if a CGPathRef intersects a CGRect at any point? Thanks, Martin Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 3016

Synchronization across plug-ins loaded by different processes

2009-06-28 Thread Chris Arnaiz
Hi, I'm new to Mac programming (and software engineering in general), so I apologize in advance if my terminology is wrong. I'm currently developing a plug-in (a Print Dialog Extension to be exact) and wanted to make sure only one instance of the plug-in is allowed to be in "editing mode" f

How to get a fully transparent hit-testable window?

2009-06-28 Thread Pranav Goel
Hi I am writing a Cocoa application which has a WebView in a NSWindow. I want to be able to put this window onscreen and have it be completely transparent i.e. nothing should be drawn on the screen. But I still want the WebView to respond to mouse input when a mouse action happens within its win

Re: Hiding a running application

2009-06-28 Thread Carl Harris
My app does some processing at quit time that can take a few minutes, so I thought it would be nice to remove the gui from the user¹s attention I deal with a similar situation by using a helper application, configured as a launch agent. The helper program is configured to be launched auto

Tool-tips on NSTabViewItem

2009-06-28 Thread PKameo
How do you add a tool-tip to a NSTabViewItem? I tried the following, but that didn't work right. [[tabViewItem view] setToolTip:toolTip]; //Where tabViewItem is of type NSTabViewItem* and toolTip is of type NSString* Thanks, -Peter ___ Cocoa-dev mail

Force NSTextField to update (and transform)

2009-06-28 Thread Michał Glenc
Hi, I'm a beginner in Cocoa world and I have some problems with bindings, NSValueTransformer etc. My application performs basic currency transforming. I have two NSComboBoxes (where I change currency) and two NSTextFields. Everything works fine, the values get transformed. However, when I

Re: Positioning document within gray area of a scroller

2009-06-28 Thread Graham Cox
On 29/06/2009, at 9:56 AM, Graham Cox wrote: If the view that is inside the scroll view is overridden to return YES for -isFlipped, it will pin to the upper left and not the lower left. By the way, I have noticed at times that sometimes after setting this up in IB, the scrollview isn't

Re: 10.4 & 10.5 compatibility

2009-06-28 Thread Stephen Blinkhorn
OK, many thanks for the tips Steve. On 28 Jun 2009, at 19:07, Steve Christensen wrote: On Jun 28, 2009, at 5:09 PM, Stephen Blinkhorn wrote: I have just noticed that some standard Cocoa objects look very different on 10.4 compared to 10.5. In particular NSPopUpMenu and NSButton objects ar

Re: GC pros and cons

2009-06-28 Thread Chris Idou
From: James Gregurich > 3) I don't allow exceptions of any kind to propagate into alien > codeparticularly the cocoa runtime. Given that Objective-C doesn't have declared exceptions (like Java), it seems more likely that you "hope" exceptions are not

Re: UITextView symbols

2009-06-28 Thread Andrew Farmer
On 27 Jun 2009, at 16:26, DKJ wrote: I'm using this method: textView:shouldChangeTextInRange:replacementText: to let users put special symbols into a UITextView. I detect the Return key by checking whether the input string is equal to @"\n". But how would I detect the back-delete key? @"\b"

Re: UITableViewCells

2009-06-28 Thread mmalc Crawford
On Jun 28, 2009, at 3:00 PM, William Squires wrote: A few suggestions: // Configure the cell. HighScoreSamplerAppDelegate *appDelegate = (HighScoreSamplerAppDelegate *)[[UIApplication sharedApplication] delegate]; This particular situation may be a debatable case, but to make a point

Re: 10.4 & 10.5 compatibility

2009-06-28 Thread Steve Christensen
On Jun 28, 2009, at 5:09 PM, Stephen Blinkhorn wrote: I have just noticed that some standard Cocoa objects look very different on 10.4 compared to 10.5. In particular NSPopUpMenu and NSButton objects are being drawn as much larger controls on 10.4 (rounded rect style, mini size). I am cre

Re: GC pros and cons

2009-06-28 Thread mmalc Crawford
On Jun 28, 2009, at 4:40 PM, Michael Ash wrote: Doesn't take any experience, just a bit of reading. I'd recommend that all participants in this thread read the Garbage Collection Programming Guide top to bottom before continuing any further This article:

Re: Problem with Service and PasteBoards

2009-06-28 Thread mmalc Crawford
On Jun 27, 2009, at 10:13 AM, Guillem Palou wrote: It's not clear what you're trying to achieve. Are you invoking the service from the same application that provides it? NSReturnTypes dictionaryPBoardType

Re: GC pros and cons

2009-06-28 Thread Clark Cox
On Sun, Jun 28, 2009 at 4:32 PM, Quincey Morris wrote: > On Jun 28, 2009, at 16:12, Michael Ash wrote: > >> Your way sounds sensible, but according to the docs that's not how it is. > > We'll have to wait for b.bum to adjudicate, since the docs contradict what > he said earlier: > > On Sat, Jun 27,

Re: UITextView symbols

2009-06-28 Thread WT
On 28/06/2009, at 9:26 AM, DKJ wrote: I detect the Return key by checking whether the input string is equal to @"\n". But how would I detect the back-delete key? @"\b" doesn't do it. And I can't seem to find any docs that list these codes. Have you tried to use the NSString method -init

Re: UITableViewCells

2009-06-28 Thread mmalc Crawford
On Jun 28, 2009, at 3:41 PM, WT wrote: -section and -row are defined in an extension to NSIndexPath. See here: This is not correct -- they're defined in a *category* of NSIndexPath -- see /$Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/ System/Library/Frameworks/UIK

Re: UITableViewCells

2009-06-28 Thread mmalc Crawford
On Jun 28, 2009, at 3:41 PM, WT wrote: -section and -row are defined in an extension to NSIndexPath. See here: This is not correct -- they're defined in a *category* of NSIndexPath -- see /$Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/ System/Library/Frameworks/UIK

10.4 & 10.5 compatibility

2009-06-28 Thread Stephen Blinkhorn
Hello all, I have just noticed that some standard Cocoa objects look very different on 10.4 compared to 10.5. In particular NSPopUpMenu and NSButton objects are being drawn as much larger controls on 10.4 (rounded rect style, mini size). I am creating xib files via IB on Leopard. Also

Re: Objective C Compiler Settings

2009-06-28 Thread Graham Cox
On 29/06/2009, at 9:18 AM, Michael Ash wrote: On Sun, Jun 28, 2009 at 4:12 PM, Tommy Nordgren> wrote: Are there any compiler flags you can provide when compiling Objective C code, that causes an exception to be triggered when a category implements a method that is already implemented in th

Re: Positioning document within gray area of a scroller

2009-06-28 Thread Graham Cox
On 29/06/2009, at 7:28 AM, Development wrote: We are working on a document based application which displays the document view within a scroller area. Like most similar programs, the user can zoom in and out off the document (ie. we change the view size of the document view). If he zooms

Re: GC pros and cons

2009-06-28 Thread Bill Bumgarner
On Jun 28, 2009, at 6:32 PM, Quincey Morris wrote: On Jun 28, 2009, at 16:12, Michael Ash wrote: Your way sounds sensible, but according to the docs that's not how it is. We'll have to wait for b.bum to adjudicate, since the docs contradict what he said earlier: bbum is currently on vacatio

Re: GC pros and cons

2009-06-28 Thread Michael Ash
On Sun, Jun 28, 2009 at 7:33 PM, Peter Duniho wrote: > Maybe I'm misreading one, or the other, or both of your messages, but it > seems to me that what Quincy wrote is in agreement with what you quoted. > > In particular, my (admittedly inexperienced) understanding is that an object > winds up "in

Re: GC pros and cons

2009-06-28 Thread Peter Duniho
On Jun 28, 2009, at 4:12 PM, Michael Ash wrote: On Sun, Jun 28, 2009 at 1:17 PM, Quincey Morris wrote: I think the answer is in Bill's "entirely", above. Without CFMakeCollectable, the final CFRetain will trigger the calling of (a hypothetical) CFDispose with the traditional timing (i.e. i

Re: GC pros and cons

2009-06-28 Thread Quincey Morris
On Jun 28, 2009, at 16:12, Michael Ash wrote: Your way sounds sensible, but according to the docs that's not how it is. We'll have to wait for b.bum to adjudicate, since the docs contradict what he said earlier: On Sat, Jun 27, 2009 at 9:47 PM, Bill Bumgarner wrote: When a CF object is

Re: Docs warning unclear

2009-06-28 Thread WT
On Jun 29, 2009, at 1:06 AM, DKJ wrote: Well, it's unclear to me anyway. << Warning: If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive this message. If you insert or add a view to the view hierarchy, and it has a view co

Re: Objective C Compiler Settings

2009-06-28 Thread Michael Ash
On Sun, Jun 28, 2009 at 4:12 PM, Tommy Nordgren wrote: > Are there any compiler flags you can provide when compiling Objective C > code, > that causes an exception to be triggered when a category implements a method > that is already implemented in the target class? Not an exception, but you can g

Re: GC pros and cons

2009-06-28 Thread Michael Ash
On Sun, Jun 28, 2009 at 1:17 PM, Quincey Morris wrote: > I think the answer is in Bill's "entirely", above. > > Without CFMakeCollectable, the final CFRetain will trigger the calling of (a > hypothetical) CFDispose with the traditional timing (i.e. immediately, we > assume, somewhat at our peril).

Docs warning unclear

2009-06-28 Thread DKJ
Well, it's unclear to me anyway. << Warning: If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive this message. If you insert or add a view to the view hierarchy, and it has a view controller, you should send the associated v

Exit fullscreen with fade

2009-06-28 Thread Mirko Viviani
Hi, I use an empty window for fullscreen mode using SetSystemUIMode to hide all system widgets and screen fade. This code used for entering fullscreen mode causes no problems at all, but using to exit fullscreen produce a strange behaviour. When I close the window and set the system UI mode

Re: UITableViewCells

2009-06-28 Thread WT
On Jun 29, 2009, at 12:00 AM, William Squires wrote: Question 1: Looking in the debugger, I can see the argument "indexPath" is not nil, but there's no "row" property shown by the debugger when I expand it. Why didn't I get an exception for "indexPath does not respond to selector 'row'"?

Re: Positioning document within gray area of a scroller

2009-06-28 Thread Quincey Morris
On Jun 28, 2009, at 14:28, Development wrote: We are working on a document based application which displays the document view within a scroller area. Like most similar programs, the user can zoom in and out off the document (ie. we change the view size of the document view). If he zooms o

Re: Positioning document within gray area of a scroller

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 2:28 PM, Development wrote: > Has anyone been able to program this? Try subclassing the NSScrollView's NSClipView. I imagine the strategy is quite similar to the one used when centering the document view within the scroll view: http://www.cocoadev.com/index.pl?CenteringIns

Re: SOLUTION Placement of window using interface builder on different size displays

2009-06-28 Thread Development
On Jun 28, 2009, at 5:01 PM, Development wrote: Surely this is a simple way of doing this? (Yes, and don't call me Shirley). We are creating a document based application that has various inspector panels that need to come up in exact position when the user first starts the application.

Re: Interface Builder Questions...

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 2:54 PM, Quincey Morris wrote: > The (philosophical) question is: what are you doing that makes it important > to know the window size as you're dragging the window? Why do you care what > the numerical window size is, when the correct answer is "whatever makes the > window

UITableViewCells

2009-06-28 Thread William Squires
Two questions here. I have the following code in the tableView:cellForRowAtIndexPath: method: - (UITableViewCell *)tableView:(UITableView *)tableView callForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableVIewCell *cell = [tableView dequeueReus

Re: Interface Builder Questions...

2009-06-28 Thread Quincey Morris
On Jun 28, 2009, at 13:32, Phil Hystad wrote: So, are you telling me that everyone else can see dynamic changes to these height and width pixel values but I can't? No, other than the layout numbers that show up when you hold down the Option key while dragging, as Kyle pointed out, no one's

Positioning document within gray area of a scroller

2009-06-28 Thread Development
We are working on a document based application which displays the document view within a scroller area. Like most similar programs, the user can zoom in and out off the document (ie. we change the view size of the document view). If he zooms out enough, our document view becomes smaller t

Placement of window using interface builder on different size displays

2009-06-28 Thread Development
Surely this is a simple way of doing this? (Yes, and don't call me Shirley). We are creating a document based application that has various inspector panels that need to come up in exact position when the user first starts the application. Most importantly, there are several windows that

Re: Interface Builder Questions...

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 1:21 PM, Joar Wingfors wrote: > You should be able to set the class of view used in the identity inspector, > or replace the content view of the window at runtime, just like for all > other views. Seems icky to me, particularly when dealing with normal/textured/HUD windows.

Re: Interface Builder Questions...

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 1:32 PM, Phil Hystad wrote: > So, are you telling me that everyone else can see dynamic changes to these > height and width pixel values but I can't?  I would submit that it is a > little early to submit a bug report -- certainly there must be something I > am not doing righ

Re: Interface Builder Questions...

2009-06-28 Thread Dave Carrigan
On Jun 28, 2009, at 1:32 PM, Phil Hystad wrote: So, are you telling me that everyone else can see dynamic changes to these height and width pixel values but I can't? Enhancement requests and bug reports are both submitted to the same place. This would be an enhancement request. -- Dave

Re: Interface Builder Questions...

2009-06-28 Thread Phil Hystad
(3) Again, on the window sizing inspector, if I resize the window using the resize thingy in the lower right hand corner, I can see the updated pixel size in the inspector, but only after I stop resizing. If I want to resize to a particular dimension, say 300 x 225 (or, whatever), it is a

Re: Interface Builder Questions...

2009-06-28 Thread Joar Wingfors
On 28 jun 2009, at 13.05, Kyle Sluder wrote: On Sun, Jun 28, 2009 at 12:59 PM, Phil Hystad wrote: (1) The default Cocoa Application created by Xcode creates a simple application with a single window and a default menu (among other things I presume). This window has a content view which I a

Re: Dispose patern (was: Re: GC pros and cons)

2009-06-28 Thread Joar Wingfors
On 28 jun 2009, at 10.34, Thomas Davie wrote: Again, IDisposable in C# has nothing to do with early destruction/deallocation of the object. It's purpose to is perform explicit cleanup of external resources, resources not managed by the GC system. For example: file handles, sockets, OS system ha

Objective C Compiler Settings

2009-06-28 Thread Tommy Nordgren
Are there any compiler flags you can provide when compiling Objective C code, that causes an exception to be triggered when a category implements a method that is already implemented in the target class? --- See the amazing new SF reel: Invasion of the man eatin

Re: Interface Builder Questions...

2009-06-28 Thread Kyle Sluder
On Sun, Jun 28, 2009 at 12:59 PM, Phil Hystad wrote: > (1)  The default Cocoa Application created by Xcode creates a simple > application with a single window and a default menu (among other things I > presume).  This window has a content view which I am assuming is an instance > of NSView but I ac

Interface Builder Questions...

2009-06-28 Thread Phil Hystad
I am new to Interface Builder and I am still trying to figure out some subtle details of how things work. And, my frustration level is growing because although I have access to a very rich set of documentation, a number of questions I have pondered are not answered. Some of these may be r

Re: UITextView symbols

2009-06-28 Thread DKJ
On 28-Jun-09, at 5:13 , Graham Cox wrote: Surely it would make more sense to trap these keys on the input side - in other words override the event handlers that get called to handle these keys before they process the text data. I don't know how to do this. As far as I can tell, UIEvent doe

Re: Dispose patern (was: Re: GC pros and cons)

2009-06-28 Thread Thomas Davie
On 28 Jun 2009, at 19:27, Stephen J. Butler wrote: On Sun, Jun 28, 2009 at 11:06 AM, Thomas Davie wrote: On 28 Jun 2009, at 17:47, Konrad Neitzel wrote: I still have to read much more about the GC used within Objective- C / Cocoa so I am not sure, if I am not writing some kind of "bullshit

Re: Dispose patern (was: Re: GC pros and cons)

2009-06-28 Thread Stephen J. Butler
On Sun, Jun 28, 2009 at 11:06 AM, Thomas Davie wrote: > On 28 Jun 2009, at 17:47, Konrad Neitzel wrote: >> I still have to read much more about the GC used within Objective-C / >> Cocoa so I am not sure, if I am not writing some kind of "bullshit" from >> your view: >> >> Isn't it possible to simpl

Re: GC pros and cons

2009-06-28 Thread Quincey Morris
On Jun 28, 2009, at 04:39, Michael Ash wrote: On Sat, Jun 27, 2009 at 9:47 PM, Bill Bumgarner wrote: When a CF object is created, it is CFRetain()ed and, thus, the collector will ignore it. If it is then managed entirely through a balanced set of CFRelease() and CFRetain() calls, it'll wo

Re: Dispose patern (was: Re: GC pros and cons)

2009-06-28 Thread Thomas Davie
On 28 Jun 2009, at 17:47, Konrad Neitzel wrote: Thomas Davie schrieb am 27.06.2009 09:56:31: On 27 Jun 2009, at 01:27, James Gregurich wrote: GC isn't nirvana. it does have its perils and issues, and you have to be aware of them and code around them. You can't just turn it on and some ho

Re: Base SDK and deployment target Q

2009-06-28 Thread Steve Christensen
Building against the 10.4 SDK should root out any 10.5-only method calls or classes at -compile- time, giving you an opportunity to check that you're doing the appropriate runtime check before using them. It will not particularly help you at runtime. And as I recall, those method calls show

[ANN] CocoaREST - Cocoa library for RESTful services

2009-06-28 Thread Steven Degutis
Hey all, I recently released the source code to CocoaREST under a BSD-style license. Basically it's a Cocoa library that lets developers interact with RESTful services quite easily. (Emphasis is on ease of use!) Right now Twitter is the main supported service, but support for many more services are

Re: UITextView symbols

2009-06-28 Thread Graham Cox
On 28/06/2009, at 9:26 AM, DKJ wrote: I detect the Return key by checking whether the input string is equal to @"\n". But how would I detect the back-delete key? @"\b" doesn't do it. And I can't seem to find any docs that list these codes. Surely it would make more sense to trap these ke

Re: GC pros and cons

2009-06-28 Thread Michael Ash
On Sat, Jun 27, 2009 at 9:47 PM, Bill Bumgarner wrote: > On Jun 27, 2009, at 8:38 PM, Michael Ash wrote: >> >> (And I only say "almost" because I can only assume there's a corner >> case out there somewhere with CoreFoundation-using code, since CF >> objects are also garbage collected, but I am not