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

fatal error: unexpectedly found nil while unwrapping an Optional value #57

Closed
datomnurdin opened this issue Mar 29, 2015 · 0 comments
Closed

Comments

@datomnurdin
Copy link
Contributor

I got this error message in ChoosePersonView.swift.

init(frame: CGRect, person: Person, options: MDCSwipeToChooseViewOptions) {

        super.init(frame: frame, options: options)
        self.person = person

        self.imageView.image = self.person.Image! //error here
        self.autoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth
        UIViewAutoresizing.FlexibleBottomMargin

        self.imageView.autoresizingMask = self.autoresizingMask
        constructInformationView()
    }
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

1 participant