前言: Blocks表现为“带有自动变量(局部变量)的匿名函数”。Blocks的本质是Objective-C的对象。本文主要内容来自《Objective-C高级编程 iOS与OSX多线程和内存管理》学习与探索,从Blocks的表现形式出发,通过Objective-C转换成的C++源码探索Blocks Read More
posted @ 2016-12-28 17:21 Xylophone Views(585) Comments(0) Diggs(0) Edit
第一章 创业前准备 1. 找准商业模式:商业模式就是企业的基本经营方法。包括四部分:用户价值定义、利润公式、产业定位、核心资源和流程。 用户价值定义是为目标用户群提供的价值,如提供产品、服务、销售渠道等 利润公式包括收入来源、成本结构、利润额度等 产业定位是企业在产业链中的位置和充当的角色 核心流程 Read More
posted @ 2023-04-24 00:07 Xylophone Views(37) Comments(0) Diggs(0) Edit
【SQL|菜鸟教程】 1. JOIN Read More
posted @ 2022-10-10 10:55 Xylophone Views(13) Comments(0) Diggs(0) Edit
来源【SQL教程|菜鸟教程】 1. 创建数据库、显示数据库、使用数据库 mysql> create database test; mysql> show databases; mysql> use test; 2. 创建数据表、插入数据 + + + + + + | id | name | url | Read More
posted @ 2022-10-09 15:53 Xylophone Views(25) Comments(0) Diggs(0) Edit
一、概念 桌面应用的平台有:macOS、windows、Linux等 二、桌面应用开发技术 平台 FrameWork 开发语言 应用 Windows MFC、WPF C++、C# Visual Studio MacOS Cocoa Objective-C、Swift Visual Studio QT Read More
posted @ 2021-08-12 12:42 Xylophone Views(253) Comments(0) Diggs(0) Edit
概念 分布式同步服务中间件:使用分布式一致性协议,提供分布式环境下的同步服务。内部有多个节点,如果其中一个节点崩溃了,其他节点就自动接管其功能,继续对外提供服务,好像什么都没有发生过一样。 基于状态机的复制协议(Paxos、Raft): 集群中的每个节点都可以响应客户的请求,如果某个节点A响应了客户 Read More
posted @ 2021-06-23 16:23 Xylophone Views(203) Comments(0) Diggs(0) Edit
一、LinkMap文件分析 说明:LinkMap数据是根据文章《LinkMap文件分析》中方法实验实测数据。 如何获得LinkMap文件 1.在XCode中开启编译选项Write Link Map File \n XCode -> Project -> Build Settings -> 把Writ Read More
posted @ 2020-12-18 19:44 Xylophone Views(1574) Comments(0) Diggs(0) Edit
1. libsystem_malloc.dylib的源码 https://opensource.apple.com/tarballs/libmalloc/ 。这里有多个版本(例如用otool找到iOS 9.3.5对应的源码是libmalloc-67.40.1.tar.gz)。 Read More
posted @ 2020-08-26 12:40 Xylophone Views(189) Comments(0) Diggs(0) Edit
1. 查看你是不是有php which php 2. 假设你的Demo.html 路径为 /Users/Sheron/Downloads/Demo.html cd /Users/Sheron/Downloads/php -S localhost:8080 3. 在浏览器打开 https://loca Read More
posted @ 2020-07-13 20:25 Xylophone Views(380) Comments(0) Diggs(0) Edit
{ "name": "XXX", "version": "1.0.0", "summary": "XXX Library", "description": "Provide XXX", "homepage": "http://xxx", "license": "xxx", "authors": { Read More
posted @ 2020-06-28 19:47 Xylophone Views(216) Comments(0) Diggs(0) Edit
1. ios对Flutter有如下依赖 Flutter.framework: Flutter engine等; APP.framework:业务代码, 由dart代码生成。App.framework也包含了kDartVmSnapshotData,kDartVmSnapshotInstructions Read More
posted @ 2019-12-12 11:45 Xylophone Views(1268) Comments(0) Diggs(0) Edit