xLog
Home
About
Featured
Shorts
Latest
Hottest
Following
xLog
Web3
AI
Journal
Fiction
Coding
Podcast
objective-c
Participate in Topic
iOS开发之Objective-c的MD5/SHA1加密算法的实现
Objective-c 实现 MD5 和 SHA1 算法相对还是比较简单的,可以直接调用系统的 C/C++ 共享库来实现调用 MD5 即 Message Digest Algorithm 5(信息 - 摘要算法 5),用于确保信息传输完整一致。是计算机广泛使用的杂凑算法之一 SH…
ios
1 min
李大仁博客
·
2 years ago
iOS开发之Objective-C中BASE64编码加密解密的使用
BASE64 使用常用的 URL 密文编码方式,用于在 HTTP 环境下传递较长的标识信息。采用 Base64 编码不仅比较简短,同时也具有不可读性。 以下地址是加密的迅雷专用下载地址,采用的是该编码。 如 thunder…
ios
1 min
李大仁博客
·
2 years ago
Different Random Number Algorithms in Objective-C for iOS Development (arc4random, random, srandom)
Objective-C does not directly provide functions or methods for generating random data. However, we can directly use various random…
ccplusplus
1 min
李大仁博客
·
2 years ago
[iOS]Xcode5下使用Makefile编译找不到GCC
Xcode5 已经完全抛弃了 GCC 并切换到 LLVM,但并不是完全去除 GCC,只是对 GCC 等编译相关执行文件的位置进行了调整, 如果之前使用的是使用 Makefile 方式命令行编译 iOS APP 的话,Xcode4.6 下编写的脚本可能会无效,需要对 GCC…
ccplusplus
1 min
李大仁博客
·
2 years ago
[iOS]Makefile交叉编译静态库TA-lib
为了使 Cocoa-Charts 支持客户端数据计算,需要为 Cocoa-Charts 增加技术分析数据计算功能,目前比较通用的是 TA-lib,但是 TA-lib 没有提供 iOS 版本的静态库文件,因此需要在 X86 平台上交叉编译适用于 iPhone 模拟器和 iPhone…
ccplusplus
2 min
李大仁博客
·
2 years ago
[iOS]使用UIActivityViewController实现AirDrop功能
AirDrop 是 iOS7 中新增的一个近距离分享功能,两个相邻的 iOS 设备可以通过 AirDrop 实现传递图片、文件等功能,有了 AirDrop 基本上可抛弃类似 Dropbox 的 ShareLink 和 PublicFolder 功能。 iOS7 的 SDK…
ios
1 min
李大仁博客
·
2 years ago
[iOS]CoreGraph在64位模式下与NSString drawInRect冲突
iOS SDK 支持 64bit 后,大部分代码可以直接无缝转换并通过编译,但是这些代码在运行时可能会有所差异,所以开发时需要特别注意,Cocoa-Charts 在开发过程中就发现了这类问题。 问题现象: CoreGraph 绘图方法与 NSString 的 drawInRect…
objective-c
1 min
李大仁博客
·
2 years ago
[iOS]UILabel取消自动Trim空格和换行等空白字符
iOS7.0 以后的 UILabel 会自动将 Text 行尾的空白字符全部去除,除了常见的半角空格(\0x20)和制表符 (\t) 之外,全角空格 (\u3000) 也被计算在内,甚至连多余的换行符(\r,\n)也被自动去除了。这一点虽然方便直接将控件赋值和无需取值后再…
ios
1 min
李大仁博客
·
2 years ago
[iOS]UIWebView禁止前进和后退
使用 HTML5+Native 方式开发 APP 时,需要禁用掉 UIWebView 前进和后退功能,可以使用以下三种方式实现,三种方法同时使用亦可。 1.APP 内使用 native 代码修改 UIWebView 功能禁止。 直接覆盖 UIWebView 返回判断功能…
html
0 min
李大仁博客
·
2 years ago
An
open-source
creative community written on the
blockchain
.
Current Block Height
9
7
,
6
2
6
,
4
8
3
Suggested creators for you
🥳 Follow All!
Show more
andrewji8
Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
testxlog
棒无
坟墓里寂静无比,埋葬你的是所有你未说出的话
niracler
长门大明神会梦到外星羊么?
innei
写代码是因为爱,写到世界充满爱!
lca
真正的不自由,是在自己的心中设下牢笼。
myesn
hi
写字的地方
图片加载慢,xLog只发无图文章。 图文内容,请访问博客:xzddf.com
Nagi-ovo
Breezing homepage: nagi.fun
区块链小八歌
Space Crypto
Crypto | DeFi | Blockchain | Ethereum
simon
地球人
世上本没有路
pseudoyu
Blockchain | Programming | Photography | Boyi
水十又
寄蜉蝣于天地,渺沧海之一粟。
Virts
私は可愛いです 🥰 お金をください ❤️
DarianBlog
达里安博客-专注于技术分享与交流的博客。博客致力于创造一个简单而直接的技术学习平台。
邱 璇洛
人类!都不是人类!大家都是!
Thanks for LaTeX
the answer is lying around, somewhere.
云野阁
闲云野鹤,八方逍遥
KowLoon
九龙博客 KowLoon Blog-空零博客,一枚雲居民與技術以及羊毛教程分享博客
Aluoy
去发光,而不是被照亮
Sunforger