• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fixed pattern with colorWithPatternImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixed pattern with colorWithPatternImage


  • Subject: Fixed pattern with colorWithPatternImage
  • From: Pessoal <email@hidden>
  • Date: Fri, 3 Sep 2010 17:16:00 -0300

Hello,

It's my first post here and I'm starting with Cocoa (OSX, not iPhone yet).

I'm working in a small project that need some customizations in the UI.

I have a custom view called HeaderView and I need to draw a pattern in this
view. The final result that I want to achieve is this:
http://cl.ly/2F5q

And it's working but when I resize the window and my drawRect is called the
pattern change his orientation. Like this:
http://cl.ly/2F8t

I searched a lot in the internet, especially in this two links:
http://www.mere-mortal-software.com/blog/details.php
http://th30z.netsons.org/2008/10/cocoa-image-pattern-as-nswindow-background/

But I don't know why my background still move. It's is my context?

Thanks a lot and sorry for the basic question but I can't found anything
that could help.
--
Daniel Lopes
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Fixed pattern with colorWithPatternImage
      • From: Quincey Morris <email@hidden>
  • Prev by Date: iPad - UIScrollView - smooth scrolling
  • Next by Date: Re: isTemporaryID unrecognized selector - how do I debug this?
  • Previous by thread: iPad - UIScrollView - smooth scrolling
  • Next by thread: Re: Fixed pattern with colorWithPatternImage
  • Index(es):
    • Date
    • Thread