Skip to content

autorezisingMask & buttonType #17

Open

Description

@digitaldesaster

i am using xcode 6.4
i was not able to compile the project because there was a problem with autoresizing and the button type. i changed the code and it works..

self.view.autoresizingMask = UIViewAutoresizing.FlexibleHeight
let button = UIButton.buttonWithType(UIButtonType.Custom) as! UIButton

thanks for this awesome tiny library

Activity

  1. Brianfit commented on Jul 9, 2015

    @Brianfit

    You so rock. Thanks! I want a salt shaker full of as! : it's the secret spice in 6.4 that makes older Swift code work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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