WebView w/ Java Plugin in NSTabView

2010-12-02 Thread Chris Backas
a preference, setting, or delegate method that seemed promising to change the behavior. Anyone have any insights into either problem? Thanks in advance, -Chris Backas CONFIDENTIALITY NOTICE: This email (and any related attachments) contains information from InfoPlus (a service of Bristol

Re: How to approach to write such an app?

2010-11-28 Thread Chris Williams
Subscription: http://lists.apple.com/mailman/options/cocoa-dev/chris%40clwill.com This email sent to ch...@clwill.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: how to redraw a view

2010-11-26 Thread Chris Hanson
will generally ensure your -drawRect: is invoked at the right time after that. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Re: Core data fetch and multithreading

2010-11-23 Thread Chris Hanson
. Pass JUST its object ID, not the object itself, from one thread to the other. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Re: Core data fetch and multithreading

2010-11-22 Thread Chris Hanson
from a background thread.) This is pretty much the standard for Core Data multithreading: thread isolation of object graphs (as represented by contexts), passing only object IDs( and did-save notifications containing object IDs) between threads. -- Chris

Re: Core data fetch and multithreading

2010-11-22 Thread Chris Hanson
to a background thread. Instead, pass the persistent store coordinator and the IDs of any needed managed objects, and create a managed object context within your operation with. Contexts are cheap, you can use them as scratch pads like this. -- Chris

Re: Codesign failure

2010-11-19 Thread Chris Ridd
there. Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http

Re: unit test exit's abnormally with code 5

2010-11-19 Thread Chris Hanson
. -- Chris On Nov 14, 2010, at 2:33 PM, Shane wrote: I'm trying to put a unit test together, so I've created a new target, added my files to compile and frameworks to link to, then commented out all of my code to where I have an empty setUp, tearDown, and testFunc, but still getting the following

App Store code signing

2010-11-18 Thread Chris Idou
Is this the right forum to ask about the whole business of verifying signatures etc for apps in the app store for Mac? I've been trying to get the code to work, but I'm stumped. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Joining App Developer Program

2010-11-02 Thread Chris Idou
Sorry if this is a little off topic, but I don't know who to ask and I can't get any sense out of Apple. I attempted to join the Mac dev program the day Steve Jobs announced it. A couple of days later I was asked to submit some company documents, which I did, and which was acknowledged. Now

Re: NSFileManager and Resource Forks

2010-10-27 Thread Chris Parker
What are you really trying to do? In general, resource forks on Mac OS X aren't used anymore. NSFileManager preserves them on file moves and copies for legac. And while the ..namedfork bits work now, they're unlikely to continue working in the future. .chris On 27 Oct 2010, at 10:52 AM, k

Multiple instances of [NSUserDefaults standardUserDefaults]

2010-10-23 Thread Chris Idou
I'm printing out the address of [NSUserDefaultsstandardUserDefaults] in several places in my app, and getting a different result! This is causing me problems. I'm using a plugin architecture, so I'm guessing this has something to do with it, but even so, I haven't seen anything like this

Re: Multiple instances of [NSUserDefaults standardUserDefaults]

2010-10-23 Thread Chris Idou
davek...@gmail.com To: Chris Idou idou...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Sat, 23 October, 2010 10:05:01 PM Subject: Re: Multiple instances of [NSUserDefaults standardUserDefaults] Has anyone got any thoughts? I wouldn't be surprised if there's a separate NSUserDefaults instance

Re: Multiple instances of [NSUserDefaults standardUserDefaults]

2010-10-23 Thread Chris Idou
case, it kind of seems pointless that they are two separate classes. - Original Message From: Dave Keck davek...@gmail.com To: Chris Idou idou...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Sat, 23 October, 2010 10:48:01 PM Subject: Re: Multiple instances of [NSUserDefaults

MutableArray and TableView Question

2010-10-19 Thread Chris Share
this line, the code works but the filenames keep getting added to the array which isn't what I want. How do I fix this? Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: MutableArray and TableView Question

2010-10-19 Thread Chris Share
and process them. for(i = 0; i [files count]; i++) { ... And now it works! Cheers, Chris - Original Message From: Chris Share cpsmu...@yahoo.com To: cocoa-dev@lists.apple.com Sent: Tue, 19 October, 2010 5:02:48 PM Subject: MutableArray and TableView Question I'm developing an app in which

How to Post Code to This List

2010-10-19 Thread Chris Share
. Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription

Re: How to create secondary Thread that listens to event taps?

2010-10-19 Thread Chris Hanson
the run loop immediately. That'll let you set a nice high timeout rather than something low like 0.5 or 1, and prevent you from wasting CPU. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

How to Distinguish Between Two TableViews

2010-10-18 Thread Chris Share
objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row How do I do this? In IB the Names and IDs of the two table views are different - do I somehow need to use these? If so, how? Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSOutline and NSTreeController using bindings

2010-10-15 Thread Chris Hanson
]; [myListRootProxy addObject:bar]; [myListRootProxy addObject:baz]; } These will ensure KVO notifications are sent to any observers of your object's myListRoot property when it is modified. Note that it's about modifying the property, not the array behind it. -- Chris On Oct

NSScanner Failing with EXC_BAD_ACCESS

2010-10-15 Thread Chris Tracewell
NOTE :: GC Enabled I am using an NSScanner in an NSString category but am crashing whenever I try to log the string I scanned into or to return it. If I comment out the NSLog there are no problems. NSString *theScannedString; NSScanner *theScanner = [NSScanner scannerWithString:theNewHTML];

Re: NSScanner Failing with EXC_BAD_ACCESS

2010-10-15 Thread Chris Tracewell
wanted. Thanks again for the help. --chris On Oct 15, 2010, at 12:08 PM, Kiel Gillard wrote: http://developer.apple.com/library/ios/documentation/cocoa/reference/foundation/Classes/NSScanner_Class/Reference/Reference.html#//apple_ref/occ/instm/NSScanner/scanCharactersFromSet:intoString: You

Re: NSOutline and NSTreeController using bindings

2010-10-12 Thread Chris Hanson
related to what the data actually represents, e.g. people or products. -- Chris On Oct 12, 2010, at 6:52 AM, Hrishikesh Murukkathampoondi wrote: I moved the code populating myListRoot to the -init method of MyDocument.m and now it works. I was earlier populating it in -awakeFromNib. I am so

Re: NSImage is Caching

2010-10-06 Thread Chris Tracewell
Thanks for the suggestions, I did try that and -recache as well but neither works. I really think this has to be related to the URL caching but I am not sure where to start. I've been diggin through NSURL, NSURLConnection and NSURLCache but have yet to find the solution. -chris On Oct 6

NSImage is Caching

2010-10-05 Thread Chris Tracewell
the freshest image. Thanks in advance. -- chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Re: NSImage is Caching

2010-10-05 Thread Chris Tracewell
Shoulda said I'm using GC On Oct 5, 2010, at 2:56 PM, Jonathon Kuo wrote: You're missing a [theImage release] at the end of your method. On Oct 5, 2010, at 2:46 PM, Chris Tracewell wrote: I have an NSImageView that accepts an image drop then sizes the image and ftp's it to a web server

Re: I want a window's file owner that's not a NSWindowController

2010-09-28 Thread Chris Hanson
free of interesting code either. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: [ANN] Release: NanoStore 1.0 for Mac and iOS

2010-09-23 Thread Chris Hanson
persistent store is not written upon a save, only the data changed. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: What's the point of @properties?

2010-09-20 Thread Chris Hanson
well enough to encapsulate in a debugger macro, if someone so desires. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: What's the point of @properties?

2010-09-20 Thread Chris Hanson
. (Otherwise, it would offer completions like “.retain” and “.copy”.) -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: One last try: how do you make a bookmark bar like Safari?

2010-09-20 Thread Chris Ridd
here but haven't found anything definitive. How have any of you implemented one? Do any of the ones at http://www.harmless.de/cocoa-code.php work for you? Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSOutlineView Drag and Drop

2010-09-14 Thread Chris Williams
/mailman/options/cocoa-dev/chris%40clwill.com This email sent to ch...@clwill.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: Question about architecture

