Skip to content

Instantly share code, notes, and snippets.

View weekwood's full-sized avatar
🎯
Focusing

Di Wu weekwood

🎯
Focusing
View GitHub Profile
{
"createdAt": "2015-06-16T09:10:40.274Z",
"readStatus": false,
"noticeType": "systemNotice",//系统消息
"system": [//系统消息
{
"noticeMaster": {
"nickname": "admin",
"baby": {
"gender": "n",
//
// NSURL+YZThumbnail.m
// YuanZi
//
// Created by di wu on 5/4/15.
// Copyright (c) 2015 Yuanzi. All rights reserved.
//
#import "NSURL+YZThumbnail.h"
extension UIView {
@discardableResult
func fromNib<T : UIView>() -> T? {
guard let view = Bundle.main.loadNibNamed(String(describing: type(of: self)), owner: self, options: nil)?[0] as? T else {
return nil
}
return view
}
}
{
"type": "success",
"data": {
"id": "3cdcd5b0-d1b9-11e7-aeee-07c46f347778",
"plate": "浙H19800",
"plate_type": null,
"brand": null,
"category": null,
"model": "H02",
"province": null,