81192

不管如何, 一个中国,一个强大的中国才是好的。
81192

macOS Version 10.13.4 (17E199) Xcode Version 9.3 (9E145)

今天更新了Xcode 9.3 macOS 10.13.4

Xcode ideworkspacechecks.plist文件

Project 'iOS-SS' Enable recommended warnings
This will enael the following recommended warnings
implicit retain of 'self' within blocks
overriding Deprecated Objective-C Method

然后在项目中多了 IDEWorkspaceChecks.plist 文件 增加了32位的警告 IDEDidComputeMac32BitWarning的警告

开始弃用了32-bit的支持,请使用64-bit,其实也没有多大用。。。

苹果官方是这么描述的(下图)

IDEWorkspaceChecks
https://developer.apple.com/news/?id=01242018d

这是Xcode9.3 发行说明,英文原版 点击传送门

原文

Xcode changes for deprecation of macOS 32-bit support
Removed the 32-bit option from the Architectures build settings UI. (35517385)
Building for 32-bit architecture on macOS now emits a warning. (35709244)
Deprecation and Removal Warnings
The Core Animation instrument and template have been deprecated in Instruments. The functionality previously under "Debug Options" has moved to Xcode, under "Debug > View Debugging > Rendering". (22971414)
The OpenGL ES Analyzer Instrument is no longer supported. It has been replaced by the GPU Frame Debugger in Xcode and will be removed in a future version of Instruments. (35104029)
General

Objective-C 给字符串MD5加密

Objective-C 给字符串MD5加密

引入  #import <CommonCrypto/CommonCrypto.h> 文件

   const char *cStr = [str UTF8String];
   
   unsigned char result[16];
   CC_MD5(cStr,(CC_LONG)strlen(cStr),result);
   
   NSString *md5 = [[NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
                  result[0],result[1],result[2],result[3],result[4],result[5],result[6],result[7],
                     result[8],result[9],result[10],result[11],result[12],result[13],result[14],result[15]] copy];

react-native f8app 让我很尴尬

react-native f8app 让我很尴尬

No bundle URL present.

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.

RCTFatal
-[RCTBatchedBridge stopLoadingWithError:]
__25-[RCTBatchedBridge start]_block_invoke_2
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
0x0














- 阅读剩余部分 -

一座城市,等一个人

遇一个能停下脚步的城,找一个能共渡一生的人。

人太闲的话就会各种胡思乱想,想着以前的,想着以后的,在自己的脑海利幻想着,就像是在做白日梦。
这一生,有一些事有做,有一些人要见;有的人注定了会给你留下什么,有的注定会消失的无影无踪,而为到底在寻找这什么,一个地方,或者一个人,或者很多人!
西安、咸阳、北京、大连、旅顺、天津、南京、青岛、烟台、成都、西宁、兰州、嘉峪关、太原、武汉
一直在走,只是一些留给了以后。。