Re: Garbage Collection makes my app look fat

2008-02-25 Thread j o a r
: info gc-roots info gc-references j o a r ___ 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: NSString floatValue issue

2008-02-26 Thread j o a r
add better error checking: if ([scanner scanInt: numerator]) { // Continue parsing } j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: iChat Theatre

2008-02-27 Thread j o a r
anyone tell me what I might be doing wrong? Hello Mark, Perhaps this is your problem: http://www.cocoabuilder.com/archive/message/cocoa/2008/2/8/198326 You wouldn't be the first one to bump into that... Cheers, j o a r ___ Cocoa-dev mailing

Re: complex views in a tableview

2008-02-28 Thread j o a r
yourself, or attempt to modify / tweak / hack one of the existing controls. You can hack the NSTableView to sort of work that way, like I showed with my SubViewTableView example, or you might be able to hack the NSCollectionView to sort of work that way. Good luck! j o a r

Re: [NSOutlineView] How to know an item is expanded if its parent item is not?

2008-03-01 Thread j o a r
o a r ___ 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: large documents with doc based app

2008-03-05 Thread j o a r
-by-piece. You typically don't want to load all of it into RAM at once. j o a r ___ 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: How to set Document Icon when saving

2008-03-06 Thread j o a r
/documentation/Cocoa/Conceptual/Documents/Tasks/ImplementingDocApp.html j o a r ___ 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: warning: assignment from distinct Objective-C type

2008-03-11 Thread j o a r
instances that are strongly typed (NSFileManager, NSHost, NSNull, et.c.). j o a r ___ 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: NSTableView + delete button?

2008-03-11 Thread j o a r
in NSText.h (and in the documentation). j o a r ___ 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: XCode3 errors on startup

2008-03-18 Thread j o a r
/16930 j o a r ___ 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: Getting notifications when any file in a folder change

2008-03-18 Thread j o a r
/FSEvents/index.html j o a r ___ 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

Re: How do I disable this warning: local declaration of 'varname' hides instance variable

2008-03-23 Thread j o a r
Chuck, * You really shouldn't suppress these warnings * If you use ObjC 2.0 properties you don't have to write those accessors in the first place, and * If you use ObjC 2.0 properties, you can use this form without warnings: self.foo = foo; j o a r On Mar 23, 2008, at 8:59 PM

Re: How to delay application quit?

2008-03-25 Thread j o a r
should never be released); [super dealloc]; } This communicates better what your intention is, and also catches the unlikely case of this instance ever being deallocated when it shouldn't, or if the class is being repurposed to a multi-instance pattern. j o a r

Re: How to delay application quit?

2008-03-25 Thread j o a r
for apps compiled on a newer version of the OS. j o a r ___ 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: Main Thread UI and Detached Thread

2008-03-31 Thread j o a r
might need to throttle or otherwise limit your callouts to the main thread if this proves to be the problem. You can use Instruments or Shark to get a view of the work being performed on the main thread while you run your worker thread. j o a r

Re: Main Thread UI and Detached Thread

2008-03-31 Thread j o a r
*... How do you notify the controls in the UI that they need to update to reflect new values? What is the total time required to run the task by your worker thread? j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Main Thread UI and Detached Thread

2008-03-31 Thread j o a r
not call -display directly. This is a pretty simple app and I don't have time to dive into performance tools to discover why a single thread in a 10-page app isn't doing what it's advertised to do. I don't think you're saving any time by not learning how to use the performance tools. j o

Re: How to replace image contents?

2008-04-09 Thread j o a r
a really good place to learn more about our tools - and everything else related to development on the Mac. Cheers, j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: ObjC static member variable

2008-04-10 Thread j o a r
of the class No, ObjC doesn't have any support for static member variables. j o a r ___ 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: ObjC static member variable

2008-04-10 Thread j o a r
On Apr 10, 2008, at 12:48 PM, j o a r wrote: No, ObjC doesn't have any support for static member variables. Btw. For ObjC I think it would be more appropriate to call them class variables. j o a r ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSArray to NSString

2008-04-13 Thread j o a r
to have a look at the NSTextStorage property of your text view. j o a r ___ 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: Why should we set ivars to nil in dealloc?

