自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (20)
  • 收藏
  • 关注

原创 swift 获取年月日 swift 获取年月日时分秒(每一个单独获取) 和获取yy-mm-dd格式

var calendar:Calendar = Calendar.current; var now = Date(); var year = calendar.component(.year, from: now); var month = calendar.component(.month, from: now); var...

2019-06-29 16:07:29 4909

原创 swift获取当前时间戳 最新

秒级别 var dat:Date = Date.init(timeIntervalSinceNow: 0) var a:TimeInterval = dat.timeIntervalSince1970; var timep = UInt64(a)毫秒级别 var a: TimeInterval = Date....

2019-06-29 14:17:09 2111

原创 swift 评分对话框UIAlertController

let alertController =UIAlertController(title:nil,message:"评分", preferredStyle: .alert) letokAction =UIAlertAction(title:"现在评分", style: .destructive, handler: { ...

2019-06-28 10:00:59 304

原创 swift 扫描二维码 稳定快速准确各大APP均需要

// ScanViewController.swift // Created by sts on 2019/6/20. import UIKitimport AVFoundationclass ScanViewController: UIViewController,AVCaptureMetadataOutputObjectsDelegate { //...

2019-06-21 15:53:50 2108 10

原创 swift UIActionSheet

var sheet = UIActionSheet(title: nil, delegate: self, cancelButtonTitle: nil, destructiveButtonTitle: nil) sheet.addButton(withTitle: "按键学习") sheet.addButton(withTitle: "扫码学...

2019-06-20 15:37:47 473

原创 swift Int数组转Data UInt8数组转Data Data转UInt8数组

var mBytes:[UInt8] = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var data:Data = Data(bytes: mBytes, count: mBytes.count);varbytes = [UInt8](data)print(bytes)

2019-06-19 17:22:58 5713

原创 swift5 Notification

创建通知中心设置监听方法设置通知的名字 NotificationCenter.default.addObserver(self, selector: #selector(refuslt), name: NSNotification.Name(rawValue:"notification"), object: nil)实现通知监听方法@objc func refuslt(...

2019-06-18 17:08:22 2404

原创 swift base64编码 解码

/*** 编码*/func base64Encoding(plainString:String)->String{ var plainData = plainString.data(using: String.Encoding.utf8)var base64String ...

2019-06-18 14:38:53 5630 1

原创 swift UIAlertController对话框 swift5

let alertController = UIAlertController(title: "系统提示", message: "请打开手机蓝牙", preferredStyle: .alert) let cancelAction = UIAlertAction(t...

2019-06-17 08:58:07 937

原创 swift https get请求

let url = URL(string: "https://api.gizwits.com/app/bindings")! let session = URLSession.shared var request = URLRequest(url:url) request.addValue("application/json", forHTTP...

2019-06-15 13:58:03 1151

原创 swift 字符串String转Int 16进制字符串String转Int Int转16进制字符串 hexString to Int

swift 字符串String转Int 16进制字符串String转Intvar hexi:UInt = UInt(hexS, radix: 16)let n = 14var st = String(format:"%02X", n)st += " is the hexadecimal representation of \(n)"print(st)...

2019-06-13 16:27:55 3949

android 比赛 数字翻页效果

android 比赛 数字翻页效果

2023-05-09

YUVViewer20191030.rar

YUVViewer.exe 商用的码流分析工具/YUV viewer ,yuvviewer是一款yuv数据查看管理工具。该软件可以帮助我们快速查看和管理计算机的相关文件。同时,它还支持显示文件的数据信息,可以完成yuv数据的共享,

2019-10-30

json-lib依赖jar1积分

json-lib依赖jar1积分 包含json-lib2.4. 还包含了 jstl 标签

2018-08-18

android 从天气网获取天气

android 从天气网获取天气

2014-10-08

android vudroid源码

android vudroid pdf源码

2014-09-24

android ebookdroid源码

android ebookdroid源码

2014-09-24

android仿iphone解锁

android仿iphone滑动解锁

2013-07-19

android瀑布图片

android瀑布图片 一张一张紧紧挨着 大小不一。

2012-11-05

RadioGroupActivity

RadioGroupActivity RadioGroupActivity RadioGroupActivityRadioGroupActivityRadioGroupActivityRadioGroupActivity

2011-07-19

RadioGroupTest

TabHost升级,利用RadioGroup,效果和我前面的一篇有关ActivityGroup一样。

2011-07-19

picture3D 相册

picture3D picture3Dpictur picture3Dpicture3Dpicture3Dpicture3Dpicture3De3Dpicture3Dpicture3D

2011-07-19

TabHostTest

TabHostTestTabHostTestTabHostTestTabHostTest

2011-07-16

ActivityGroup的使用

ActivityGroupActivityGroupActivityGroupActivityGroupActivityGroupActivityGroupActivityGroupActivityGroupActivityGroup

2011-07-16

nukenabber+2.exe

端口禁止工具!!用于QQ被限制了,如果你公司QQ不能上了,那么这个工具可以帮助你

2011-07-14

基本支持google map的应用程序打包说明

基本支持google map的应用程序打包说明

2011-05-19

svn中文汉化LanguagePack_1.5.0.13316-win32-zh_CN

svn汉化LanguagePack_1.5.0.13316-win32-zh_CN

2011-03-25

TortoiseSVN-1.5.0.13316-win32-svn-1.5.0.msi

TortoiseSVN-1.5.0.13316-win32-svn-1.5.0.msi

2011-03-25

Gallery_Demo_android

Gallery Demo android

2011-03-23

android 学习 TabHost

android 学习 TabHost

2010-11-29

android_GalleryDEMO

Gallery android demo 为大家学习花览

2010-11-20

apache-tomcat-6.0.26.zip

apache-tomcat 为大家提供方便

2010-11-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除