Re: problems with CAAnimation - SOLVED (kinda)

2009-03-20 Thread Graham Cox
On 20/03/2009, at 10:39 AM, mm w wrote: your design simply sucks, you don't understand the library I cannot help you on this, I am not Jesus and I cannot save all people who are pretending to program, once again I did complex design with CA related API, and I have never been stuck in this

Re: Banding/smoothing problem with drawing angled gradients.

2009-03-20 Thread Graham Cox
On 20/03/2009, at 2:57 PM, Phi Le wrote: Hello, I want to draw angled gradients with multiple sharp transitions using NSGradient. I am not getting very smooth transitions between the colors. Please take a look at my attachment to see the problem. Are there solutions without having to use NSS

Re: How do you store an NSArray as an attribute in a Core Data entity

2009-03-20 Thread tmowlem
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote: >> I want to store a list of Strings as an attribute of an entity in >> Core Data but there doesn't appear to be a way to use NSArray (or >> NSSet or NSDictionary either) as an attribute.?Please can someone >> explain how you use an N

Re: How to debug this...

2009-03-20 Thread Mark Ritchie
On 20-Mar-09, at 1:04 AM, Alex Kac wrote: 1 CoreFoundation 0x3023c326 CFRelease + 58 2 Foundation 0x3066fe04 -[NSCFDictionary release] + 2 3 CoreFoundation 0x3023c326 CFRelease + 58 4 Foundation 0x3066fe0

Re: NSTableView updating checkboxes

2009-03-20 Thread Jo Phils
Hi Graham and thank you very much for your reply. I think I'm still a bit confused I do apologize. :-( Here's my code so far so you can see... - (int)numberOfRowsInTableView:(NSTableView *)aTableView { return[filenamescount]; } - (id)tableView:(NSTableView *)aTableView objectValueForTableCol

Re: How to debug this...

2009-03-20 Thread Alex Kac
2.2 and 2.21 mostly. As I said - I can't reproduce this. I only get crash logs from users with it. I'm just trying to get some idea of what it could be. On Mar 20, 2009, at 4:57 AM, Mark Ritchie wrote: On 20-Mar-09, at 5:32 AM, Alex Kac wrote: iPhone OS :) And normally I'd ask on the iPhone

Re: NSCell with URL

2009-03-20 Thread Alexander Spohr
Am 20.03.2009 um 15:02 schrieb Charles Romestant: But I don't see how to do this. I tried NSAttributedString but its painfully slow ( seems that (id )tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row is called on every refresh resize of the page), p

Re: NSScrollView like iTunes

2009-03-20 Thread Citizen
On 20 Mar 2009, at 06:35, Graham Cox wrote: On 20/03/2009, at 5:29 PM, Chris Purcell wrote: I'm trying to create a view similar to the left iTunes bar (http://i39.tinypic.com/2hwp7w5.png ) and many other apps (Mail, iCal, etc.). Is this a NSScrollView or NSOutlineView? Or am I going about t

asl_search abysmally slow

2009-03-20 Thread Gerriet M. Denkmann
I am trying to access the Apple System Log facility. char *lastMessageId = "765123"; aslmsg q = asl_new(ASL_TYPE_QUERY); asl_set_query(q, kAslMessageId, lastMessageId, ASL_QUERY_OP_GREATER | ASL_QUERY_OP_NUMERIC ); aslresponse r = asl_search( NULL, q); // r will contain all messages after 7

Re: need advice on subclassing NSScrollVIew

2009-03-20 Thread Rainer Brockerhoff
At 19:59 -0700 19/03/09, cocoa-dev-requ...@lists.apple.com wrote: >From: John Reppy >Date: Thu, 19 Mar 2009 15:39:44 -0500 >Message-ID: > >I'm building a viewer for event logs that needs to support a wide range >of scales (say from seconds/inch to nanoseconds/inch). I've got a custom >subclass o

