Problem compiling a downloaded material (Operation and OperationQueue)

I have a newbie problem with using the downloaded material, to be specific, it’s “Operation and OperationQueue Tutorial in Swift”.

When I extracted the files, double click on the “GooglyPuff.xcode.proj”, xcode opens up the I could run the code in a simulator.

However when I start up xcode from launcher, File->Open and navigate to “GooglyPuff.xcode.proj”, I got tonnes of compilation errors.

Swift Compiler Error
ContentMode is not a member type of ‘UIView’
UIImage+Resize.swift
Pattern matching in a condition requires the ‘case’ keyword
AlbumsTableViewController.swift
Value of optional type ‘AlbumsTableViewController?’ not unwrapped; did you mean to use ‘!’ or ‘?’?

Why ? Could be some path problems ?

1 Like

I had the same issue.

This topic was automatically closed after 166 days. New replies are no longer allowed.