• 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
Adding draggable custom classes to the Storyboard Objects Library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding draggable custom classes to the Storyboard Objects Library


  • Subject: Adding draggable custom classes to the Storyboard Objects Library
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 07 Feb 2014 10:18:53 -0500

I've been reading the Xcode docs and surfing around StackOverflow to see if this is even possible for an iOS project.

Basically, I'd like to have a custom class, extension or category that I can drag out from the Object Library onto the one of my scenes or XIBs and actually see an object rect for that class on the screen.

Apple's docs seem to indicate something like this is possible, but it's a little vague.

       https://developer.apple.com/library/ios/recipes/xcode_help-interface_builder/articles-general/CustomObject.html

This page also mentions the Dock Mode button to toggle from outline to icon view, which doesn't seem to do that in a storyboard, or I am a blind man and can't see what's right in front of my face, but that's another issue.

Everything I've read on StackOverflow says adding your own classes to the Library is not possible, but some of posts are pretty out of date and I'm not sure they still apply.

In any case I've followed the Apple docs link above and it doesn't explain much, or what the final task is that was actually accomplished.

i even made my subclass from a UIView and the custom object just sits at the top level of the storyboard scene, it can't even be dragged into the view controller hierarchy.

Is this a futile effort?

Thanks in advance.

- Alex Zavatone
 _______________________________________________
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

  • Follow-Ups:
    • Re: Adding draggable custom classes to the Storyboard Objects Library
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Any way to prevent Xcode from auto-disclosing issues?
  • Next by Date: Re: Any way to prevent Xcode from auto-disclosing issues?
  • Previous by thread: Re: Any way to prevent Xcode from auto-disclosing issues?
  • Next by thread: Re: Adding draggable custom classes to the Storyboard Objects Library
  • Index(es):
    • Date
    • Thread