• 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
Re: Custom view background texture/color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom view background texture/color


  • Subject: Re: Custom view background texture/color
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 26 Sep 2006 16:56:36 +0100



Begin forwarded message:

From: Mike Abdullah <email@hidden>
Date: 26 September 2006 16:56:01 BDT
To: Artemiy Pavlov <email@hidden>
Subject: Re: Custom view background texture/color
Reply-To: email@hidden

You'll need to write some code that sets the image for the custom view to use. Something like:

- (void)awakeFromNib
{
[backgroundImageView setImage: [NSImage imageNamed: @"backgroundImage"]];
}


On 25 Sep 2006, at 23:20, Artemiy Pavlov wrote:

Thanks Jeremy!

However I still can't figure out how to insert an image so it is displayed on a background of all the elements which are now in this CustomView... :-/

On 25 Sep 2006, at 10:37 PM, Jeremy Sacket wrote:

Artemiy,

1. Select the Custom view.
2. Open the Inspector.
3. Choose Custom Class in the Pull Down Menu
4. Select NSImageView

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Problem with relationships in Core Data
  • Next by Date: Re: Notification when changes occur to an array?
  • Previous by thread: Re: Custom view background texture/color
  • Next by thread: Obtain computer model
  • Index(es):
    • Date
    • Thread