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

How to implement this with swift? #11

Open
ghost opened this issue Jun 13, 2015 · 0 comments
Open

How to implement this with swift? #11

ghost opened this issue Jun 13, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 13, 2015

Hi, I'd like to ask you how can I use this component with Swift? I'm not familiar with Objective C at all.

Especially lines:
self.shineLabel = [[RQShineLabel alloc] initWithFrame:CGRectMake(16, 16, 298, 300)];
and
[self.shineLabel shine];

Thank you

Edit:

Sorry with stupid question. Here is my solution:
Ad.1 self.shineLabel = RQShineLabel(frame: CGRectMake(16, 16, 298, 300))
Ad.2 self.shineLabel.shine()

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

0 participants