NSDecimalNumber converted to NSNumber

2011-07-22 Thread Ferhat Ayaz
Hi, When I use distributed objects in Lion all NSDecimalNumbers are decoded as NSNumbers. Any thoughts? Thanks, Ferhat ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

(no subject)

2010-09-17 Thread Ferhat Ayaz
http://llow.pharmmashopzv.host-sc.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

Re: isTemporaryID unrecognized selector? [SOLVED]

2010-08-16 Thread Ferhat Ayaz
ut it is solved now. The word "Category" has probably a special meaning, however, "ASManagedCategory" not. It is just another class name like MyDocument , MyMessage, MyClass. Best regards, Ferhat On Aug 16, 2010, at 8:02 PM, Uli Kusterer wrote: > On Aug 14, 2010, at 1

Re: isTemporaryID unrecognized selector?

2010-08-15 Thread Ferhat Ayaz
thank you for the link. It is a must read TN. Ferhat On Aug 15, 2010, at 6:13 AM, Sean McBride wrote: > Ferhat Ayaz (co...@me.com) on 2010-08-15 21:28 said: > >> It seems like a memory management problem. I'm always building with >> analyze by default. There is n

Re: isTemporaryID unrecognized selector?

2010-08-14 Thread Ferhat Ayaz
It seems like a memory management problem. I'm always building with analyze by default. There is no hints produced by the analyzer. I guess I have to dig more in the code. On Aug 15, 2010, at 3:20 AM, Kyle Sluder wrote: > On Sat, Aug 14, 2010 at 6:05 PM, Ferhat Ayaz wrote: >>

Re: isTemporaryID unrecognized selector?

2010-08-14 Thread Ferhat Ayaz
yes I looked. But I don't get it. Sorry but I can not find the place in the documentation of NSManagedObject and in the hole Core Data documentation. On Aug 14, 2010, at 11:17 PM, Keary Suska wrote: > On Aug 14, 2010, at 5:06 AM, Ferhat Ayaz wrote: > >> Hi, >> >>

isTemporaryID unrecognized selector?

2010-08-14 Thread Ferhat Ayaz
Hi, I received an exception from my application which I can not figure out. I have a subclass of NSManagedObject, named ASManagedCategory. The following exception were thrown once in the application. -[ASManagedCategory isTemporaryID]: unrecognized selector sent to instance 0x294740 What did t

preparing HTML email content for Mail.app like safari does

2009-03-07 Thread Ferhat Ayaz
Hi, I like it how safari prepares email contents with cmd-i. I would like to know how to do this programatically in cocoa. Is this possible? I want to send local html files with all linked images as html email. Thanks, Ferhat ___ Cocoa-dev mailing

Re: NSToolbar and constrolling visible items

2009-02-02 Thread Ferhat Ayaz
some toolbar items can be used for both view. * Using add/removeItem:atIndex: requires also to remember the index of the toolbar items. I need only a flag like visible and hidden. Thanks again, Ferhat On Feb 2, 2009, at 11:19 AM, Peter Ammon wrote: On Jan 31, 2009, at 8:07 AM, Ferhat Ayaz

NSToolbar and constrolling visible items

2009-01-31 Thread Ferhat Ayaz
Hello, I have added - (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem to my code, which will control whether a toolbar item is enabled or not. However, I need a something similar to control whether a toolbar item is visible or not. How can I do this? Thank you, Ferhat __

How to insert not editable text

2008-06-14 Thread Ferhat Ayaz
Hello list, I want to add non editable text parts to an NSTextView. You can add/ drag and delete them within the text view but they should not be editable. This parts will act as placeholders for the actual text. What is the right way to 1. Add this kind of "placeholders" (non editable tex

Re: Flash'In'App – Free Cocoa Framework

2008-05-05 Thread Ferhat Ayaz
Why don't load flash via WebKit ? Ferhat On May 5, 2008, at 12:55 PM, Julia Rixon wrote: http://www.eltima.com/products/cocoa-framework/ Flash'In'App is a free Cocoa framework that lets you load and fully manage Adobe® Flash movies directly from your own applications for Mac OS X. Flash'I

NSTableView calls setPlaceHolderString: for image cell

2008-04-29 Thread Ferhat Ayaz
Hi, I wrote a custom cell (subclass of NSActionCell) and called [super initWithImage: nil] in my initialization method. I have set my custom cell to use with a NSTableView. However, in random cases I get this error message *** -[MyBlockCell setPlaceholderString:]: unrecognized selector se

Re: Saving NSTextView data to CoreData without ending editing

2008-04-23 Thread Ferhat Ayaz
Hi Mike, try to check "continuously Update Value" in the bind options. Ferhat On Apr 22, 2008, at 9:26 PM, Mike Manzano wrote: I have an application that periodically needs to save content contained in an NSTextView. The text view is bound to a Core Data managed object. Currently, I am end

NSCollectionView like control for Tiger?

2008-04-23 Thread Ferhat Ayaz
Hi, I have to write an application which should also run with Tiger. Does someone know a third party NSCollectionView like control for Tiger? Thanks, Ferhat ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reque

Getting the correct objectValue in NSCell in NSTableView

2008-04-19 Thread Ferhat Ayaz
Hi, I'm implementing the following method in NSActionCell's subclass which I'm using for NSTableColumn dataCell. - (BOOL)trackMouse:(NSEvent*)theEvent inRect:(NSRect)cellFrame ofView:(NSView*)controlView untilMouseUp:(BOOL)flag { NSPoint locationInCell;

Re: setTextContainerInset with different values for left and right

2008-04-18 Thread Ferhat Ayaz
setTextContainerInset. ->Ben -- Ben Lachman Acacia Tree Software http://acaciatreesoftware.com [EMAIL PROTECTED] 740.590.0009 On Apr 18, 2008, at 11:44 AM, Ferhat Ayaz wrote: Hi, how would I go about setting NSTextView up so its insets are dx1 from the left and dx2 from the right side

setTextContainerInset with different values for left and right

2008-04-18 Thread Ferhat Ayaz
Hi, how would I go about setting NSTextView up so its insets are dx1 from the left and dx2 from the right side? I guess setTextContainerInset: will set for both left and right the same value (dx1 = dx2). Thanks, Ferhat ___ Cocoa-dev maili

Re: is this badly written code?

2008-04-14 Thread Ferhat Ayaz
On Apr 15, 2008, at 4:53 AM, Adam Gerson wrote: In cocoa its very tempting to write a single line of code like: NSManagedObject *selectedTreeObject = [self delegate] mainWindowController] treeController] selectedObjects] objectAtIndex:0]; If you have to embed a lot of messages, you shoul

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

2008-04-13 Thread Ferhat Ayaz
On Apr 13, 2008, at 9:41 PM, Adam R. Maxwell wrote: Whenever you call out from your dealloc method (ie. any method you call on some other object than self, and even any method on self that you haven't implemented in your own class, or that could be overridden by subclasses) you invite prob

Why should we set ivars to nil in dealloc?

2008-04-13 Thread Ferhat Ayaz
I see in some Apple's Cocoa examples that ivars are set to nil in the dealloc method. The auto generated Core Data AppDelegate for new projects is doing this for each ivar. Here is a simple example: - (void)dealloc { [appointments release]; appointments = nil; [super dealloc]; }