• 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
ScreenSaverView and subviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ScreenSaverView and subviews


  • Subject: ScreenSaverView and subviews
  • From: Jesus De Meyer <email@hidden>
  • Date: Sat, 5 Jul 2003 22:48:24 +0200

I'm doing a little test screensaver which uses a custom view from a nib
file. Now the view gets loaded and get show in the screensaver, but it
the subview doesn't fit the screen. I have tried setting the frame from
the subview but when I do so, I just get a white screen.

Here's my code in the initWithFrame method:

[self setAnimationTimeInterval:10];
wv = [[wo webView] retain];
//resizing wv doesn't work
[self addSubview:wv];
[self setNeedsDisplay:YES];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ScreenSaverView and subviews
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Applying an NSNumberFormatter to an NSTableColumn
  • Next by Date: GCC 3.3 problems
  • Previous by thread: Re: Applying an NSNumberFormatter to an NSTableColumn
  • Next by thread: Re: ScreenSaverView and subviews
  • Index(es):
    • Date
    • Thread