Re: NSTableView Drag-Drop re-ordering...

2008-11-25 Thread mmalcolm crawford
On Nov 25, 2008, at 11:26 PM, Jean-Nicolas Jolivet wrote: I'm pretty sure this has been covered before, however I can't find any good examples on how to implement it??

Re: How to tell if app launched via login item (versus manual launch)

2008-11-25 Thread Ken Thomases
On Nov 26, 2008, at 12:38 AM, Mark Aufflick wrote: I'm wondering if it's possible to tell if my application was launched normally by the user, or if it was launched by virtue of being in the login items. You need to look up the Apple Event that is current at the time of your application's la

NSTableView Drag-Drop re-ordering...

2008-11-25 Thread Jean-Nicolas Jolivet
I'm pretty sure this has been covered before, however I can't find any good examples on how to implement it?? Right now my NSTableView is hooked to a subclass of NSArrayController, and it supports files getting dropped on it.. (basically the NSTableView displays files dropped from the finde

Re: How to tell if app launched via login item (versus manual launch)

2008-11-25 Thread Michael Watson
What are you actually trying to accomplish? -- m-s On 25 Nov, 2008, at 22:38, Mark Aufflick wrote: Hi all, I'm wondering if it's possible to tell if my application was launched normally by the user, or if it was launched by virtue of being in the login items. I don't see anything in NSAppli

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/25/08 10:50 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > > On Nov 25, 2008, at 1:17 AM, Mahaboob wrote: > >> On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote: >> >>> >>> >>> >>> On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: >>> Why can't your thread

How to tell if app launched via login item (versus manual launch)

2008-11-25 Thread Mark Aufflick
Hi all, I'm wondering if it's possible to tell if my application was launched normally by the user, or if it was launched by virtue of being in the login items. I don't see anything in NSApplication to that effect. I'm guessing the parent process might be different, but I'm hoping there is a stan

NSImage/NSImageView/GIF Saving an Animated GIF from NSImageView

2008-11-25 Thread Michael Robinson
Hi list, I'd like to be able to use an NSImageView to display a default animated GIF image. The image may be replaced by the user. I have been using the code below to save / load images from / into the image view. I would like to know how, if it is possible, one saves an animated gif, pres

Re: Testing apps on 10.*

2008-11-25 Thread Clark Cox
On Tue, Nov 25, 2008 at 6:03 PM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > > On 26 Nov 2008, at 02:28, Gregory Weston <[EMAIL PROTECTED]> wrote: > >> >> macdev wrote: >> >>> I was wondering what the common ways are to test my application on >>> OSX 10.* >>> versions. Besides having a separat

Re: Panel will not reappear

2008-11-25 Thread Brent Burton
On Tue, Nov 25, 2008 at 9:11 PM, Kyle Sluder <[EMAIL PROTECTED]> wrote: > On Tue, Nov 25, 2008 at 10:04 PM, Brent Burton <[EMAIL PROTECTED]> wrote: >> However, when I close the panel (via Esc or the window close button), >> it will not re-appear. > > Uncheck "release when closed" in the IB inspecto

Programatically Triggering an NSSearchField Search

2008-11-25 Thread Steve Steinitz
Hello, I use NSSearchFields bound to NSArrayControllers to allow my client to search their Core Data database. Pretty standard. My search predicate bindings are lengthy, giving my client lots of options to find what they want. Occasionally I would like to programmatically specify a search

Preventing a user from moving a window

2008-11-25 Thread Damien Cooke
Hi all, I have an arrangement of windows that I do not want the user to move. What is the best way of doing this. There are several ways I thought of but they are not very elegant. Can someone point me in the right direction? Regards Damien If you can't be kind, at least have the dec

Re: Panel will not reappear

2008-11-25 Thread Kyle Sluder
On Tue, Nov 25, 2008 at 10:04 PM, Brent Burton <[EMAIL PROTECTED]> wrote: > However, when I close the panel (via Esc or the window close button), > it will not re-appear. Uncheck "release when closed" in the IB inspector panel for the window. --Kyle Sluder

Panel will not reappear

2008-11-25 Thread Brent Burton
Hi, I created a panel like the example in chapter 12 of Hillegass' book, and it mostly works. The panel appears when summoned the first time, and interacts with its controller fine. However, when I close the panel (via Esc or the window close button), it will not re-appear. The controller is call

Re: cocoa and iphone fonts

2008-11-25 Thread Roland King
I do not believe that it is. On Nov 26, 2008, at 9:04 AM, Emmanuel Pinault wrote: Hi is it possible to load a custom fonts on the iphone with Cocoa touch? I am trying to load a language font that is not yet supported on the iphone but works on OSX. IS there a way to do it? Even if keyboa

Re: [Reposted] Document based resource strategy

2008-11-25 Thread Jason Stephenson
Gerriet M. Denkmann wrote: What version of Xcode do you have installed? I have 3.1.1 and Safari just says: "No file exists at the address “/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Conceptual/Documents/

Re: Testing apps on 10.*

2008-11-25 Thread Gerriet M. Denkmann
On 26 Nov 2008, at 02:28, Gregory Weston <[EMAIL PROTECTED]> wrote: macdev wrote: I was wondering what the common ways are to test my application on OSX 10.* versions. Besides having a separate machine each having a different version, is there any other way you guys are using to test your ap

Re: NSOperationQueue broken?

2008-11-25 Thread Peter N Lewis
[Reposted by request on this thread for the archives] At 13:40 -0400 30/10/08, Michael Ash wrote: I hate to blame an OS bug but I see no other explanation, so here we go. I have a program which uses NSOperationQueue heavily. It uses lots of different queues each of which has a max concurrent op

Re: [Reposted] Document based resource strategy

2008-11-25 Thread Gerriet M. Denkmann
On 26 Nov 2008, at 00:26, Keary Suska <[EMAIL PROTECTED]> wrote: On Nov 24, 2008, at 4:40 PM, Carlos Eduardo Mello wrote: I started with the document based template in Xcode, and now I want to organize my resources in nib files. Here is a list of ideas/ questions I have about this whole plan

Re: [Reposted] Document based resource strategy

2008-11-25 Thread Kyle Sluder
On Tue, Nov 25, 2008 at 7:29 PM, Carlos Eduardo Mello <[EMAIL PROTECTED]> wrote: > Thanks a lot for your reply. > (for some reason I am not receiving my own posts, so I never know if they > reached someone. Apparently yours was also the only response so far...) The listserv does not send you posts

cocoa and iphone fonts

2008-11-25 Thread Emmanuel Pinault
Hi is it possible to load a custom fonts on the iphone with Cocoa touch? I am trying to load a language font that is not yet supported on the iphone but works on OSX. IS there a way to do it? Even if keyboard is not usable yet at least rendering the font would be helpful for now. Thanks

RE: Re: NSTableView in-line editing

2008-11-25 Thread 양승준
Oh my god. I'm sorry to have you debug my code. I thought I had missed a point or two in implementing the table view. Well, I did,,, Thank you very much again! ;)   -Original Message- From: "Jean-Daniel Dupas"<[EMAIL PROTECTED]> To: "Graham Cox"<[EMAIL PROTECTED]> Cc: "양승준"<[EMAIL PROTE

Re: [Reposted] Document based resource strategy

2008-11-25 Thread Carlos Eduardo Mello
Thanks a lot for your reply. (for some reason I am not receiving my own posts, so I never know if they reached someone. Apparently yours was also the only response so far...) First off, the questions you are asking lead me to believe that you do not quite understand the document-based appl

Chapters in Hillegass to skip on first reading?

2008-11-25 Thread Ulai Beekam
Hi, Let's say I have a plan for a simple app. Nothing too fancy, in a way. To name an example, it could be one like ShoveBox or Things. Mine is probably simpler than those. (It will be a good looking UI and icon that will be more trickier part for me.) I've already read more than half of Hilleg

Re: CGImageDestinationSetProperties does not work for animated GIF

2008-11-25 Thread Patrick Haruksteiner
I managed to get access to a 10.5.5 Mac today and tested my App successfully. This means that setting the loop count for animate gif images in 10.4.11 (PPC) seems to be broken, because the same build works perfectly fine on 10.5.5 (Intel). This is the 2nd GIF related problem I discovered wh

Re: Killing a Thread

2008-11-25 Thread Scott Ribe
> PTHREAD_CANCEL_ASYNCHRONOUS I didn't even know about that option for pthread_cancel... -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admi

Re: what does FAILED TO GET ASN FROM CORESERVICES mean?

2008-11-25 Thread Kyle Sluder
On Tue, Nov 25, 2008 at 2:08 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: > Would that fix my problem? Maybe? Did you read TN2083, particularly the sections entitled "Pre-Login Trust Issues" and "Pre-login launchd agent"? http://developer.apple.com/technotes/tn2005/tn2083.html#SECLAUNCHDAGENT --K

Re: Testing apps on 10.*

2008-11-25 Thread Joseph Kelly
I would recommend at the very least that you test on a PPC and an Intel machine, for each os version you plan on supporting. Additionally, our QA has a couple of towers, an iBook, a MacBook, and a couple of iMacs. I think QA partitions each drive for a specific OS (10.4.n, 10.5.m, where n

Re: is core data for me?

2008-11-25 Thread Colm Gallagher
On Mon, Nov 24, 2008 at 6:23 AM, Paul Tomlin <[EMAIL PROTECTED]> wrote: > > > I would create a separate Entity in your model and then define a to-many > relationship from your "Person" to that new Entity, possibly called > something like "PersonAttribute". The new Entity may have, for example, > At

Re: NSTypesetter problem

2008-11-25 Thread Aki Inoue
The recursive invocation of layout is being trigged because the info between layout manager and text view got out of sync. Does it still reproduce when you remove your overridden method ? Also, I wonder if the infinite recursion is related to the initial recursive layout invocation at all. C

Re: what does FAILED TO GET ASN FROM CORESERVICES mean?

2008-11-25 Thread Bill Janssen
Kyle Sluder <[EMAIL PROTECTED]> wrote: > On Sat, Nov 22, 2008 at 4:20 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: > > I'm running a daemon, started by SystemStarter at boot time, and running > > as me (an admin account), which periodically invokes OpenOffice's > > "soffice" binary to convert MS Of

Re: Supporting Tiger, using leopard functions when possible?

2008-11-25 Thread Shawn Erickson
On Tue, Nov 25, 2008 at 10:43 AM, Jean-Nicolas Jolivet <[EMAIL PROTECTED]> wrote: > I'm writing an App with XCode 3.0 on Leopard, however I want to support > tiger... Set a target SDK of 10.5 and deployment target of 10.4. Review... http://developer.apple.com/documentation/DeveloperTools/Concept

Supporting Tiger, using leopard functions when possible?

2008-11-25 Thread Jean-Nicolas Jolivet
I'm writing an App with XCode 3.0 on Leopard, however I want to support tiger... My App builds fine if I set the Active build SDK setting to 10.4, however I am testing for Leopard function using "respondsToSelector" (Basically I test to see if a class respondsToSelector:(some 10.5 only m

Re: Best way to Change Window

2008-11-25 Thread Gordon Apple
I decided to take the easy short-term and use separate Nibs. That may cause more maintenance later, but at least it seems to work. I did have a minor issue that closing the main window first can close the document, depending on whether or not other windows for that document are open. I going

Re: NSComboBox list is incorrect size on first dropdown

2008-11-25 Thread Ken Ferry
I think you would like to hear that this delegate call can be forced to work, but wishing won't make it so. There are any number if ways to do it earlier, most of which are only known to you since you know your app design. You could keep the combo box up to date, you could use a datasource

Re: Killing a Thread

2008-11-25 Thread Michael Ash
On Tue, Nov 25, 2008 at 11:31 AM, Scott Ribe <[EMAIL PROTECTED]> wrote: >> I'm new to thread programming. I need to kill the thread in a void function. > > Let the function end. It's that simple. > >> How can I do this? > > You can't just kill a thread. You can let the function return when it's > f

Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Nick Zitzmann
On Nov 25, 2008, at 11:12 AM, Arun wrote: Thanks for the suggestion. But i have a requirement where in if the user changes the format of date and time in the system, the same format should be presented back to him. So i thought descriptionWithLocale will take care of the change user makes to

Re: NSSTextView

2008-11-25 Thread Jean-Daniel Dupas
Le 25 nov. 08 à 18:57, Jordon Hirshon a écrit : I have a command line tool that outputs to the console. I would like to rewrite the application and have the output displayed in a textView window. What's the best way to go about this? Jordon I don't know the best way, but the simplest

Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Arun
Hi Nick, Thanks for the suggestion. But i have a requirement where in if the user changes the format of date and time in the system, the same format should be presented back to him. So i thought descriptionWithLocale will take care of the change user makes to his settings. So if i use NSDateFormat

Re: what does FAILED TO GET ASN FROM CORESERVICES mean?

2008-11-25 Thread Kyle Sluder
On Sat, Nov 22, 2008 at 4:20 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: > I'm running a daemon, started by SystemStarter at boot time, and running > as me (an admin account), which periodically invokes OpenOffice's > "soffice" binary to convert MS Office docs to PDF. Works most of the > time, eve

Re: Killing a Thread

2008-11-25 Thread Joseph Kelly
On Nov 25, 2008, at 1:17 AM, Mahaboob wrote: On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote: On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: Why can't your thread just return when it's finished? I'm new to thread programming. I need to kill the thread in a voi

NSSTextView

2008-11-25 Thread Jordon Hirshon
I have a command line tool that outputs to the console. I would like to rewrite the application and have the output displayed in a textView window. What's the best way to go about this? Jordon ___ Cocoa-dev mailing list (Cocoa-dev@lists.ap

Re: Testing apps on 10.*

2008-11-25 Thread Gregory Weston
macdev wrote: I was wondering what the common ways are to test my application on OSX 10.* versions. Besides having a separate machine each having a different version, is there any other way you guys are using to test your apps? Coming from windows development, there you can test your apps

Re: Killing a Thread

2008-11-25 Thread Ben Trumbull
I'm new to thread programming. I need to kill the thread in a void function. How can I do this? Never ever kill a thread. You must ask the thread nicely to unwind its state and resource any resources it has retained. - Ben ___ Cocoa-dev mailin

Re: MVC in Cocoa?

2008-11-25 Thread David Casseres
It's worth mentioning that MVC can be "recursive." For example, in the app I work on, the most global MVC design is that the model is an sqLite database, and the controller is the "data manager," code that keeps the model up to date and presents an API for access to information that it extr

awakeFromNib is not called in Tiger [PPC], but called in Leopard [Intel]

2008-11-25 Thread Alexander Shmelev
Hello, I have nib file "TwainDialog.nib" which is controlled by TwainDialogController class (inherited from NSWindowController). When I run on 10.5 Leopard, everything works as expected: awakeFromNib is called, outlets initialized, [twainDialog window] returns NSWindow pointer. But when I r

Re: NSDate's descriptionwithLocale method output

2008-11-25 Thread Nick Zitzmann
On Nov 25, 2008, at 9:56 AM, Arun wrote: I have an NSDate object and if i call descriptionwithLocale method, i am getting a NSString * which upon printing gives Date and time time in the format set by the user. In that string at the end it gives Info abot timezone also like +GMT 05:30. So

Re: Need some advice on multithreading

2008-11-25 Thread Scott Ribe
> That's likely to produce > higher-resolution results. In some experiments with controlling finicky hardware, I discovered that usleep has surprisingly high precision--I forget the numbers, but you can pretty reliably sleep for a time substantially shorter than the scheduling quantum. (Of course,

Re: what does FAILED TO GET ASN FROM CORESERVICES mean?

2008-11-25 Thread Bill Janssen
Sherm Pendley <[EMAIL PROTECTED]> wrote: > So, you might want to re-think your doubts about the reliability of > daemons and the window server. The fact that it sometimes works - > presumably, when some is logged in to the desktop - can't be taken as > evidence that they'll always do so. Your p

NSDate's descriptionwithLocale method output

2008-11-25 Thread Arun
Hi All, I have an NSDate object and if i call descriptionwithLocale method, i am getting a NSString * which upon printing gives Date and time time in the format set by the user. In that string at the end it gives Info abot timezone also like +GMT 05:30. So if i need to takeout the timezone informa

const NSTimeZone?

2008-11-25 Thread mirage_3d
hi there, i'm trying to define a constant NSTimeZone object for a class i'm writing to use as a global constant. so far i haven't managed to do this directly or indirectly. i tried through NSString, NSData, NSArchiver and so far i've hit the wall. i was thinking that maybe i could use the C trick w

Re: Testing apps on 10.*

2008-11-25 Thread matt . gough
No, it won't run any versions prior to 10.5. Matt Gough On 25 Nov 2008, at 17:22, Nick Zitzmann wrote: Coming from windows development, there you can test your apps using VMware on a different flavor of windows. How is this achieved on the Mac? Well, if you have the budget to buy old Serve

Re: Killing a Thread

2008-11-25 Thread Scott Ribe
> I'm new to thread programming. I need to kill the thread in a void function. Let the function end. It's that simple. > How can I do this? You can't just kill a thread. You can let the function return when it's finished. You can arrange some way to signal it to exit, and have it return when it

Re: Testing apps on 10.*

2008-11-25 Thread Nick Zitzmann
On Nov 25, 2008, at 9:14 AM, macdev wrote: Coming from windows development, there you can test your apps using VMware on a different flavor of windows. How is this achieved on the Mac? Well, if you have the budget to buy old Server versions, then VMware will allow you to create virtual ma

Re: [Reposted] Document based resource strategy

2008-11-25 Thread Keary Suska
On Nov 24, 2008, at 4:40 PM, Carlos Eduardo Mello wrote: I started with the document based template in Xcode, and now I want to organize my resources in nib files. Here is a list of ideas/ questions I have about this whole plan. Please do comment and/or help me figure out which way to go.

Re: Killing a Thread

2008-11-25 Thread Nick Zitzmann
On Nov 25, 2008, at 2:03 AM, Mahaboob wrote: I'm new to thread programming. I need to kill the thread in a void function. How can I do this? Why do you think you need to kill a thread? The normal way you do this is to have your thread open, do its business, and then exit when condition

Testing apps on 10.*

2008-11-25 Thread macdev
Hi, I was wondering what the common ways are to test my application on OSX 10.* versions. Besides having a separate machine each having a different version, is there any other way you guys are using to test your apps? Coming from windows development, there you can test your apps using VMware o

Re: Correctly drawing a custom view...

2008-11-25 Thread I. Savant
On Tue, Nov 25, 2008 at 10:32 AM, Jean-Nicolas Jolivet <[EMAIL PROTECTED]> wrote: > I was actually reading the View Programming Guide... guess I was looking at > the wrong place. My mistake - that's probably the correct guide for the information I mentioned. There's a little information in the d

Re: Ftp

2008-11-25 Thread Mike Abdullah
You'll probably be wanting ConnectionKit: http://opensource.utr-software.com/connection/download.html On 25 Nov 2008, at 15:58, Filip van der Meeren wrote: I am currently working on a new sourceforge-project: "PerlManager", to manage the installation and management of all the Perl-versions

Re: NSComboBox list is incorrect size on first dropdown

2008-11-25 Thread Ken Ferry
Um, nevermind, wrong OS for the fix. Heh heh! This will be fixed in 10.6. In 10.5 and earlier, that's just too late, sorry! -Ken On Tue, Nov 25, 2008 at 7:54 AM, Ken Ferry <[EMAIL PROTECTED]> wrote: > I cannot reproduce this in a test app. The behavior was changed for > 10.5 - before that com

Ftp

2008-11-25 Thread Filip van der Meeren
I am currently working on a new sourceforge-project: "PerlManager", to manage the installation and management of all the Perl-versions for Mac OS X. One of my goals is to download the source through the ftp-protocol (now it will be done through http). Now the actual question; does anyone kn

Re: NSComboBox list is incorrect size on first dropdown

2008-11-25 Thread Ken Ferry
I cannot reproduce this in a test app. The behavior was changed for 10.5 - before that comboBoxWillPopUp was too late to modify anything impacting the drop down position of the combo box. What OS are you on? If you could file a bug with a test app, that would be very helpful. -Ken Cocoa Framewo

Re: Correctly drawing a custom view...

2008-11-25 Thread Jean-Nicolas Jolivet
I was actually reading the View Programming Guide... guess I was looking at the wrong place. Thanks... On 25-Nov-08, at 10:29 AM, I. Savant wrote: Obviously my technique isn't working because when this happens, the area around the control is getting filled with the gradient and the resul

NSComboBox list is incorrect size on first dropdown

2008-11-25 Thread Russ
I have an NSComboBox whose contents (internal list) gets loaded dynamically during the comboBoxWillPopUp notification. It is created with setNumberOfVisibleItems:9 and setHasVerticalScroller:YES. The first time the button is clicked, there is a removeAllItems and then the items are loaded in (

Re: Correctly drawing a custom view...

2008-11-25 Thread I. Savant
> Obviously my technique isn't working because when this happens, the area > around the control is getting filled with the gradient and the result is > definitely weird... Have you read the Cocoa drawing guide? It goes into great detail about this very thing. The rect passed in via -drawRect: is

Correctly drawing a custom view...

2008-11-25 Thread Jean-Nicolas Jolivet
I'm using a custom view that i simply fill with a gradient in the drawRect methodI love the result however, I realized after adding some controls to my custom view that the "rect" being drawn in drawRect is not always the view's frame, but it's often just a small part of the view gettin

cocoadev.com status?

2008-11-25 Thread David Hoerl
I recently tried to update a page on cocoadev.com, but the changes didn't "take". I looked at the "Recent Changes" page and the latest is October 23rd. There is no obvious contact - I did send a email to Panic but have not heard back. Anyone know what's going on? David ___

Re: NSTableView in-line editing

2008-11-25 Thread Jean-Daniel Dupas
Le 25 nov. 08 à 14:23, Graham Cox a écrit : On 26 Nov 2008, at 12:16 am, Jean-Daniel Dupas wrote: -(void)tableView:(NSTableView *)aTableView setObjectValue:anObject objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { id theRecord; theRecord = [aBuffer objectAtIndex:ro

Re: NSTableView in-line editing

2008-11-25 Thread Graham Cox
On 26 Nov 2008, at 12:23 am, Graham Cox wrote: -(void)tableView:(NSTableView *)aTableView setObjectValue:anObject objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex Actually, that's it... the method name has a rather major typo. It should be -tableView: setObjectVa

Re: NSTableView in-line editing

2008-11-25 Thread Graham Cox
On 26 Nov 2008, at 12:16 am, Jean-Daniel Dupas wrote: -(void)tableView:(NSTableView *)aTableView setObjectValue:anObject objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { id theRecord; theRecord = [aBuffer objectAtIndex:rowIndex]; [theRecord setObject:anObject forKey:[

Re: NSTableView in-line editing

2008-11-25 Thread Jean-Daniel Dupas
Le 25 nov. 08 à 13:52, 양승준 a écrit : Hello, I followed instructions from websites and apples' table view programming guide to implement a table view that displays an NSMutableArray of NSMutableDictionary's. Data show up in the table view alright. But in-line editing is not working. I can

NSTableView in-line editing

2008-11-25 Thread 양승준
Hello, I followed instructions from websites and apples' table view programming guide to implement a table view that displays an NSMutableArray of NSMutableDictionary's. Data show up in the table view alright. But in-line editing is not working. I can double click a cell, enter a number, but whe

Re: Need some advice on multithreading

2008-11-25 Thread WT
>>[...] >>Very true. Another of my concerns, though, is that having high enough >>simulation refresh rates and frame update rates will cause a large >>number of object allocations, which will compete with other resources >>needed for the simulation to happen. It seems to me that lots of >>objects

about unit test in xcode

2008-11-25 Thread BirdSong
Hi all,I followed XCode Unit Testing Guide , create a independent test target . But when I build the project, there was always 1 error.Test host'/myApp/build/Debug/myApp/Contents/MacOs/myApp' existed abnormally with code 127 (it may have crashed).But I checked my app, it can run normally witho

Re: NSTypesetter problem

2008-11-25 Thread chaitanya pandit
Actually i'm doing nothing special in setLineFragmentRect... i simply note the fragment and call super's setLineFragmentRect... What i observed is that the a new typesetter gets initialized only when i try to edit the text, and then it goes in to an infinite loop On 25-Nov-08, at 12:35 AM,

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/25/08 2:33 PM, "Mahaboob" <[EMAIL PROTECTED]> wrote: > > > > On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > >> Why can't your thread just return when it's finished? >> I'm new to thread programming. I need to kill the thread in a void function. Here I'm attaching t

Re: Killing a Thread

2008-11-25 Thread Mahaboob
On 11/24/08 10:01 PM, "Joseph Kelly" <[EMAIL PROTECTED]> wrote: > Why can't your thread just return when it's finished? > I'm new to thread programming. I need to kill the thread in a void function. How can I do this? > On Nov 24, 2008, at 1:02 AM, Mahaboob wrote: > >> >> Hi, >> I¹m develop

Re: Call getElementById in Cocoa

2008-11-25 Thread Rob Keniger
On 25/11/2008, at 12:32 PM, Pierce Freeman wrote: Sorry for my newbie-ness, but I still don't really get what you are talking about. Are you saying that I should do this: [WebView setFrameLoadDelegate:didFinishLoadForFrame]; - (void)didFinishLoadForFrame { // Do stuff } No, you would d

Re: CGImageDestinationSetProperties does not work for animated GIF

2008-11-25 Thread Rob Keniger
On 25/11/2008, at 9:51 AM, Patrick Haruksteiner wrote: I even tested the code in the given example as it was, but it did not work for the loop count too. I'm using 10.4.11 with Xcode 2.4.1 - and I'm wondering that not even the above mentioned example works... Could someone test if the exam