Re: Fixed pattern with colorWithPatternImage

2010-09-04 Thread Daniel Lopes
Hello Quincey, Thanks, I thought that a simple thing like that could be done easier. My background is from web dev (specially Ruby). That app is just a simple pet project and for that I will use a simple gradient instead of the image. I tried the image because I want a small noise instead of a

Re: Fixed pattern with colorWithPatternImage

2010-09-05 Thread Daniel Lopes
wrote: > > > On Sun, Sep 5, 2010 at 3:41 PM, Ken Ferry wrote: > > > On Sat, Sep 4, 2010 at 1:16 PM, Daniel Lopes wrote: > Hello Quincey, > > Thanks, I thought that a simple thing like that could be done easier. My > background is from web dev (specially Ruby). >

Re: Fixed pattern with colorWithPatternImage

2010-09-06 Thread Daniel Lopes
Perfect, I did this: - (void)drawRect:(NSRect)dirtyRect { NSImage *pattern = [NSImage imageNamed:@"TitlePattern.png"]; NSDrawThreePartImage([self bounds], pattern, pattern, pattern, NO, NSCompositeSourceOver, 1, NO); } Thanks again. Daniel Lopes On Sun, Sep 5, 2010 a

Re: Fixed pattern with colorWithPatternImage

2010-09-06 Thread Daniel Lopes
If I pass nil only the left part is filled. Which I think is right. See the image above: http://cl.ly/2HPb Daniel Lopes On Mon, Sep 6, 2010 at 2:21 PM, Ken Ferry wrote: > It's legal to pass nil for the left and right caps if you don't have any, > which apparently you

Folders and file system organization instead of just XCode

2010-09-06 Thread Daniel Lopes
the good pratice for code organization? If somebody could point links or guidelines would help a lot. Thanks in advance. -- Abraços, Daniel Lopes ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Folders and file system organization instead of just XCode

2010-09-07 Thread Daniel Lopes
Tthe scroll and search in folders dont take too much of my time because I like some shortcuts like command T in Textmate and command option D in Xcode. Thanks for the help. Sent from my iPad On 06/09/2010, at 22:45, Dave Keck wrote: >> 2º Why most of projects that I found on the internet do

Question about architecture

2010-09-09 Thread Daniel Lopes
is right? Create custom views for the header is a good pratice? I know this a big question but the answer will help me a lot. Thanks in advance. -- Best regards Daniel Lopes ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Question about architecture

2010-09-09 Thread Daniel Lopes
. -- Daniel Lopes On Thu, Sep 9, 2010 at 4:44 PM, Richard Somers wrote: > On Sep 9, 2010, at 8:32 AM, Daniel Lopes wrote: > > Hello, I'm learning Cocoa and Objc and enjoying a lot, especially because >> my background is in Ruby and both languages are basically the same thing >

Re: Question about architecture

2010-09-09 Thread Daniel Lopes
e nib until I need speed up the launch? Thanks. Daniel Lopes On Thu, Sep 9, 2010 at 6:04 PM, Richard Somers wrote: > On Sep 9, 2010, at 2:25 PM, Greg Guerin wrote: > > Try it. See what happens. Repeat as needed. >> >> A lot of design questions can only be answered well by

TDD and Cocoa

2010-09-10 Thread Daniel Lopes
Hello, Somebody have a good material about TDD in Cocoa? Actually I found on Apple's site about OCUnit but I would like to know what you guys use. I also would like to know if somebody have any sugestion about tools for acceptance/integration tests . Thanks again. Sent from my iPhone___

Re: Question about architecture

2010-09-13 Thread Daniel Lopes
Thanks a lot for answer Chris, so I'm in the right direction. Have good week. -- Daniel Lopes On Sat, Sep 11, 2010 at 7:18 AM, Chris Hanson wrote: > On Sep 9, 2010, at 7:32 AM, Daniel Lopes wrote: > > > My idea for organization is separate the entire content on the left si

Small delay when build the view

2010-09-17 Thread Daniel Lopes
to do the HTTP request assincronously? The images of the problem: http://cl.ly/2QdS and http://cl.ly/2Qfi Thanks in advance and sorry for the big question. -- Daniel Lopes ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r