 //
 
 import UIKit
+import SDWebImage
 
 class Statuses: NSObject {
 

                //1 json to model , 然后装在集合
            print("json= \(Json)")
            let models = dict2model(Json!["statuses"] as! [[String: AnyObject]])
            finished(list: models, error: nil)
            }) { (_, error) -> Void in
                finished(list: nil, error: error)
        }
    }
    
    // description

            source = sourceStr.substringWithRange(NSMakeRange(startRange, length))
        }
    }
    var pic_urls : [[String : AnyObject]]?{
        didSet{
            picURLS = [NSURL]()
            for dict in pic_urls!{
                if let urlStr = dict["thumbnail_pic"]
                {
                    // 将字符串转换为URL保存到数组中
                    picURLS?.append(NSURL(string: urlStr as! String)!)
                }
            }
        }
    }
    var picURLS : [NSURL]?
    var user : User?
    
    
