Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find the UI objects #34

Open
yazami opened this issue Jun 18, 2017 · 3 comments
Open

Can't find the UI objects #34

yazami opened this issue Jun 18, 2017 · 3 comments

Comments

@yazami
Copy link

yazami commented Jun 18, 2017

Hi,

I can't manage to find the UI objects that come with TGPControls (i.e. TGPCamelLabel, TGPDiscreteSlider). I've been looking inside the object library, but none of them are there. Am I doing something wrong?

@jonathanbronson
Copy link

Same issue. It would be great if the readme explains this!

@lindseyvastola
Copy link

did you ever get an answer?

@jeffjvick
Copy link

I was wondering the same thing as it's not stated in the Readme and I have not used custom UI components before.

Just drag a UIView in Interface Builder onto whatever it is you are building. Then select that view and go to the Identity Inspector menu (the one that looks like a postcard). Under Custom Class -> Class, select one of the TGP classes (TGPDiscreteSlider for example). Now the UIView will show the preview and if you go to the Attributes Inspector menu (the one that looks like a shield) you can change it's properties.

Note, for all of this to work you of course need to installed the Pod and opened the .xcworkspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants