It worked like a charm. It is so easy since I was trying to draw over
existing Icon manually that is so complicated in comparison with given
way of doing it.
Thanks, Samvel.
On Apr 8, 2008, at 7:41 AM, [EMAIL PROTECTED] wrote:
On leopard or later, you can just do:
[[[NSApplication
if data would be replaced
instead of recreating the whole object. Is it possible to do that way:
just to replace image contents with newImageData without reallocating
new object?
Thanks, Samvel.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
It was a general thought. I am programming in Objective-C only for
about month and was wondering if there is any faster way to replace
image/string/etc. contents instead of reallocating object itself.
Samvel.
On Apr 9, 2008, at 9:58 PM, Bill Bumgarner wrote:
On Apr 9, 2008, at 7:43 PM
I'd like my application to show number of completed tasks in Dock Icon
as it is done in Mail (number of unread emails). Anyone knows how to
do that or where I can read about such functionality?
The idea is widely used by next applications:
Adium
Mail
iGetter
Transmission
XCode
They all add
Hello,
I have created a NSPanel in Interface Builder and added NSBox. It
looks nice except NSBox Title written in black color on dark
background of NSPanel. Is it possible to change color either in
Interface Builder or with code (say in awakeFromNib)?
Thanks.
];
// ...
}
-(void) plug
{
// ...
NSLog( %@, string);
// ...
}
Thanks, Samvel.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
at the
moment of writing that lines.
Samvel.
On Mar 24, 2008, at 11:45 PM, Ken Thomases wrote:
Hi,
On Mar 24, 2008, at 11:19 PM, Samvel wrote:
Lots of classes define static methods that create objects for
instance:
Class NSString:
+(id) stringWithString: (NSString *) string
On Mar 24, 2008, at 11:56 PM, Jens Alfke wrote:
On 24 Mar '08, at 9:51 PM, Samvel wrote:
I run into troubles trying to register my object with
NSNotificationCenter in class
-(id) init;
That's a fine place to do it.
//... (at this point self has lost it's original value
,
@1280x1024,
@1024x768];
[dimensions retain];
So, strings are not actually retained. :( and this led to odd behavior.
Samvel.
On Mar 25, 2008, at 12:06 AM, Sherm Pendley wrote:
On Tue, Mar 25, 2008 at 12:51 AM
:
[nameField setStringValue: [buddiesArray objectAtIndex: 0]]
in Controller init method. It does not produce desired effect. Still
window shows up with empty nameField.
How to change it initially?
Thanks.
On Mar 21, 2008, at 7:29 PM, Kyle Sluder wrote:
On Fri, Mar 21, 2008 at 8:09 PM, Samvel
:
[textField setStringValue:temp];
hope this helps you.
On Mar 22, 2008, at 2:09 AM, Samvel Khalatian wrote:
Hi,
I am quite new in Cocoa programming and didn't understand yet how
to set initial value for some NSTextField from program?
Imagine I have a collection (Array of data, say, mates
Oh, thanks a lot. That resolved my question. Now it works just perfect.
Samvel.
On Mar 21, 2008, at 8:01 PM, Dave Hersey wrote:
If the window with that field is in the controller's nib, which I
think is what you're saying, then nameField will be nil until
awakeFromNib is called. You need
12 matches
Mail list logo