Re: Interface Builder popularity w/ Cocoa Developers

2008-06-16 Thread Conor
Nobody seemed to mention it, but IB also makes localization easier. As  
for debugging awakeFromNib: is not the right place as the NIB has  
already been loaded and the connections done, which the original  
poster is worried about; – loadNib:withZone: is the right place. The  
worry about missing connections is a valid one, but it is easy to  
debug using IB itself. Because IB maps to UI elements, when an element  
is not working it's a quick check to verify that all the connections  
are in place. IB has a very useful table view of objects that can be  
expanded and shows all outgoing and incoming connections for an object.


Watch the keynote for the WWDC '08, the demo by Scott shows what an  
advantage IB can be to building an application on the iPhone or Mac OS  
X.


Conor
http://www.bruji.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(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: How to make a UI like in Mail?

2008-03-13 Thread Conor
>> I�m new to Cocoa and I really need a hint in UI Design. How can I
>> create this Panel like it is shown in a lot of
>> Application like Mail?

http://developer.apple.com/samplecode/SourceView/index.html


___

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://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: stringWithFormat

2008-10-20 Thread Conor


"You "create" an object using a method whose name begins with “alloc”  
or “new” or contains “copy” (for example, alloc, newObject, or  
mutableCopy)."


"Many classes provide methods of the form +className... that you can  
use to obtain a new instance of the class. Often referred to as  
“convenience constructors”, these methods create a new instance of the  
class, initialize it, and return it for you to use. Although you might  
think you are responsible for releasing objects created in this  
manner, that is not the case according to the policy Cocoa set—the  
method name does not contain "alloc" or "copy", or begin with "new".  
Because the class creates the new object, it is responsible for  
disposing of the new object"


file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html

Conor___

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://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Code signing validation

2008-10-28 Thread Conor

> even a removed localisation would then be fatal

Just a clarification: removing a localization does not affect the  
signature (http://atomic-bird.com/blog/2007/11/leopard-code-signing-questions-and-answers 
).


Regards,
Conor
___

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://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: How to detect a paste request for file copy/paste?

2008-12-10 Thread Conor
You still need to give the pasteboard an array of the file type for  
NSFilesPromisePboardType. Your missing the line:


[pboard setPropertyList:[NSArray arrayWithObjects:@"txt", nil]  
forType:NSFilesPromisePboardType];


But I would recommend initiating the promised drag with the NSView's  
method:


- (BOOL)dragPromisedFilesOfTypes:(NSArray *)typeArray fromRect: 
(NSRect)aRect source:(id)sourceObjectslideBack:(BOOL)slideBack event: 
(NSEvent *)theEvent;


file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Conceptual/DragandDrop/Tasks/DraggingFiles.html

Conor
http://www.bruji.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(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: When in the launch cycle does coredata data become available.

2008-03-03 Thread Conor
Some of the setup methods are on a queue in the run loop and are done after
applicationDidFinishLaunching: (in this case the content object of your
array controller is not yet populated as the core data fetch hasn't been
done yet). Run your method by placing it on the queue during
applicationDidFinishLaunching with:

[self performSelector:@selector(methodThatWillDoSomethingWithMyServers:)
withObject:nil afterDelay:0.0];

Regards,
Conor
http://www.bruji.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(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]