Re: Bug+Fix: NSController (and subclasses) have problems with custom KVO keys

2009-03-20 Thread Steve Steinitz
Hi Marc and Quincy On 19/3/09, m...@sky4studios.be wrote: 'NSInternalInconsistencyException', reason: 'Cannot remove an observer for the key path "targetPhoto.name" from , most likely because the value for the key "targetPhoto" has changed without an appropriate KVO notification being sent. Ch

Re: need advice on subclassing NSScrollVIew

2009-03-20 Thread John Reppy
On Mar 20, 2009, at 1:04 AM, Graham Cox wrote: Double's are not going to help. The drawing coordinates are floats. Even if you could persuade NSScrollView to position your view to double precision, it will get truncated to single precision for display. You'd have to rewrite all of Quartz

Re: NSScrollView like iTunes

2009-03-20 Thread Luca Pazzerello
Chris,Wich NSTableView can expand its items? ;-) (I'm referring to the iTunes Playlists item). That NSOutlineView simply hides the disclosure triangle, so that probably confused you. If you want to hide the disclosure triangles (wich every expandible item has by dfault), you need to sub

Re: NSTableView updating checkboxes

2009-03-20 Thread Graham Cox
On 20/03/2009, at 8:53 PM, Jo Phils wrote: Hi Graham and thank you very much for your reply. I think I'm still a bit confused I do apologize. :-( Here's my code so far so you can see... - (int)numberOfRowsInTableView:(NSTableView *)aTableView { return [filenames count]; } - (id

Re: NSCell with URL

2009-03-20 Thread Charles Romestant
Thank you for your reply, the method itself right now is very fast, i m using a custom class for the first column ( displays NSIMage) that caches the images, and the second column is pure text , that comes from the xml. What I want is the NSCell on the second column to support formatted text, ( so

Re: NSTableView updating checkboxes

2009-03-20 Thread Jo Phils
Thank you again Graham so much for the quick reply. Yes you're right about where I'm headed. I was just thinking that I could code it that when you click on the checkboxes the state would toggle then when I got to the processing step I would simply read the state and know how to process each i

Re: asl_search abysmally slow

2009-03-20 Thread Luke the Hiesterman
I fought with ASL slowness in trying to develop my app last year. That project currently sits on the backburner largely because of performance problems I also encountered with ASL. I did fine reading once, but as soon as I started reading every second or couple of seconds, syslogd cpu usage

Re: NSTimer & Runloop questions

2009-03-20 Thread Robbie Hanson
How can I know if a fired timer has already been "invalidated" using setFireDate? Consider the following pseudo-code: - (void)dequeueNextOperation { // IF there is another operation in the queue // Dequeue and start opertation... // Start timeout timer for operation /

Re: NSTimer & Runloop questions

2009-03-20 Thread A.M.
On Mar 20, 2009, at 12:22 PM, Robbie Hanson wrote: How can I know if a fired timer has already been "invalidated" using setFireDate? Consider the following pseudo-code: - (void)dequeueNextOperation { // IF there is another operation in the queue // Dequeue and start opertati

[noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
I have a Nib file containing a single NSView that contains several controls. I need to make numerous copies of this view (which are placed as subviews of some containing view). Presently, I load the Nib for each occurrence needed. But I now wonder if this is the best approach (going back to

Re: need advice on subclassing NSScrollVIew

2009-03-20 Thread Kyle Sluder
You have two (32-bit floating point) coordinate systems to work with here. You have the one defined by your view's bounds, and the one you use internally to convert values in your domain (seconds) into pixels. You can set these however you like such that the final transformation matrix results in

Re: Is there an icon to represent "select all"?

2009-03-20 Thread Benjamin Dobson
On 20 Mar 2009, at 18:31:42, David wrote: Is there a standard icon to represent "select all"? I believe not. There generally isn't any icon for it at all. Is there a better website where I should ask this? Not that I know of. :-) ___ Cocoa-dev

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread I. Savant
On Fri, Mar 20, 2009 at 2:19 PM, Stuart Malin wrote: > I have a Nib file containing a single NSView that contains several controls. > I need to make numerous copies of this view (which are placed as subviews of > some containing view). Presently, I load the Nib for each occurrence needed. > But I

Re: NSTimer & Runloop questions

2009-03-20 Thread Robbie Hanson
How can I know if a fired timer has already been "invalidated" using setFireDate? Consider the following pseudo-code: - (void)dequeueNextOperation { // IF there is another operation in the queue // Dequeue and start opertation... // Start timeout timer for operation /

Re: NSData confusion

2009-03-20 Thread Nick Zitzmann
On Mar 20, 2009, at 12:33 PM, James Maxwell wrote: But this seems like a memory hungry way of doing things (even though setFloatData is a "properly written" accessor, I think, and does release the current copy "m_floatData" before storing the new one). Is there any way to just operate on t

NSData confusion

2009-03-20 Thread James Maxwell
I've been using NSData to wrap up float arrays and matrices, so I can pass them around my methods and classes. However, I'm finding they're using loads of memory. Now, I do admit this is probably because I'm not doing this properly, so I'd like some clarification. The NSData objects are insta

Is there an icon to represent "select all"?

2009-03-20 Thread David
Is there a standard icon to represent "select all"? Is there a better website where I should ask this? Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the modera

Re: need advice on subclassing NSScrollVIew

2009-03-20 Thread Benjamin Stiglitz
> In a similar situation, I didn't subclass NSScrollView. I subclassed NSView > and inserted an NSScroller directly as its subview. I tracked the position > with a 64-bit variable which I converted to a range suitable for the > NSScroller just for setting its thumb position and size. I set my vi

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 8:38 AM, I. Savant wrote: On Fri, Mar 20, 2009 at 2:19 PM, Stuart Malin wrote: I have a Nib file containing a single NSView that contains several controls. I need to make numerous copies of this view (which are placed as subviews of some containing view). Presently, I

Re: NSData confusion

2009-03-20 Thread Quincey Morris
On Mar 20, 2009, at 11:33, James Maxwell wrote: I've been using NSData to wrap up float arrays and matrices, so I can pass them around my methods and classes. However, I'm finding they're using loads of memory. Now, I do admit this is probably because I'm not doing this properly, so I'd like

Re: NSData confusion

2009-03-20 Thread James Maxwell
Thanks for the tip on the accessor. I'll rewrite mine... all of them... yikes! ;-) J. On 20-Mar-09, at 11:44 AM, Nick Zitzmann wrote: On Mar 20, 2009, at 12:33 PM, James Maxwell wrote: But this seems like a memory hungry way of doing things (even though setFloatData is a "properly writte

Re: NSData confusion

2009-03-20 Thread Nick Zitzmann
On Mar 20, 2009, at 12:58 PM, James Maxwell wrote: Thanks for the tip on the accessor. I'll rewrite mine... all of them... yikes! ;-) If you don't mind only being able to target Leopard & later, have you tried using the new synthesized accessor feature? That would save you the trouble _

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Kyle Sluder
On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: > Thanks for the quick reply and the assurance.  No performance issues -- just > had been wondering about the effect of going back to disk every time I need > one of these views (which will be frequent and there will be many). Perhaps > the fact

Re: NSData confusion

2009-03-20 Thread James Maxwell
oh... yes... I don't mind Leopard-only, but I haven't wrapped my head around any of the Obj-C 2.0 stuff yet... I'll look into it right away, because I had some thread-related problems earlier today which might be cured by such a move. thanks for that. cheers, J. On 20-Mar-09, at 12:03 PM,

Re: NSData confusion

2009-03-20 Thread James Maxwell
Oh geez... Of course, NSMutableData... I forgot the m-word. I'll give that a try, and see how it does. cheers, J. On 20-Mar-09, at 11:55 AM, Quincey Morris wrote: On Mar 20, 2009, at 11:33, James Maxwell wrote: I've been using NSData to wrap up float arrays and matrices, so I can pass them

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread I. Savant
On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: > Thanks for the quick reply and the assurance.  No performance issues -- just > had been wondering about the effect of going back to disk every time I need > one of these views (which will be frequent and there will be many). Perhaps > the fac

Re: NSData confusion

2009-03-20 Thread James Maxwell
okay, but what about matrices? I've set them up using: float **theMatrix = [[self matrixData] mutableBytes]; and this part seems okay - or at least, it compiles... But how do I then access the matrix. I've been using normal C-style array notation, thus far: theMatrix[i][j] = 0.; but th

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 9:30 AM, I. Savant wrote: On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: Thanks for the quick reply and the assurance. No performance issues -- just had been wondering about the effect of going back to disk every time I need one of these views (which will be f

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Kyle Sluder
On Fri, Mar 20, 2009 at 3:38 PM, Stuart Malin wrote: > Appreciate the comments regarding premature optimization. I wasn't trying to > optimize -- I had just been looking to validate that I was going about > handling the situation the smartest way.  Although nothing had appeared to > me as "more ob

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread mmalc Crawford
On Mar 20, 2009, at 11:19 AM, Stuart Malin wrote: Presently, I load the Nib for each occurrence needed. But I now wonder if this is the best approach (going back to the Nib file and loading each time). Is there an alternative way to achieve this -- perhaps placing the target NSView in som

Re: NSData confusion

2009-03-20 Thread mmalc Crawford
On Mar 20, 2009, at 11:33 AM, James Maxwell wrote: - (void) setFloatData:(NSData *) theData { if(m_floatData) [m_floatData release]; m_floatData = [theData retain]; } This is how I've seen it done in the Apple docs, but maybe this isn't the best way to do things...(??) I would

q's regarding appropriate use of core data?

2009-03-20 Thread Darren Minifie
Hey everyone I have made my way through the documentation to core data and am really excited to start using it. I have a couple of Q's about if my particular scenario is appropriate for core data, or if I'm forcing the wrong technology for the job. I suspect that discussing anything related to s

Re: NSData confusion

2009-03-20 Thread James Maxwell
Well, I thought I'd seen it that way, but I can't find it now, so I must have just remembered it incorrectly. At any rate, the best method has been pointed out to me, and I understand why it's the way it is... Any thoughts on accessing a 2D array from an NSMutableData object? J. On 20-Mar-0

Re: q's regarding appropriate use of core data?

2009-03-20 Thread Charles Romestant
May I suggest not using a 70 mb file, it might make things slow, plus distributing that on the target platform ( as I am guessing it is) will not be practical. Why not try and do it as a REST API call with parameters, so that you can retrieve it "as needed" instead of handling all that with that sq

Re: NSData confusion

2009-03-20 Thread Stephen J. Butler
On Fri, Mar 20, 2009 at 2:28 PM, James Maxwell wrote: > okay, but what about matrices? > > I've set them up using: > > float **theMatrix = [[self matrixData] mutableBytes]; > > and this part seems okay - or at least, it compiles... But how do I then > access the matrix. > I've been using normal C-

Re: NSCell with URL

2009-03-20 Thread Charles Romestant
well first step is done, made my custom NSCell and its working, now i need to optimize it, and i 'm guessing run it through a RE before so i can add the link? ( any ideas on displaying URLS?) On Sat, Mar 21, 2009 at 10:43 AM, Charles Romestant wrote: > Thank you for your reply, > the method itsel

Re: NSData confusion

2009-03-20 Thread James Maxwell
Ah, yes. That makes sense - you're basically finding the row as a kind of offset in the data, is that right? On 20-Mar-09, at 1:00 PM, Stephen J. Butler wrote: On Fri, Mar 20, 2009 at 2:28 PM, James Maxwell wrote: okay, but what about matrices? I've set them up using: float **theMatrix =

NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
Hello, I'm playing around with date time stuff right now and I'm trying to figure out the bets way to determine if one datetime is equal to another. The problem I'm running in to is "isEqualToDate" does not appear to work, the NSLog statement will show two identical datetime statements but

Re: NSDate isEqual to...

2009-03-20 Thread Mike Abdullah
On 20 Mar 2009, at 20:50, Charles E. Heizer wrote: Hello, I'm playing around with date time stuff right now and I'm trying to figure out the bets way to determine if one datetime is equal to another. The problem I'm running in to is "isEqualToDate" does not appear to work, the NSLog state

Re: NSDate isEqual to...

2009-03-20 Thread Shawn Erickson
On Fri, Mar 20, 2009 at 1:50 PM, Charles E. Heizer wrote: > Hello, > I'm playing around with date time stuff right now and I'm trying to figure > out the bets way to determine if one datetime is equal to another. The > problem I'm running in to is "isEqualToDate" does not appear to work, the > NSL

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 10:09 AM, mmalc Crawford wrote: Modulo other's comments about premature optimisation, if you want to avoid going back to the disk:

Re: NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
Thanks, No it's just playing around right now. It would be nice to be able to specify if you wanted NSDate to be sub-second or second precision based. Just as question, can NSDate be overridden to be second precision based? Thanks, - Charles On Mar 20, 2009, at 2:05 PM, Mike Abdullah wrote:

Re: NSDate isEqual to...

2009-03-20 Thread mm w
+ (BOOL)isADayEqualToAnotherDay:(NSDate*)date anotherDate:(NSDate*)anotherDate { NSCalendar *cal; NSDateComponents *componentsFromDate, *componentsFromAnotherDate; NSUInteger unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit; cal = [NS

Re: NSDate isEqual to...

2009-03-20 Thread mm w
yes, see my previous message; you should NSLogged a NSDate object Cheers! On Fri, Mar 20, 2009 at 2:17 PM, Charles E. Heizer wrote: > Thanks, > No it's just playing around right now. It would be nice to be able to > specify if you wanted NSDate to be sub-second or second precision based. > > Ju

Customization of NSSavePanel

2009-03-20 Thread Sourabh Sahu
Hi Everyone, I am trying to customize NSSavePanel using method prepareSavePanel,but I want NSSavePanel browsing feature to be disabled that is user cannot change the directory ,apart from it I also want NSSavePanel to show file of any particular type,suppose I want to show only text files.all ot

Re: NSTimer & Runloop questions

2009-03-20 Thread Joan Lluch-Zorrilla
El 20/03/2009, a las 19:41, Robbie Hanson escribió: How can I know if a fired timer has already been "invalidated" using setFireDate? Consider the following pseudo-code: - (void)dequeueNextOperation { // IF there is another operation in the queue // Dequeue and start operta

Re: NSDate isEqual to...

2009-03-20 Thread Mike Abdullah
On 20 Mar 2009, at 21:17, Charles E. Heizer wrote: Thanks, No it's just playing around right now. It would be nice to be able to specify if you wanted NSDate to be sub-second or second precision based. Just as question, can NSDate be overridden to be second precision based? Theoretica

Re: NSData confusion

2009-03-20 Thread Boyd Collier
In a program I've been developing, I make a lot of use of matrices of doubles, and I've written some straight-forward code for doing this that might be of interest to you. If you're interested, I'd be happy to send it to you. Boyd On Mar 20, 2009, at 11:33 AM, James Maxwell wrote: I've

Is there an iPhone mailing list?

2009-03-20 Thread Steve Wetzel
Hey, I have a UITouch question and I am wondering if there is a mail list specifically for the iPhone. Is there? Steve ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta

CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Filip van der Meeren
Good evening (for me it is ;-) ), I am trying to make a cool visual effect, to allow for this I need to be able to start a CAAnimation for a CALayer positioning and keep it running until it is done... And here comes the tricky part, it needs to run even when other animations are activated

Re: NSDate isEqual to...

2009-03-20 Thread mm w
Right the comment of Mike is fair, I don't know what you are doing (a lie), anyway your interest is to know a time interval rather than a date you should design a object with a referential start-time: CFAbsoluteTime timeNow(void) { return (CFAbsoluteTime) (CFAbsoluteTimeGetCurrent() - kCF

Re: Is there an iPhone mailing list?

2009-03-20 Thread Randall Meadows
On Mar 20, 2009, at 4:39 PM, Steve Wetzel wrote: Hey, I have a UITouch question and I am wondering if there is a mail list specifically for the iPhone. Is there? Well, there is the official developer forum, if you're a registered iPhone developer at . If you

Re: NSData confusion

2009-03-20 Thread mm w
on the backside, for this kind of game, sometimes is good to know to use C rather than object/scalar layers, and use only an object to represent the final result. Cheers! On Fri, Mar 20, 2009 at 2:57 PM, Boyd Collier wrote: > In a program I've been developing, I make a lot of use of matrices of

Re: Customization of NSSavePanel

2009-03-20 Thread Benjamin Dobson
On 20 Mar 2009, at 13:39:42, Sourabh Sahu wrote: Hi Everyone, I am trying to customize NSSavePanel using method prepareSavePanel,but I want NSSavePanel browsing feature to be disabled that is user cannot change the directory ,apart from it I also want NSSavePanel to show file of any parti

Re: NSDate isEqual to...

2009-03-20 Thread Shawn Erickson
On Fri, Mar 20, 2009 at 2:17 PM, Charles E. Heizer wrote: > Thanks, > No it's just playing around right now. It would be nice to be able to > specify if you wanted NSDate to be sub-second or second precision based. > > Just as question, can NSDate be overridden to be second precision based? You c

Re: CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Matt Long
Use animation grouping. I you use groups, set beginTime with your offset for each animation's time to start. The duration of each animation must be the full duration of the entire animation put together end to end. Your group animation should also have the same duration. Here's some pseudo

Re: CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Filip van der Meeren
Will that work with animations that are already running? I mean, if there are 2 or 3 animations running, and I kick off a 4th, won't that stop the 3 that are already running? Filip van der Meeren fi...@code2develop.com http://sourceforge.net/projects/xlinterpreter On 21 Mar 2009, at 00:07, Ma

Re: CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Matt Long
It won't stop them unless the fourth animation is animating the same property as one of your other three. In that case you can just grab the in-flight value of that property from the layer's presentationLayer and set that as your fourth animation's fromValue. -Matt On Mar 20, 2009, at 5:1

Re: Cocoa-dev Digest, Vol 6, Issue 415

2009-03-20 Thread Tim McGaughy
On Mar 18, 2009, at 4:31 PM, Ken Taylor wrote: help The best advice I can give, given your description of your problem, is that you sell your computer and never get another one. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Filip van der Meeren
As far as I understand you, you can't group animations of different layers, and let them run concurrently? Because that is what I need. Filip van der Meeren fi...@code2develop.com http://sourceforge.net/projects/xlinterpreter On 21 Mar 2009, at 00:24, Matt Long wrote: It won't stop them unles

Fwd: CAAnimation - Letting it run without stopping when new animation is activated

2009-03-20 Thread Filip van der Meeren
Never mind, your idea works like a charm... Thank you, Filip van der Meeren fi...@code2develop.com http://sourceforge.net/projects/xlinterpreter Begin forwarded message: From: Filip van der Meeren Date: Sat 21 Mar 2009 00:32:03 GMT+01:00 To: Matt Long Cc: Cocoa-dev@lists.apple.com Subject:

Send events to AppleScript

2009-03-20 Thread Тимофей Даньшин
Hello. Is it at all possible to have an application send actions to a particular AppleScript script, or set that script as a delegate of that application or to have an AppleScript as a means of communication between two applications (one of which is mine, and the other isn't)? Thank you in

Re: NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
Thanks a bunch for clearing this all up for me. I have converted my test code to use "timeIntervalSince1970" and it appears to be working fine. My main concern is starting from a specific point in time and then have a reliable and consistent interval to count on. Thanks again, Charles

re: q's regarding appropriate use of core data?

2009-03-20 Thread Ben Trumbull
I have made my way through the documentation to core data and am really excited to start using it. I have a couple of Q's about if my particular scenario is appropriate for core data, or if I'm forcing the wrong technology for the job. I suspect that discussing anything related to sdk iph

Re: NSDate isEqual to...

2009-03-20 Thread Charles Srstka
On Mar 20, 2009, at 6:54 PM, Charles E. Heizer wrote: Thanks a bunch for clearing this all up for me. I have converted my test code to use "timeIntervalSince1970" and it appears to be working fine. My main concern is starting from a specific point in time and then have a reliable and consi

Re: [Q] "auto"-incrementing integer attribute in awakeFromInsert

2009-03-20 Thread Sean McBride
On 3/19/09 10:09 AM, Jon C. Munson II said: >I did some digging and found that the real issue is the call for >processPendingChanges that apparently is called via the executeFetch. >According to what I read this is standard behavior. > >So, I'd have to say it isn't a "bug" in this case. Well, 'bu

Re: Send events to AppleScript

2009-03-20 Thread has
Re: Send events to AppleScript Is it at all possible to have an application send actions to a particular AppleScript script, Yes. See NSAppleScript/OSAKit/Carbon OSA APIs. There's a sample project in the objc-appscript repository, CallAppleScriptHandler, that provides a simple demonstratio

Re: q's regarding appropriate use of core data?

2009-03-20 Thread Darren Minifie
Thanks for the reply charles. Yeah I thought about doing this as a web service and that is an option. Our main concern is the case where web access isn't available. Here it would be good to have a local copy. On Fri, Mar 20, 2009 at 5:02 PM, Ben Trumbull wrote: > I have made my way through th

Re: Is there an iPhone mailing list?

2009-03-20 Thread Roland King
if it's Cocoa Touch and it's to do with released iPhone software (ie up to 2.2.1) you can ask it here too, although the expertise here is more about classic cocoa than Cocoa Touch so you may not get a reply. If it's unreleased software (ie 3.0 beta) the only legitimate place to ask it is on

Re: Is there an iPhone mailing list?

2009-03-20 Thread Dave DeLong
He means the Apple Developer Forums. Talking about unreleased software on this list is strictly moderated by the List Gods. Dave On Mar 20, 2009, at 7:54 PM, Roland King wrote: ...If it's unreleased software (ie 3.0 beta) the only legitimate place to ask it is on the apple developer lists.

Re: Is there an iPhone mailing list?

2009-03-20 Thread Roland King
True - I do - sloppy terminology I mean this one https://devforums.apple.com/community/iphone is the only place for talking about unreleased software and may or may not be a good place for talking about released iPhone software too. On Mar 21, 2009, at 9:56 AM, Dave DeLong wrote: He means

Re: Send events to AppleScript

2009-03-20 Thread has
On Mar 21, 2009, at 1:06 AM, Тимофей Даньшин wrote: On Mar 21, 2009, at 3:34 AM, has wrote: Is it at all possible to have an application send actions to a particular AppleScript script, Yes. See NSAppleScript/OSAKit/Carbon OSA APIs. There's a sample project in the objc-appscript repositor

NSWorkspace -launchApplication fails to launch, but no error

2009-03-20 Thread Erg Consultant
I try to launch an application by passing a full POSIX path to NSWorkspace -launchApplication: on 10.3.9 but it fails. I have built my app using the 10.4 SDK and tried it targeting both 10.3 & 10.4 as deployment since I have some newer 10.4 routines which won't work on 10.3. I also check each A