• 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: Embed a custom HIView in HIScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embed a custom HIView in HIScrollView?


  • Subject: Re: Embed a custom HIView in HIScrollView?
  • From: Stephen Chu <email@hidden>
  • Date: Wed, 19 Oct 2005 09:14:47 -0400


On Oct 18, 2005, at 3:28 PM, Alex Curylo wrote:

on 10/18/05 12:15 PM, email@hidden at
email@hidden wrote:


In IB:

- drag an HIView into the window
- click on it so it gets selected
- from the menu, select Layout : Embed in > ScrollView.


Can't do that with a custom view, dude. At least not last time I had to.
Sure be nice if they fixed that, wouldn't it?


What I ended up doing was making the custom view I placed in IB essentially
a place holder for creating a scroller and the actual view I wanted inside
it, like this:
....



Well. That's what I ended up doing in my PowerPlantX project, too. It works pretty well but caused some problem when I iterated through the subview objects once. :)


One related question is, how do you un-embed a view from a Scroll View? The help and doc say to use "Ungroup" menu command. It's, of course, grey out.

--
Stephen Chu <mailto:email@hidden>
Rampage Systems, Inc. <http://www.rampageinc.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Embed a custom HIView in HIScrollView? (From: Alex Curylo <email@hidden>)

  • Prev by Date: dyld: (No such file or directory, errno =2)... But the file/directory is there... Why am I still getting this?
  • Next by Date: Command /usr/bin/g++-3.3 failed with exit code 1
  • Previous by thread: Re: Embed a custom HIView in HIScrollView?
  • Next by thread: Deployment of an Xcode product
  • Index(es):
    • Date
    • Thread