MoZhouqi / KMPlaceholderTextView

A UITextView subclass that adds support for multiline placeholder written in Swift.
MIT License
805 stars 141 forks source link

It doesn't works with iOS10 #31

Closed GZaccaroni closed 8 years ago

GZaccaroni commented 8 years ago

In iOS10 it doesn't show anything, i can set the placeholder text and color in IB but there is no placeholder when i launch the app

MoZhouqi commented 8 years ago

Hi, @GZaccaroni I have just run the example project in iOS 10 and it works, please feel free to try it by yourself. If you have any further questions, It is better to provide a demo to reproduce the issue.

GZaccaroni commented 8 years ago

So i am sorry, thank you. What do you need in order to help me? Il giorno mer 21 set 2016 alle 17:35 Zhouqi Mo notifications@github.com ha scritto:

Hi, @GZaccaroni https://github.com/GZaccaroni I have just run the example project in iOS 10 and it works, please feel free to try it by yourself. If you have any further questions, It is better to provide a demo to reproduce the issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MoZhouqi/KMPlaceholderTextView/issues/31#issuecomment-248650299, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ1D76ZEyYQkhIjAg548Z_Xv-a_2q9mUks5qsU6pgaJpZM4KCtXi .

MoZhouqi commented 8 years ago

You could provide a demo to reproduce the issue.

GZaccaroni commented 8 years ago

I tried to check and no method gets called inside KMPlaceholderTextView.swift ... Now i try to add it programmatically

GZaccaroni commented 8 years ago

Here is the error:

warning: IB Designables: Using class UITextView for object with custom class because the class KMPlaceholderTextView does not exist

MoZhouqi commented 8 years ago

How do you install the KMPlaceholderTextView library?

GZaccaroni commented 8 years ago

With cocoapods 1.1.0 Il giorno dom 25 set 2016 alle 16:40 Zhouqi Mo notifications@github.com ha scritto:

How do you install the KMPlaceholderTextView library?

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/MoZhouqi/KMPlaceholderTextView/issues/31#issuecomment-249425365, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ1D7387hKBcqL_d9VbJaGb1zUo91qTSks5qtofEgaJpZM4KCtXi .

MoZhouqi commented 8 years ago

Please try to set the module of the text view object to be KMPlaceholderTextView in the interface builder.

GZaccaroni commented 8 years ago

@MoZhouqi now it works... Thank you and sorry!

MoZhouqi commented 8 years ago

My pleasure.