2010-09-11 Thread Chris Hanson
the appropriate “placeholder” views in your main window. Similarly, when it comes to doing things like creating custom views for things like headers, that’s how it’s done in Cocoa. Custom drawing is done by subclassing, not by using drawing tools on a nib. -- Chris

Re: Cocoa-dev Digest, Vol 7, Issue 890

2010-09-08 Thread Chris Tracewell
On Sep 8, 2010, at 10:21 AM, cocoa-dev-requ...@lists.apple.com wrote: The message in the 'if' ([theNumOne compare:theNumTwo]) is an invocation of [NSNumber compare:], not [NSDecimalNumber compare:]. It's not absolutely clear what is supposed to happen when the compare parameter is an

Re: NSNumber compare: Giving Unexpected Results

2010-09-08 Thread Chris Tracewell
On Sep 8, 2010, at 10:21 AM, cocoa-dev-requ...@lists.apple.com wrote: The message in the 'if' ([theNumOne compare:theNumTwo]) is an invocation of [NSNumber compare:], not [NSDecimalNumber compare:]. It's not absolutely clear what is supposed to happen when the compare parameter is an

Re: NSNumber compare: Giving Unexpected Results

2010-09-08 Thread Chris Tracewell
On Sep 8, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote: It's not YES that's being returned as -256, but NO. (The answer is NO in all 3 cases.) -256 is 0xFF00, so you can see that NO (i.e. (signed char) 0) is being correctly returned in the low order byte, with trash in the

Re: NSNumber compare: Giving Unexpected Results

2010-09-08 Thread Chris Tracewell
On Sep 8, 2010, at 1:29 PM, Greg Parker wrote: On Sep 8, 2010, at 12:40 PM, Chris Tracewell wrote: On Sep 8, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote: It's not YES that's being returned as -256, but NO. (The answer is NO in all 3 cases.) -256 is 0xFF00, so you can see

NSNumber compare: Giving Unexpected Results

2010-09-07 Thread Chris Tracewell
I have a category on NSDecimalNumber that seems very straight forward - yet is producing odd results. The code below shows my logging and everything outputs as expected - but the final evaluation does not work. Am I misunderstanding something? -(BOOL)isLessThanZero { NSNumber

Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…

2010-09-04 Thread Chris Parker
. PPC is similar to arm, but things start at $r3 and go a bit further into the registers before moving out to the stack. .chris -- Chris Parker UIKit Apple Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: CALayer -drawInContext and GCD

2010-09-02 Thread Chris Parker
to be calling +[CATransaction flush] directly. You'll cause all sorts of unexpected things to happen w.r.t. extant CATransactions. You should let +flush be called at the end of the run loop on its own. .chris ___ Cocoa-dev mailing list (Cocoa-dev

Re: CALayer -drawInContext and GCD

2010-09-02 Thread Chris Parker
, or after a group of related displays/animations. .chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Re: iTunes 10 UI

2010-09-02 Thread Chris Suter
. Kind regards, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription

Re: Core Data and REST

2010-08-29 Thread Chris Hanson
, or as a local database synchronized (via your own mechanism) with a server. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Re: Set the Cursor Position

2010-08-19 Thread Chris Williams
software that warps the pointer's location independent of the mouse is much un-loved on the Mac. SB much unloved on the planet. Am in the process of fixing another program that does this (on another OS) and it's the most frustrating UI I've ever been exposed to.

Re: Erratic Cocoa Behavior

2010-08-17 Thread Chris Hanson
Are you using threads, operations or queues (dispatch)? — Chris On Aug 16, 2010, at 8:14 PM, k...@highrolls.net wrote: Thanks. I am not doing any Quartz debug, so I rule that out. I have nothing set in info.plist for NSShowAllDrawing. -koko On Aug 16, 2010, at 8:16 PM, John C

How to search for specific bindings in IB

2010-08-09 Thread Chris Tracewell
On occasion I refactor a controller or model by deleting a property. I do my best to remove associated bindings in IB, but many times I miss something - a textfield bound to a deleted property for example. This leads to... this class is not key value coding-compliant for the key myProperty. In

Best Way To Bind Sum/Difference of Two Arrays?

2010-07-31 Thread Chris Tracewell
I have two arrays, A and B, that each contain objects that have a myTotal property. In IB I use an array controller for each and show their contents in separate NSTableview's and then display the sum for each by binding to respective NSTextField's using the @sum array operator on their

Calling Matlab from Cocoa

2010-07-30 Thread Chris Goedde
different environments, and I could really benefit from a brief high-level road map. So, if anyone has done something like this, I'd really appreciate a couple of pointers to set me off in the right direction. Thanks. Chris Goedde ___ Cocoa-dev mailing

Re: Calling Matlab from Cocoa

2010-07-30 Thread Chris Goedde
On Jul 30, 2010, at 12:27 PM, Sherm Pendley wrote: On Fri, Jul 30, 2010 at 1:00 PM, Chris Goedde cgg.li...@gmail.com wrote: Anyone here have any experience calling Matlab from a Cocoa program? I have a rather complex calculation that I've implemented in Matlab that I would like to call

Cannot Validate Property - ioValue

2010-07-26 Thread Chris Tracewell
Using GC, 10.6 and XCode 3.2.2 - I just implemented a validation method for the myQuantity property of one of my models and cannot get it to work. The problem is with the ioValue, it locks up the app whenever I try to read it. After much frustration I simplified the validation to below an it

Re: Array controllers in code?

2010-07-23 Thread Chris Hanson
in financial calculations. NSDecimalNumber also has calculation methods to use, so the OP doesn't need to use +-*/%, but rather the equivalent methods on NSDecimalNumber instances. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Sanity Check

2010-07-07 Thread Chris Hanson
a +sharedSewAndColorController method that returns a singleton instance (allocating one if it doesn’t exist yet). — Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

configurePersistentStoreCoordinatorForURL:ofType: modelConfiguration: storeOptions:error

2010-06-30 Thread Chris Idou
According to the doco, the above method is used to customise creation of the persistent store especially with regards to the store type. So I've been using the below code, which works perfectly fine for NSBinaryStoreType and NSXMLStoreType, but with NSSQLiteStoreType I get lots of merge

core data could not merge changes

2010-06-25 Thread Chris Idou
I've done a lot of core data development, but all using the XML file format. Now I'm trying to work with sqlite. I've got an app that was working, but when I change to sqllite I get errors. I've got a really basic application, nothing particularly special about it as far as I see, and when I

Re: Compile Error: undeclared (first use in this function) -- While Init'ing an Object

2010-06-25 Thread Chris Tracewell
On Jun 24, 2010, at 6:59 PM, Graham Cox wrote: On 25/06/2010, at 7:52 AM, Chris Tracewell wrote: Obviously, I have a setting wrong somewhere as it is seeing an older version of the framework than I am linking to. Any thoughts where I should look? If the problem is that it can't see

Re: Compile Error: undeclared (first use in this function) -- While Init'ing an Object

2010-06-24 Thread Chris Tracewell
On Jun 22, 2010, at 2:11 PM, Kyle Sluder wrote: On Tue, Jun 22, 2010 at 2:03 PM, Chris Tracewell ch...@thinkcl.com wrote: I have my own custom framework. The framework builds fine but when I link to it in one of my projects one class is causing a compile error of... 'MyClass' undeclared

accessing core data sqlite from utility

2010-06-24 Thread Chris Idou
I've got a core data database in sqlite format, and I thought I'd download a utility to look inside it. But I've downloaded about 4 utilities that purport to be able to open sqlite databases and none of them can open it, they give errors along the lines of it being encrypted and needing a

Re: accessing core data sqlite from utility

2010-06-24 Thread Chris Idou
OK, my stupidity, I was looking at a NSBinaryStoreType and not sqlite. Next question: is there any utility for looking inside a NSBinaryStoreType? - Original Message From: Jens Alfke j...@mooseyard.com To: Chris Idou idou...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Fri, 25 June

Compile Error: undeclared (first use in this function) -- While Init'ing an Object

2010-06-22 Thread Chris Tracewell
errors. I have cleaned and built both the framework and linking project a gizillion times hoping to jiggle something - but no luck. Any suggestions? - Chris XCode 3.2.2 :: GC :: OS X 10.6___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Compile Error: undeclared (first use in this function) -- While Init'ing an Object

2010-06-22 Thread Chris Tracewell
On Jun 22, 2010, at 2:11 PM, Kyle Sluder wrote: On Tue, Jun 22, 2010 at 2:03 PM, Chris Tracewell ch...@thinkcl.com wrote: I have my own custom framework. The framework builds fine but when I link to it in one of my projects one class is causing a compile error of... 'MyClass' undeclared

Re: merging NSWindow and NSView controllers

2010-06-19 Thread Chris Hanson
What kind of drawing in their NSView do these controllers do right now? Perhaps that code should be in an NSView subclass and that subclass should be used in both controllers' nibs. -- Chris On Jun 19, 2010, at 4:58 PM, Shane software.research.developm...@gmail.com wrote: I have

Re: My Custom Framework Is Not Exporting One of My Header Files

2010-06-09 Thread Chris Tracewell
On Jun 8, 2010, at 6:26 PM, Graham Cox wrote: On 09/06/2010, at 11:20 AM, Chris Tracewell wrote: Why would it not be exporting the file? Yes, I added it to the target when I created the file. Right-click the file in Xcode and set its role to Public. This necessary step is very

My Custom Framework Is Not Exporting One of My Header Files

2010-06-08 Thread Chris Tracewell
for the help -Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http

Re: Notification of window visible?

2010-06-06 Thread Chris Idou
Is it? Can't a window become visible without becoming key? - Original Message From: Reinhard Segeler macmeid...@googlemail.com To: Chris Idou idou...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Fri, 4 June, 2010 4:18:03 PM Subject: Re: Notification of window visible

Notification of window visible?

2010-06-03 Thread Chris Idou
How does one get notification that a window has become visible? I can see notifications for most every type of window event except this most obvious one. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Stealing settings from Mail.app

2010-06-01 Thread Chris Idou
://github.com/tcurdt/edmessage to send mails. Does your framework have any benefits over that one? - Original Message From: Dante Palacios palacios.da...@gmail.com To: Chris idou...@yahoo.com Sent: Tue, 1 June, 2010 1:38:04 PM Subject: Re: Stealing settings from Mail.app Hi Chris, There's

Re: Stealing settings from Mail.app

2010-06-01 Thread Chris Idou
BTW, what exactly are the downsides of sending the mail to local machine sendmail? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Stealing settings from Mail.app

2010-05-31 Thread Chris
Thanks, it was the iTools bit I needed. But looks like there is a bug in this code it won't notice me.com and could wrongly think say macdonald.com is mobile me. But thanks, it gives me what I needed. -- Chris On 31/05/2010, at 8:11 PM, Dante Palacios palacios.da...@gmail.com wrote: NSString

Re: Stealing settings from Mail.app

2010-05-30 Thread Chris Idou
: Stealing settings from Mail.app Chris Idou wrote: I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. AFAIK, there is only the one MobileMe password for all uses

Re: six things I wasn't able to do with Cocoa

2010-05-29 Thread Chris Hanson
painful? What would you expect to be different about a “simple list” — a table with only one column — compared to a table with multiple columns? — Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Stealing settings from Mail.app

2010-05-28 Thread Chris Idou
I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. Does anyone know where Mail.app stores other passwords? Or why my keychain has smtp.gmail.com passwords, but

Re: NSDoc's Magic File Watcher Ruins Core Data Migration [SOLVED]

2010-05-24 Thread Chris Parker
; .chris -- Chris Parker iPhone Frameworks Apple Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Re: Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Chris Hanson
You're thinking of otool, not otest. OCUnit's otest does load bundles, but it doesn't open (say) ARM bundles on Intel-based Macs. You can't load a bundle for one platform on another. They're different platforms... -- Chris On May 5, 2010, at 1:10 PM, Bill Bumgarner b...@mac.com wrote

Re: converting resources, icons, and dialogs to interface builder

2010-05-04 Thread Chris Hanson
but no NSDialog, I don't think it's just a matter of naming differences.) Moving your codebase to Cocoa is a great point to clean up these sorts of things. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: CoreData in predicate

