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

Extra argument 'type' in call #16

Closed
datomnurdin opened this issue Jul 2, 2015 · 2 comments
Closed

Extra argument 'type' in call #16

datomnurdin opened this issue Jul 2, 2015 · 2 comments

Comments

@datomnurdin
Copy link

I got this error message

/Users/MNurdin/Documents/Github/iOS-8-Swift-Programming-Cookbook/chapter-multimedia/Playing Video Files/Playing Video Files/ViewController.swift:120:26: Extra argument 'type' in call

In this ViewController file

override func viewDidLoad() {
    super.viewDidLoad()

    playButton = UIButton(type: .System) //error message here

Please advice. Thank you.

@vandadnp
Copy link
Owner

vandadnp commented Jul 2, 2015

Hi,

The HEAD of the master branch, where you are at, at the moment, is compatible with Swift 2.0 and Xcode 7 Beta 1. If you are on Xcode 6 and iOS 8 SDK, check this release out

https://github.com/vandadnp/iOS-8-Swift-Programming-Cookbook/releases/tag/xcode-6.3-beta-2-6D532l

@vandadnp vandadnp closed this as completed Jul 2, 2015
@datomnurdin
Copy link
Author

Thanks!!

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

2 participants