Re: How to drag a subview onto a parent view in IB?
Re: How to drag a subview onto a parent view in IB?
- Subject: Re: How to drag a subview onto a parent view in IB?
- From: Michael Crawford <email@hidden>
- Date: Mon, 20 Apr 2015 22:59:56 -0700
Above the library list are four icons - a document icon, a pair of
curly braces, a circle with a small square in the middle, and the icon
for the media library.
I had the document icon when I searched for "View". I expect the item
that came up should have said "ViewController"; that is I was trying
to add a view controller to a view controller, which doesn't work.
When I selected the circle with the square, then I could search for
"View" and get what I wanted, which was to add a UIView to the UIView
in my view controller, then change my view's custom type to
"LiveView".
I'll beat this into submission somehow.
MIke
On 4/20/15, Michael Crawford <email@hidden> wrote:
> Forgive me if this is a really dumb question, I haven't tried to do
> this in eons.
>
> I added a .xib to my existing project; it doesn't use a storyboard.
> The iPhone .xibs are mostly done but I realized that a couple are
> missing for the iPad.
>
> I click on the .xib in the list to the left, then I get a blank view
> in the middle.
>
> I enter "view" in the object library and get a choice of iOS View or Cocoa
> View.
>
> I draft the iOS View pane over my view in the editor pane then let go
> of the button.
>
> The outline of the iOS View pane zips back to the library list.
>
> My plan after adding the view was to change the custom view type to
> "LifeView", which is already implemented in my app.
>
> Clearly I am doing something wrong but I don't know what. It is quite
> difficult to use google to find help for specific versions of Xcode -
> I'll put in "xcode 6" in quotes, but then get a page about Xcode 4.
>
> --
> Michael David Crawford, Consulting Software Engineer
> email@hidden
> http://www.warplife.com/mdc/
>
> Available for Software Development in the Portland, Oregon Metropolitan
> Area.
>
--
Michael David Crawford, Consulting Software Engineer
email@hidden
http://www.warplife.com/mdc/
Available for Software Development in the Portland, Oregon Metropolitan
Area.
_______________________________________________
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