Skip to content

How to implement this with swift? #11

@ghost

Description

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions