popwarsweet / PageControls

This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here: https://dribbble.com/shots/2578447-Page-Control-Indicator-Transitions-Collection
MIT License
1.1k stars 90 forks source link

IBDesignable not rendering in IB #5

Closed amarcadet closed 8 years ago

amarcadet commented 8 years ago

I might be missing something, or it could be my Xcode having some issues but there is no rendering in IB.

I'm using Xcode 7.3.1 (7D1014).

popwarsweet commented 8 years ago

Have you set Page Count > 0 in IB?

popwarsweet commented 8 years ago

@amarcadet

amarcadet commented 8 years ago

Yep I have set all the IBInspectable properties to be sure, even progress.

popwarsweet commented 8 years ago

@amarcadet Have you set the Module name to PageControls? This may be the cause to both of your issues.

amarcadet commented 8 years ago

Yes done it, could this be related to cocoapods ?

amarcadet commented 8 years ago

I've copy/pasted the code inside my project and now the page control is correctly rendering in IB, might definitely be related to cocoapods.

amarcadet commented 8 years ago

Well now the intrinsicContentSize is working too...

amarcadet commented 8 years ago

Gone back to cocoapods and it's working now... Really sorry for bringing these issues to you. Xcode was doing his job fine as always ¯(ツ)

popwarsweet commented 8 years ago

@amarcadet Thanks for bringing it up. I should add it to the README. Glad Xcode started working again :P