2010-05-02 Thread Chris Hanson
On May 2, 2010, at 6:03 AM, Rick Mann wrote: I saw that, I had hoped that by not specifying an attribute, it would mean the object itself, not an attribute on the object. Predicates have the “self” keyword for that. — Chris ___ Cocoa-dev

Re: advancementForGlyph problem

2010-04-29 Thread Chris Backas
close to the estimated size you're expecting. Perhaps this negative value implies that the drawing of this glyph is actually to start from *slightly* in the previous character's area? Total guess, feel free to ignore etc etc ;) Chris Backas On Apr 28, 2010, at 2:49 PM, David F. wrote

Re: menu madness with retain count

2010-04-27 Thread Chris Hanson
would generally assume any Cocoa nibs these days should have a subclass of one of those two classes (or NSApplication, in the case of the main nib file) as its File’s Owner. — Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSDictionaryController)

2010-04-26 Thread Chris Parker
a setting in Interface Builder which should warn you about this kind of thing - if you're setting the deployment target for the nib correctly then IB should warn you that you're encoding something that 10.4 knows nothing about. .chris -- Chris Parker iPhone (formerly Cocoa) Frameworks Apple

Re: -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSDictionaryController)

2010-04-26 Thread Chris Parker
On 26 Apr 2010, at 5:03 PM, Jack Repenning wrote: On Apr 26, 2010, at 4:34 PM, Chris Parker wrote: if you're setting the deployment target for the nib correctly then IB should warn you that you're encoding something that 10.4 knows nothing about. Ah, swell ... yet one more spot

