This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
3
Parsing CSV with SwiftCSV issue.
Post Flair (click to view more posts with a particular flair)
Post Body
I'm using the SwiftCSV library to read a .csv file. Due to an issue with CocoaPods, I just created a .swift file called CSV.swift with the same contents as Here.
Here's my ViewController's viewDidLoad code:
let csvURL = NSURL(string: "NewsCasts.csv")
var error: NSErrorPointer = nil
let csv = CSV(contentsOfURL: csvURL!, error: error)
let rows = csv.rows
println(rows)
The problem I'm getting is with let rows = csv.rows. "'CSV?' does not have a member named 'rows'". How do I solve this? I'm running the latest Xcode 6.1.1
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/swift/comme...