2008-04-13 Thread j o a r
. ...but if your code is designed in a way where messages are sent to deallocated objects, I would say that you should solve that problem, and not set your instance variables to nil. Fix it at the source. j o a r ___ Cocoa-dev mailing list (Cocoa-dev

Re: Why should we set ivars to nil in dealloc?

2008-04-13 Thread j o a r
this happening in your app, the more expensive it will be to fix it once it becomes a more serious problem. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: NSArray to NSString

2008-04-13 Thread j o a r
textStorage], NSStringFromRange([textView selectedRange]), aString, [aString string]); j o a r ___ 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

Re: Why should we set ivars to nil in dealloc?

2008-04-13 Thread j o a r
to something that could never be an object address - Like 0x1. j o a r ___ 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: Why should we set ivars to nil in dealloc?

2008-04-14 Thread j o a r
your superclass, is fraught with peril and typically incorrect. Always use accessor methods / properties for that type of situation. Also keep in mind what I said earlier in this thread about calling out from init/dealloc - It's dangerous! j o a r

Re: NSTableView memory usage

2008-04-14 Thread j o a r
that you take a look at the performance tool Instruments, in particular the Object Allocations and Leaks templates that should be able to answer these questions. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Subclassing

2008-04-18 Thread j o a r
/ context property, to // which the DeductionLine responds by instantiating an appropriate // Dependency subclass. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: max # of file handles

2008-04-19 Thread j o a r
might find a reference to such a function? Sounds like a job for DTrace, at least if everything else fails. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: [Ann] DMG Canvas

2008-04-22 Thread j o a r
though. j o a r ___ 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: Inserting my own Responder before App?

2008-04-23 Thread j o a r
to be the delegate of the window? That's how it ends up in the responder chain. In this way it would appear *before* the app, which typically is what you want. If you want to add something *after* the app, don't use a window controller, use an application delegate. j o a r

Re: Screen Recording APIs ?

2008-04-25 Thread j o a r
Check out: CGRegisterScreenRefreshCallback(), and CGWindowListCreateImage() Documentation is a bit limited at this point, but they're pretty easy to figure out. j o a r On Apr 25, 2008, at 11:35 AM, Marcio Castilho wrote: I am new to programming in Mac OSX. I need to do

Re: Immediate memory release

2008-04-30 Thread j o a r
On Apr 30, 2008, at 7:27 PM, Jens Alfke wrote: I also changed the pool calls to the current recommended names: +new and -drain. Can you point me to where the official documentation recommends the use of +new over +alloc-init? Thanks, j o a r

Re: trouble debugging input method remotely

2008-05-01 Thread j o a r
Debugger instead of having to set up remote debugging. I'm not sure if you could, but it would be easier, and probably worth a try. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Multiple controls in a table cell

2008-05-05 Thread j o a r
or NSRuleEditor instead of that old hack... :-) You can also create a custom cell subclass to solve this type of problem. This is a good piece of sample code to show how that works: http://developer.apple.com/samplecode/PhotoSearch/ j o a r

Re: Multiple controls in a table cell

2008-05-07 Thread j o a r
that it can be made to work, but you need to keep in mind that it is sample code, not a fully fleshed out component. You should expect there to be things that you have to fix, and complement. A thing that comes to mind is tab focus key chain management. Good luck, j o a r

Re: How to send email without using email client

2008-05-09 Thread j o a r
in the Cocoa community - much like Sparkle, Growl, et.c. j o a r ___ 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

Re: Crashes with NSOpenPanel and garbage collection

2008-05-11 Thread j o a r
there isn't anything I can do about it :P should do the trick :) See: LSMinimumSystemVersion http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-113253 j o a r ___ Cocoa-dev

Re: xcode crashes on adding an embedded framework

2008-05-14 Thread j o a r
bug report. Don't forget to include information about the version of Mac OS X and Xcode that you're using. Thanks, j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: window controller's [self window] not working

2008-05-14 Thread j o a r
I modified it.) I am just getting used to IB3 but don't see what or how I could have broken the connection. Are there any obvious culprits? Double-check that the window property of the window controller (files owner) is connected to the window in your nib file. j o a r

Re: validateMenuItem() not always being called

2008-05-18 Thread j o a r
On May 18, 2008, at 3:46 PM, Hal Mueller wrote: -validateMenuItem: is deprecated Really? Where is this documented? j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Cocoa et al as HCI usability problem