Newbie Q (Distributed Objects)

2010-04-25 Thread Chris Eccles
and which does NOT display the remObject as having been found and assigned in NSLog, but simply (null). Am I doing something so obviously crazy that I can't see it ? ? Thanks in advance Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

NSTableView delete row with key?

2010-04-21 Thread Chris Idou
What would be the appropriate way to have an NSTableView notice that you hit the delete key and delete the current row? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: [ANN]: RegexKitLite 4.0

2010-04-21 Thread Chris Backas
(Mac Apps, iPad Apps, iPhone Apps, Productivity Apps) etc, and then different sites/people put different things on their lists. You could pretty quickly get a list of unique programs much larger than 10 ;) -Chris Backas CONFIDENTIALITY NOTICE: This email (and any related attachments

Re: Does XCode 3.2 Documentation Browser Stink?

2010-04-16 Thread Chris Tracewell
Noted... I'll file the bug report but will spare the xcode-users subscribers the post as you answered my question. Thank you. --Chris On Apr 15, 2010, at 5:28 PM, Kyle Sluder wrote: On Thu, Apr 15, 2010 at 4:48 PM, Chris Tracewell ch...@thinkcl.com wrote: Okay, so now that I flew off

Re: NSNumberFormatter not working for me ?

2010-04-15 Thread Chris Kane
for what you want to do by writing your own algorithm. You could mold that into the form of an NSFormatter subclass then, if that is useful to you, or just keep it off to the side as a helper function/method. Chris Kane Cocoa Frameworks, Apple ___ Cocoa

Does XCode 3.2 Documentation Browser Stink?

2010-04-15 Thread Chris Tracewell
Am I missing something or does the new Documentation viewer for XCode 3.2 suck? I just upgraded my dev machine to Snow Leopard and installed XCode 3.2 and went to look up some Obj-C classes and everything is wacked. Gone is the filtered search results TableView above my the documentation pages

Re: Efficiently iterating files on the iPhone

2010-04-14 Thread Chris Parker
using NSFileManager and asking for fileAttributes using an NSDirectoryEnumerator. And as that gets faster, you'll get faster. If you're that worried about it, though, it implies you have a ton of files you're iterating over. Is that really the case? .chris -- Chris Parker iPhone Frameworks Apple

Re: NSImageView Will Not Alias Images

2010-04-12 Thread Chris Tracewell
On Apr 6, 2010, at 8:16 PM, Ken Ferry wrote: This was once true, but is out of date. I'd like to see a test app. For example, how do you know you aren't getting antialiasing? It may be that you just don't like the output. :-) Well - NSImageInterpolationHigh and NSImageInterpolationNone

Re: Data managment

2010-04-12 Thread Chris Ridd
On 12 Apr 2010, at 17:33, Jens Alfke wrote: There are also other data storage libraries that have a simpler data model than sqlite (they’re like on-disk NSDictionaries) so they’re a bit simpler to use and can potentially run faster. Tokyo Cabinet seems like the main contender in that area

NSTableView Key Value Observing performance pickle

2010-04-08 Thread Chris Idou
I seem to have got myself into some pickle with key value observing whereby things to do with NSTableView are freezing up for minutes at a time. Every time I pause the program there are things to do with adding and removing observers, but all of it is in Apple's code, so I'm not quite sure

Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];

