Hi,
I want to customize a UIBarButtonItem's background image. I have
already tried using the customView property (with a UIButton) , but it
does not work, instead it shows nothing. Searching around the web
gives some results, but none have worked for me.
Thanks for any input!
- Michael
_
Hi,
I'd like to create a Quicktime-like window with Cocoa that hides the
titlebar when the mouse is not inside the window.
I followed Matt Gallagher's post on drawing custom windows with Cocoa
(http://cocoawithlove.com/2008/12/drawing-custom-window-on-mac-os-x.html),
but it seems quite a lot of wo
Hi all,
When I write something like:
while (true) {
NSString *s = [[NSString alloc] initWithString:@"applejuice"];
}
Will s be garbage collected? If not, how can I make sure it does get
deallocated by garbage collection.
___
Cocoa-dev mailing list
On Fri, Dec 11, 2009 at 11:14 AM, Alastair Houghton wrote:
> On 11 Dec 2009, at 09:10, Michael Abendroth wrote:
>
>> when drawing custom buttons, should you use NSBezierPath or NSImage
>> instances?
>
> Yes.
>
>> Which is more efficient, performance-wise / memory-
Hi,
when drawing custom buttons, should you use NSBezierPath or NSImage instances?
Which is more efficient, performance-wise / memory-wise?
Thanks for any tips,
- Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
On Tue, Dec 8, 2009 at 8:54 PM, Jens Alfke wrote:
>
> On Dec 8, 2009, at 9:25 AM, Michael Abendroth wrote:
>
>> I'd like to customize the color of the line that separates a window's
>> content area from its title bar.
>
> Try turning on the "textured
Hi,
I'd like to customize the color of the line that separates a window's
content area from its title bar. I've uploaded a screenshot of the
line I mean here: http://i48.tinypic.com/r2q9eu.png .
How would I do this, if possible without having to subclass NSWindow?
Thanks,
-Mike
Hi,
I would like to create a small timer. Basically, the timer sits in a
view. When the view is shown, the timer should start, and when the
view is hidden / closed, the timer should stop. While the view is
visible, the user should be able to access controls / manipulate
values inside the view.
How
Hi everyone,
i would like to (programmatically) create a tiled image from resource
images I created. I will have to use 9 tiles to create the image I
want.
I think I read somewhere that some methods exist in Cocoa that make
this very easy, but I cannot find that reference anymore, neither
anything
Thanks for the input! Using the %p printing, I found out that I might
not actually have the problem I thought I had. I checked for the
addresses in memory of the entries. They are all different so I guess
the problem isn't that they all point to the same object.
Basically, I got a source list to wi
Hi everybody,
I wrote this extremely simple program:
#import
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
for (int i = 0; i < 3; i++) {
NSMutableString* myString = [[NSMutableString alloc]
initWithString:[[NSDate date] description
11 matches
Mail list logo