2008-05-19 Thread j o a r
an influx of new people come with fresh ideas. Please file bug reports for any concrete problems you find or suggestions that you have: http://developer.apple.com/bugreporter/ j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Problem with updating NSProgressIndicator

2008-05-20 Thread j o a r
this in exceptional situations. It is much more common to flag a control as needing to update display, in which case you would call -setNeedsDisplay:. In this case though, you shouldn't have to do either, as the call to -setDoubleValue: will flag the control as needing display. j o a r

Re: Cocoa et al as HCI usability problem

2008-05-21 Thread j o a r
think that it's fair of us to expect you to provide an informed comparison before you have more experiences with both environments. Regards, j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Cocoa et al as HCI usability problem

2008-05-21 Thread j o a r
platform. It's great to have an influx of new people come with fresh ideas. Please file bug reports for any concrete problems you find or suggestions that you have j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Application rights.

2008-05-22 Thread j o a r
: http://developer.apple.com/documentation/DeveloperTools/Conceptual/PackageMakerUserGuide http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: What is an id?

2008-05-22 Thread j o a r
if you're using a text cell, an image if you're using an image cell, and so on. The reason for using id here is to allow you to use any type of object value as the source of data for your cell to display. j o a r ___ Cocoa-dev mailing list (Cocoa

Re: NSString vs NSPathStore2

2008-05-22 Thread j o a r
to convert NSPathStore2 to an NSString? How do you determine that this is a problem? What is the problem? j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: How can i get current system time?

2008-05-31 Thread j o a r
date and time. j o a r ___ 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

Re: KVO: I get called on change, but then can't get the object

2008-05-31 Thread j o a r
: _NSControllerObjectProxy: 0x177cb0 But if I change it to @selection.number, it throws the exception: [NSTreeController 0x1722e0 valueForUndefinedKey:]: this class is not key value coding-compliant for the key selection.number. What happens if you call -valueForKeyPath: instead of -valueForKey:? j o a r

Re: super respondsToSelector

2008-05-31 Thread j o a r
design if you find that to be a problem in practice: http://en.wikipedia.org/wiki/Code_smell j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: NSArray

2008-06-01 Thread j o a r
a window controller. You would also typically set the data source in IB, and not in an action method. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: to use the default about panel

2008-06-01 Thread j o a r
On Jun 1, 2008, at 5:56 PM, Nick Rogers wrote: How can I make changes to the default about panel? Or do i have to add my own panel? Have a look at this technote: http://developer.apple.com/technotes/tn2006/tn2179.html j o a r ___ Cocoa-dev

Re: many-to-many relationships and retain cycles

2008-06-02 Thread j o a r
a non-retaining array class or come up with another solution to this problem? Or is there anything in particular I should watch out for when subclassing NSMutableArray? If you're only targeting Leopard or later, you might want to take a look at NSPointerArray. j o a r

Re: many-to-many relationships and retain cycles

2008-06-02 Thread j o a r
awesome. It was introduced together with the new NSMapTable and NSHashTable classes [*], primarily to support using Cocoa together with Garbage Collection. j o a r [*] Not to be confused with the older C-API with the same name ___ Cocoa-dev mailing

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread j o a r
immutable, this is typically cheap. See the Copying Mutable Versus Immutable Objects optimization here: http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/ImplementCopy.html#//apple_ref/doc/uid/2049-999791 j o a r ___ Cocoa

Re: Versioning MainMenu.nib

2008-06-04 Thread j o a r
could load this debug menu from a nib file, but I would probably suggest that you just create and insert it programatically. See the API in NSApplication (for how to get a reference to the main menu), and the API in NSMenu NSMenuItem (for how to create and insert the menu). j o a r

Re: Where to start looking to fix hang?

2008-06-04 Thread j o a r
list. That would tell you where it's hanging. j o a r ___ 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: Getting rid of specific May not respond messages

2008-06-05 Thread j o a r
it sometimes gets rid of the message, but not always (can't seem to get rid of the three shown here, ever.) These are all methods added in Mac OS X 10.5. Check the SDK settings for your target. j o a r ___ Cocoa-dev mailing list (Cocoa-dev

Re: App hangs when displaying any sheet in 10.5 [SOLVED]

2008-06-06 Thread j o a r
of compilation. This also enforces the coding style convention that methods and selectors must be declared before being used. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: IKImageBrowserView is bonkers

2008-06-06 Thread j o a r
use an existing embedded thumbnail / preview to improve perceived performance. j o a r ___ 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: Expanding Window/View

2008-06-09 Thread j o a r
:NSCollectionView j o a r ___ 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: Updating a progress bar from a code loop

2008-06-10 Thread j o a r
it on a background thread. You should put a lot of effort into always leaving the main thread open for user events. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Updating a progress bar from a code loop

2008-06-10 Thread j o a r
. j o a r ___ 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: Garbage collector vs variable lifetime

2008-06-11 Thread j o a r
with peril. Do you feel the same way about passing a (char *) to a method that takes a (const char *)? I think that it's perfectly reasonable to expect the receiver of the piece of data, or object, that you hand over to respect the basic restrictions of that type. j o a r

Re: NSOutlineView threading problem

2008-06-14 Thread j o a r
o a r ___ 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: NSOutlineView threading problem

2008-06-16 Thread j o a r
, that doesn't mean that subclasses have even the same level of thread safety - unless explicitly called out in the documentation. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: awakeFromNib

2008-06-16 Thread j o a r
should fix. The view objects in your application should not double as model objects - See: The MVC design pattern. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: NSOutlineView threading problem

2008-06-16 Thread j o a r
and ask for an update. There might be some sort of misunderstanding: http://developer.apple.com/contact/ j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: NSOutlineView threading problem

2008-06-16 Thread j o a r
threads - As long as they're only ever used from one thread at a single time. Et.c., et.c. The complexity of this topic makes it difficult to create the same type of documentation that we enjoy for the simple API reference of classes and methods. j o a r

Re: NSSound thread-safety?

2008-06-16 Thread j o a r
asynchronously. j o a r ___ 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

Re: Send Key Event to Focused Window

2008-06-18 Thread j o a r
://developer.apple.com/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html I assume that you've already familiarized yourself with the Accessibility APIs: http://developer.apple.com/documentation/Cocoa/Conceptual/Accessibility/cocoaAXIntro/cocoaAXintro.html j o a r

Re: Send Key Event to Focused Window

2008-06-18 Thread j o a r
. The OS prevents you from interacting directly with the internals of other applications for stability and security reasons. You should be able to do what you want using Quartz Event Services. Is there a way to build a focus-less application/window? Can you explain what you mean by that? j o

Re: Problem with NSWindow setFrame

2008-06-19 Thread j o a r
constrains itself to the screen. http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html#//apple_ref/doc/uid/2228-135785 j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Creating a Bundle via Code

2008-06-20 Thread j o a r
a bundle. You can just store the image data as files in the file system. I'm also curious as to why you decompress the JPEG file? If you got the image as a compressed JPEG, why not store it as is? j o a r ___ Cocoa-dev mailing list (Cocoa-dev

Re: Creating a Bundle via Code

2008-06-20 Thread j o a r
by the user? It sounds like you go from JPEG - NSImage - NSData? Instead of creating a NSImage, how about just storing the JPEG as is to the file system first, and only later generating NSImages as needed for display in your application. j o a r

Re: Creating a Bundle via Code

2008-06-20 Thread j o a r
that you intercept the drag operation and copy the file directly. You should be able to do this quite easily if you subclass the image view: http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/DragandDrop.html j o a r ___ Cocoa

Re: How to prevent NSControl from graying out when sent to background?

2008-06-24 Thread j o a r
active while actually being hosted by a background application. As such, the progress indicator in one of them is grayed out, how do I prevent it from doing that? Create a custom NSWindow / NSPanel subclass that overrides - isKeyWindow to always return YES. j o a r

Re: Help getting custom cell layout in NSOutlineView column

2008-06-27 Thread j o a r
subclass: http://developer.apple.com/samplecode/PhotoSearch/ j o a r ___ 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: Garbage Collection woes...

2008-06-29 Thread j o a r
developers will find that Garbage Collection works absolutely fine, and that runtime performance is about the same (sometimes better, sometimes worse) compared with using manual memory management. j o a r ___ Cocoa-dev mailing list (Cocoa-dev

Re: Newbie question: Timers

2008-06-30 Thread j o a r
into? What is best? There is no way to do that in IB, you would have to set up the timer in code, but that's easy enough - Check the documentation for the NSTimer class. What are you going to use the timer for? There might be something else that would be better for you to use in Cocoa. j o

Re: Importing Xcode 2.x projects into Xcode 3

2008-07-08 Thread j o a r
think that would be considered a bug in IB 3, and not an expected side effect. If you can verify that this is the case, and in particular if you can reproduce the problem, you should file a bug report here: http://developer.apple.com/bugreporter/ j o a r

Re: Blue lines

2008-07-15 Thread j o a r
(shouldn't be that hard), but interface builder manages to do it between objects that aren't connected by ANY view, and I am not sure how to do that. IB probably uses one or more separate transparent windows to hold the connection lines. j o a r

Re: Attributed string to an Image without window

2008-07-16 Thread j o a r
of daemon-safe frameworks: http://developer.apple.com/technotes/tn2005/tn2083.html#SECLAYEREDFRAMEWORKS j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: just don't get it...

2008-07-17 Thread j o a r
that document like this: NSApp Main Window Window Controller Document j o a r ___ 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: NSMutableDictionary autorelease chrashes application

2008-07-18 Thread j o a r
On Jul 18, 2008, at 11:51 AM, Andy Lee wrote: I don't see the difference from the caller's point of view. There isn't any, and that was not MMalcs point. His point was that you were using the term autoreleased incorrectly. j o a r ___ Cocoa

Re: observers removed?

2008-07-27 Thread j o a r
is: It depends. If you're using GC, you wouldn't have to remove the observer. If you're not using GC, you would. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: IKSlideshow Question

2008-08-07 Thread j o a r
likely a very well known bug. You might still want to file a bug report to indicate interest in getting this API fixed for some future release. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Get specified window from nib

2008-08-11 Thread j o a r
describe your application, and your use of nib files, it might be that we could provide some suggestions for cutting down on that number. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: how to implement the auto-complement function like Xcode 3.x?

2008-08-13 Thread j o a r
one. Moreover, the Xcode-style of auto-implement is exactly what I want. This feature can improve the efficiency and productivity of users greatly. Have a look at the NSTextView - textView:completions:forPartialWordRange:indexOfSelectedItem: delegate method. j o a r

Re: @try @catch

2008-08-14 Thread j o a r
one, perhaps not even primarily one, of performance considerations. j o a r ___ 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 respondsToSelector

2008-08-18 Thread j o a r
the trailing :). j o a r ___ 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: passing an object between views

2008-08-19 Thread j o a r
at this: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Tasks/masterdetail.html j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: !foo vs foo == nil

2008-08-20 Thread j o a r
with that, but in addition, you can learn to type: if (nil == foo) Problem solved! :-) I personally much prefer to have if-statements that clearly evaluate to a boolean value. More intention revealing, and to me that's more important than being terse. j o a r

Re: NSWindowController, owner, primary window...

2008-08-21 Thread j o a r
in this particular case. j o a r ___ 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: Undocumented Leopard support for overlapping sibling views

2008-08-28 Thread j o a r
this documented? Can we rely on overlapping sibling views working now and in the future? Are there any caveats we should be aware of? Hello, Please file a couple of bug reports on this: http://developer.apple.com/bugreporter/ Thanks! j o a r

Re: What to use observeValueForKeyPath: context

2008-08-29 Thread j o a r
context. After all there's no penalty for being verbose in this case. Of course using a pointer to a global solves this too. The penalty for using constant strings is that they will end up wasting space in your binary... Rons suggestion is probably optimal. j o a r

Re: Creating movie on background thread

2008-09-02 Thread j o a r
On Sep 2, 2008, at 12:55 AM, Roger Herikstad wrote: Since the Carbon stuff is not 64 bit Not correct: Some of it is, some of it isn't. Read the API reference documentation and release notes to figure out which is what. Besides, QTKit is a Cocoa framework. j o a r

Re: Creating movie on background thread

2008-09-02 Thread j o a r
of the QTMovie idle state. http://developer.apple.com/technotes/tn/tn2125.html I'm not an expert on this - you might want to consult a QT specific mailing list for a definitive answer. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: NSDate autorelease problem

2008-09-03 Thread j o a r
on the Application Kit, so your code normally does not have to deal with them. On threads that you set up, you have to manage the top level autorelease pool manually. j o a r ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

  1   2   >