2010-04-07 Thread Chris Idou
I've got some code that uses editColumn:0 to force the user into edit mode on the first column. But I've noticed that if user column reordering is allowed, this no longer edits the correct column. This seems odd to me because I thought Cocoa pretty much shielded the programmer from all the

NSImageView Will Not Alias Images

2010-04-06 Thread Chris Tracewell
I am trying to get NSImageView to alias dropped images, but it refuses. Just spent an hour looking and trying several variations to no avail. Here's what I have done in a subclass of NSImageView. -(void)drawRect:(NSRect)rect { [[NSGraphicsContext currentContext]

Tricky binding and continuous update problem

2010-04-06 Thread Chris Idou
I've got a problem that I had working, but my app suddenly seems broken, and I'm not sure if I did something or what. All I know is old versions of my app work, but now my code base doesn't. I've got a UI with a NSTableView at the top, and some individual fields at the bottom. Typical UI

Re: NSImageView Will Not Alias Images

2010-04-06 Thread Chris Tracewell
On Apr 6, 2010, at 4:50 PM, Ken Ferry wrote: On Tue, Apr 6, 2010 at 2:58 PM, Jens Alfke j...@mooseyard.com wrote: On Apr 6, 2010, at 1:17 PM, Chris Tracewell wrote: I am trying to get NSImageView to alias dropped images, but it refuses. Nitpick: you mean antialias. Aliasing is what

Re: Tricky binding and continuous update problem

2010-04-06 Thread Chris Idou
I am using an NSArrayController. I don't know, it seems to me like having everything always in synch is nicer. The user can see immediately how changing one field is affecting the other. And it used to work. - Original Message From: Jerry Krinock je...@ieee.org To: Chris Idou idou

Re: Tricky binding and continuous update problem

2010-04-06 Thread Chris Idou
://stackoverflow.com/questions/1028700/core-data-strange-bindings-error-on-re-opening-a-document-help - Original Message From: Kyle Sluder kyle.slu...@gmail.com To: Chris Idou idou...@yahoo.com Cc: Jerry Krinock je...@ieee.org; cocoa-dev@lists.apple.com Sent: Wed, 7 April, 2010 11:21:28 AM

Re: Allowing incoming connections.

2010-03-25 Thread Chris Hanson
on every update to the application. — Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: App modal window and secondary thread

2010-03-20 Thread Chris Hanson
on a background thread just as a matter of cleanliness. I'd implement a delegate/callback/notification for my background processor to tell whatever is controlling it that it's done. That's what would invoke abortModal - and it would do that on the main thread/queue. -- Chris

Re: Better sorting using threads?

2010-03-12 Thread Chris Ridd
of NSArrays at http://ridiculousfish.com/blog/archives/2005/12/23/array/ Cheers, Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: Custom View in Toolbar

2010-03-05 Thread Chris Hanson
can use “Build Analyze” to run the clang static analyzer against your code. Among other checks, the static analyzer understands and can validate Cocoa memory management and catch both over-releases and leaks. — Chris ___ Cocoa-dev mailing list

Correct way to overide synthesized setter?

2010-02-28 Thread Chris Tracewell
I have two synthesized properties - A and B. Whenever A changes I need B to be updated to A.keypath. Is the correct way to do this to override the synthesized setter of A like so? -(void)setA:(id)value { A = value [self setB:A.keypath]; } Thanks.

<    1   2   3   4   5   6   7   8   9   10   >