Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tadeuzagallo/GithubPulse
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeuzagallo committed Jan 28, 2015
2 parents 4e9856c + 7ed7dca commit 5bf2ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions widget/GithubPulse/Other Sources/GithubUpdate.swift
Expand Up @@ -44,6 +44,10 @@ class GithubUpdate {
let request = NSURLRequest(URL: url!)

NSURLConnection.sendAsynchronousRequest(request, queue: NSOperationQueue.mainQueue()) { (response, data, error) in
if data == nil || error != nil {
return
}

if let tags = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil) as NSArray? {

if tags.count > 0 {
Expand Down

0 comments on commit 5bf2ca9

Please sign in to comment.