如何围绕 Sculpt电脑enable在哪里 难度进行游戏设计

&p&谢邀&/p&&p&首先答主并没有使用Unibeast制作过安装盘。&/p&&p&以下是我自己折腾黑苹果的过程和一些经验吧,题主能到这里,至少动手能力肯定是不差了,所以很多地方我能简洁的就尽量简洁,不懂的地方善用Google,或者问我。我刚开始装也是翻遍了各大论坛,baidu Google了无数次才成功,希望能帮到你。(非常长,码字加截图大概两三个小时,快夸我。建议有点儿耐心。没有耐心的话我还是建议回到windows,装黑苹果享受的是装的过程,我反正装完以后很有成就感,相信你也会。)&/p&&hr&&p&&b&我现在用的是UEFI+clover引导+10.13.5原版镜像&/b&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-75a2ffdf0cf0bd30fe7ea_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1920& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1920& data-original=&https://pic4.zhimg.com/50/v2-75a2ffdf0cf0bd30fe7ea_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/50/v2-edfba8b16899_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1920& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1920& data-original=&https://pic2.zhimg.com/50/v2-edfba8b16899_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/50/v2-aca90724ddf4e6e9872d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1920& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1920& data-original=&https://pic2.zhimg.com/50/v2-aca90724ddf4e6e9872d_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/50/v2-9e996b1aa7e2af32bcbb_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1920& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1920& data-original=&https://pic4.zhimg.com/50/v2-9e996b1aa7e2af32bcbb_r.jpg&&&/figure&&p&&br&&/p&&p&推荐使用白苹果或者虚拟机制作安装盘,网上也有很多懒人包什么的,但你不知道他修改过什么,或者是到底怎么去制作的,我不是说懒人包有什么问题,我刚接触黑苹果的时候还是用过很多大神做的懒人包,只是个人觉得还是自己制作,了解其中的过程要好一些。这里介绍两种方法,一种在已有Mac或者是虚拟机上,一种是在windows上。&/p&&p&&br&&/p&&p&&b&&i&1.怎么在macOS或虚拟机环境下制作启动盘&/i&&/b&&/p&&p&开机后在AppStore搜索macOS,然后下载,插好U盘(大于8G),格式化U盘,名称自己取好并记住,最好简单一些(ABC之类的),格式为Mac OS扩展(日志式)。&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-f84ae7578ad8_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1000& data-rawheight=&568& class=&origin_image zh-lightbox-thumb& width=&1000& data-original=&https://pic3.zhimg.com/50/v2-f84ae7578ad8_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/50/v2-68cd19c0bc8b828fedb16c_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&770& data-rawheight=&436& class=&origin_image zh-lightbox-thumb& width=&770& data-original=&https://pic2.zhimg.com/50/v2-68cd19c0bc8b828fedb16c_r.jpg&&&/figure&&p&打开Finder,在应用程序中找到下载好的“安装macOS High Sierra”右键显示包内容,然后在Contents/Resources下找到名为createinstallmedia的脚本文件,然后用终端调用这个文件。&/p&&p&代码为:&i&&b&/Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinnstallmedia --volume /Volumes/ABC --applicationpath /Applications/Install\ macOS\ High\ &a href=&//link.zhihu.com/?target=http%3A//sierra.app/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Sierra.app&/a&&/b&&/i&&/p&&p&对照自己的设置修改一下(其中ABC是你的U盘名称,注意空格。)&/p&&p&回车以后提示确认,输入y就行了,然后等待完成,启动盘就做好了。&/p&&p&然后是把clover文件放到EFI分区中(这里推荐从官网下载:&a href=&//link.zhihu.com/?target=https%3A//sourceforge.net/projects/cloverefiboot/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Clover下载&/a&
我忘记了是不是需要搭梯子才能访问,自己试一下,如果不行,自己找个梯子出去下载)。&/p&&p&到此安装盘就已经制作好了,至于config.plist和驱动怎样配置后面会有详细的方法。&/p&&p&&b&&i&2.怎么在WIndows环境下制作启动盘&/i&&/b&&/p&&p&在windows下有很多方法都可以制作Mac启动盘,我一般都使用Transmac,这里答主就不去截windows下的图了(很久没进过windows,因为不怎么玩儿游戏,虽然是双系统,但是很久没用过Windows了)。这里答主就凭记忆来了啊(手动滑稽),首先安装Transmac,选中你的U盘,首先把你的U盘抹成mac下的格式,名字叫什么忘了,F开头的(吃了文化上的亏),抹盘完成后点Restore开头那个,找到你下载好的原版镜像。(网上也是一抓一大把) 等待读条完成后,在我的电脑里就会出现EFI分区。&/p&&p&如果到这里没有出现EFI分区,需要用到磁盘管理工具,比如DiskGenius,在DiskGenius里选中你U盘里的EFI分区,右键取消隐藏分区,并且给它分配一个盘符,然后将Clover文件放入EFI分区。&/p&&p&到此启动盘就做好了&/p&&h2&&b&**重中之重,题主安装失败的原因,很大可能性是这里出错了**&/b&&/h2&&p&到这里应该会得到一个有两个分区的启动盘,一个分区里装的clover引导的文件,另一个分区里是macOS的镜像,重要的是到这里做好的启动盘一般是不能直接安装的,还需要根据自己的电脑硬件来修改Clover里的config.plist,以及添加适用于自己电脑的驱动才能正常引导。&/p&&p&先安装CPU-Z或者鲁大师来查看自己电脑的配置,如果你完全知道是哪些硬件,那就忽略这一步。需要修改的地方有两个,一个是EFI/clover/cofig.plist,第二个是EFI/clover/kexts,第一个是clover的配置文件,第二个是存放驱动的文件夹。&/p&&p&首先是config.plist,在windows下这个需要用PlistEditor打开(不要用记事本直接打开)。mac或者虚拟机下使用CloverConfigurator打开(网上也是可以找到的),我比较推荐用这个,更加直观一些,如果你没有白苹果或者懒得装虚拟机,那就用PlistEditor也行。&/p&&h2&&b&&i&ACPI:如果想完美驱动黑苹果,就需要调整这里的设置,但是安装的时候不需要,这里全部取消掉,所有选项都不勾选。&/i&&/b&&/h2&&h2&&b&&i&Boot:勾选Verbose,这个是在安装的时候屏幕上会出现日志,以便检查错误。Timeout,这个是你进入clover引导后,启动系统前的等待时间,一般设置成5,也就是5秒以后自动进入系统,0是不等待直接进入系统,-1是没有倒计时,你自己手动选择进入。&/i&&/b&&/h2&&h2&&b&&i&CPU:这里我安装的时候没有设置,全部留白就行。&/i&&/b&&/h2&&h2&&b&&i&Devices:也不需要设置。&/i&&/b&&/h2&&h2&&b&&i&Disable Drivers:这个是设置禁止使用驱动的列表,不用设置。&/i&&/b&&/h2&&h2&&b&&i&GUI:Mouse是设置鼠标的参数,我反正用不了,不用管,Scan是clover的扫描类型。看自己喜好吧,language是clover的界面语言,选择en(也就是英文),ScreenResolution是指屏幕分辨率,看自己喜好,Hide Volume是你想隐藏的启动项,安装完成以后,多的启动项就可以在这里设置隐藏,Theme是clover的主题,你如果觉得哪个好看,在网上找到后放到EFI分区中的Theme文件夹中,在这里输入名字。&/i&&/b&&/h2&&h2&&b&&i&Graphics:我安装的时候没改过。&/i&&/b&&/h2&&h2&&b&&i&Kernel and Kext Patches:我勾选了Kernel CPU,Apple RTC,KernelPm。&/i&&/b&&/h2&&h2&&b&&i&Rt Variables:我没设置过,不用管。&/i&&/b&&/h2&&h2&&b&&i&SMBIOS:这里是你机器的信息,安装的时候不用管,后面完善系统的时候会用到,在网上找或者用我下面的都可以。&/i&&/b&&/h2&&h2&&b&&i&System Parameters:这里是一些系统参数,我Inject Kexts选的是Detect,勾选Inject System ID,其他的都不用管。&/i&&/b&&/h2&&p&到这里config.plist就算修改完成了,记得保存。&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-55e7c99d3a4dcc18727aa7_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1582& data-rawheight=&828& class=&origin_image zh-lightbox-thumb& width=&1582& data-original=&https://pic1.zhimg.com/50/v2-55e7c99d3a4dcc18727aa7_r.jpg&&&/figure&&p&&br&&/p&&p&&b&&i&这里放出我全部安装好以后设置:&/i&&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-f7bd2ffd212f000daa7b3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic3.zhimg.com/50/v2-f7bd2ffd212f000daa7b3_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/50/v2-d05d6073f21_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic2.zhimg.com/50/v2-d05d6073f21_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/50/v2-d45ab1bb58059ccdae536d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic4.zhimg.com/50/v2-d45ab1bb58059ccdae536d_r.jpg&&&/figure&&figure&&img src=&https://pic3.zhimg.com/50/v2-74a7ed5e7ddc713e850a_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic3.zhimg.com/50/v2-74a7ed5e7ddc713e850a_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/50/v2-6caa3c6d8baea77e19da41ccc1189796_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic4.zhimg.com/50/v2-6caa3c6d8baea77e19da41ccc1189796_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/50/v2-4daae53f60d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic2.zhimg.com/50/v2-4daae53f60d_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/50/v2-8c13add8_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1222& data-rawheight=&682& class=&origin_image zh-lightbox-thumb& width=&1222& data-original=&https://pic4.zhimg.com/50/v2-8c13add8_r.jpg&&&/figure&&h2&&b&&i&驱动方面FakeSMC.kext是必须要的,其他的都可以不要,(我是建议先找好网卡驱动,不然开机没有网络是真的骚,首先看你自己的网卡是什么型号,然后Google一下,一般都能找到。)&/i&&/b&&/h2&&h2&&b&&i&网卡装完开机以后要确认是否是内建网卡如图:&/i&&/b&&/h2&&figure&&img src=&https://pic4.zhimg.com/50/v2-a3b4e12d149fcfbe2c02_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&751& data-rawheight=&520& class=&origin_image zh-lightbox-thumb& width=&751& data-original=&https://pic4.zhimg.com/50/v2-a3b4e12d149fcfbe2c02_r.jpg&&&/figure&&p&&b&&i&其他的等系统安装完成后再来网上找对应自己硬件的驱动,顺便提一句如果开机黑屏的话,可以先屏蔽掉独显,开机以后再安装Web Driver &/i&&/b&&a href=&//link.zhihu.com/?target=https%3A//images.nvidia.com/mac/pkg/378/WebDriver-378.10.10.10.15.117.pkg& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Web Driver下载&/a&(系统安装完成后进入系统下载安装,不要忘了检查更新)。&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-cab827cca45_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&668& data-rawheight=&443& class=&origin_image zh-lightbox-thumb& width=&668& data-original=&https://pic1.zhimg.com/50/v2-cab827cca45_r.jpg&&&/figure&&p&如果有驱动找不到的,可以找我。&/p&&p&&b&&i&以下是我用到的驱动:&/i&&/b&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-018baf85adad_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&760& data-rawheight=&420& class=&origin_image zh-lightbox-thumb& width=&760& data-original=&https://pic4.zhimg.com/50/v2-018baf85adad_r.jpg&&&/figure&&p&**接下来就是安装了**&/p&&ol&&li&将你要安装的磁盘抹成GPT格式(推荐使用DiskGenius)。&/li&&li&将你的硬盘模式改成为AHCI。&/li&&li&关闭BIOS闪速启动(或者叫快速启动)。&/li&&li&关闭BIOS安全启动。&/li&&li&设置主板为UEFI启动。&/li&&li&选择开机,然后从U盘引导,clover引导界面选择从“U盘进入安装”。&/li&&li&这里会出现很多日志。&/li&&li&进入安装界面后,选择磁盘工具,选中要安装的磁盘,开始抹盘。&/li&&/ol&&p& (1)如果抹盘失败,选择重新抹盘。&/p&&p& (2)如果还是失败,选中磁盘分区,选择MAC扩展(日志)格式,分区以后重新抹盘。&/p&&p&9.关闭磁盘工具,选择安装macOS,安装过程大概几分钟(我的是安装在固态里面的,机械硬盘可能会久一点儿)。&/p&&p&10.提示安装完成后,会自动重启,clover引导界面选择从硬盘安装macOS,安装完成自动重启。&/p&&p&11.如果出现“macOS未能安装在你的电脑”的提示,重复上面6-10步的过程。&/p&&p&12.重启后clover界面会多出一个名为从硬盘启动macOS的引导项,方向键选择进入。&/p&&p&进入开机设置界面后,按提示创建账户。&/p&&p&别忘了装驱动哦&/p&&p&&br&&/p&&p&&b&&i&最后介绍一下clover引导界面的一些选项,F1是帮助,F2是日志,enter键是进入系统,空格键是显示当前启动项的信息和设置,其他的都没太大作用,又用点儿的是Options,这里可以修改很多刚才提到的Config.plist里面的设置,不过是一次性的,下次启动就还原了,如果刚才设置的时候有问题,可以到这里修改一下,尝试再启动一次,避免反复开机的麻烦。&/i&&/b&&/p&&hr&&p&到此基本就算成功了,因为每个人的硬件都不同,后面完善就靠你自己了。&/p&
谢邀首先答主并没有使用Unibeast制作过安装盘。以下是我自己折腾黑苹果的过程和一些经验吧,题主能到这里,至少动手能力肯定是不差了,所以很多地方我能简洁的就尽量简洁,不懂的地方善用Google,或者问我。我刚开始装也是翻遍了各大论坛,baidu Google了无…
&p&&b&Hello~我是一周君。&/b&&/p&&p&关于思维导图以前也曾无数次讨论过,但大多是偶尔提及,没有深入细究过。很多人都在用思维导图,但它到底是什么?&/p&&p&&br&&/p&&p&思维导图用途其实很多,我们可以把它分为八种思维模型:&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-e54cedd7b2e411eac6d8_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&528& data-rawheight=&639& class=&origin_image zh-lightbox-thumb& width=&528& data-original=&https://pic2.zhimg.com/50/v2-e54cedd7b2e411eac6d8_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&blockquote&Circle Map(圆形图)&br&Bubble Map(气泡图)&br&Double Bubble Map(双气泡图)&br&Tree Map(树状图)&br&Brace Map(分支图)&br&Flow Map(流程图)&br&Multi-Flow Map(多流程图)&br&Bridge Map(桥图)&/blockquote&&p&所以的思维导图,都可以总结到这八类里面去。而在平时的学习工作中,我们主要还是把思维导图用到这几个地方:&/p&&p&&b&① 记笔记&/b&&br&用思维导图记读书笔记、会议记录、总结等还是非常好用。&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-b7d069f219e2b_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&412& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic3.zhimg.com/50/v2-b7d069f219e2b_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&b&② 列提纲&/b&&br&提纲与笔记不同,提纲是从零开始的过程,而笔记则是对已有内容的梳理。&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-ebdd12cefcf5_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&282& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-ebdd12cefcf5_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&b&③ 写计划&/b&&br&&/p&&p&计划其实是在提纲更深一层的延伸,涉及到更多的时间、位置等具体信息。&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-eb42aa3ebf7825fdbe5176f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&409& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-eb42aa3ebf7825fdbe5176f_r.jpg&&&/figure&&p&&br&&/p&&p&&b&④ 日程规划&/b&&br&日程规划我们也可以用思维导图来完成,制作水平方向的关系图即可。&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-a58deaa6bf8fc1cfaef8a_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&226& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-a58deaa6bf8fc1cfaef8a_r.jpg&&&/figure&&p&&br&&/p&&p&或者这些:&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-9cded43a51bf_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&405& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic3.zhimg.com/50/v2-9cded43a51bf_r.jpg&&&/figure&&figure&&img src=&https://pic3.zhimg.com/50/v2-8c15aeddaeadfce1f21ef_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&521& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic3.zhimg.com/50/v2-8c15aeddaeadfce1f21ef_r.jpg&&&/figure&&figure&&img src=&https://pic1.zhimg.com/50/v2-3d0b5a531eb90b1ed174bce_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&601& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/50/v2-3d0b5a531eb90b1ed174bce_r.jpg&&&/figure&&p&以上,我们都可以在思维导图软件中完成。&/p&&p&&br&&/p&&h2&&b&【2】有哪些好用的思维导图工具?&/b&&/h2&&p&思维导图工具有很多,大家选择时依据平台和自己的需求进行即可。&/p&&p&&br&&/p&&p&&b&① 百度脑图&/b&&br&百度脑图是在线的思维导图工具,如果电脑不在身边或者在只有网络的情况下,可以使用。&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-02eed2fd9721_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&375& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-02eed2fd9721_r.jpg&&&/figure&&p&&br&&/p&&p&&b&② Xmind&幕布&/b&&br&如果平时经常需要跨平台,而且在不同设备上使用,推荐使用Xmind&幕布。&/p&&p&幕布体量很小,但多平台同步(Mac&Win&iOS&Android)非常棒,而且速度非常快。我们可以先按文字逻辑然后直接转成思维导图。&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-7aa752adcb045_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&408& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/50/v2-7aa752adcb045_r.jpg&&&/figure&&p&&br&&/p&&p&而且幕布还可以导出FreeMind,直接在Xmind中使用。&/p&&p&&br&&/p&&p&Xmind也是如此,多平台(Mac&Win)同步非常棒,而且Xmind的功能应该是所有思维导图工具最全面的(后面详细讲解)&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-46cf347dbb4e5a516a55f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&408& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-46cf347dbb4e5a516a55f_r.jpg&&&/figure&&p&&br&&/p&&p&&b&③ lighten&/b&&br&lighten是Xmind开发的一款手机思维导图App,所以当我们用手机记笔记时也可以采用思维导图来完成。&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-9ea75e2b1d8d15b0041079a_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-9ea75e2b1d8d15b0041079a_r.jpg&&&/figure&&p&Xmind也有App版本,不过是作为Xmind的云服务存在,操作输入上不如lighten来得便捷。&/p&&p&&br&&/p&&h2&&b&【3】这些思维导图的基本原则你必须知道&/b&&/h2&&p&很多同学在使用思维导图的过程中,通常都会把它当成一个记笔记的工具,理不清分支逻辑,久而久之就养成了错误的使用习惯。&/p&&p&&br&&/p&&p&&b&① MECE法则&/b&&br&MECE(Mutually Exclusive Collectively Exhaustive)中文意思是:“相互独立,完全穷尽”,就是说我们对一个题目,一定要做到不重叠、不遗漏的分类,这样才能完整的去把握一个问题的核心。&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-04277ab1ddffb91bc758f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&392& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-04277ab1ddffb91bc758f_r.jpg&&&/figure&&p&&br&&/p&&p&运用到思维导图中也是如此,我们的每一个分支一定都要没有重复含义,否则会导致有歧义的现象产生。&/p&&p&&br&&/p&&p&&b&② 金字塔原则&/b&&br&金字塔原则更像是一种结构化的思考模型,而在思维导图中我们需要注意的是,一个题目要用3~7个论点完成,这也遵循MECE法则。&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-b6c5c312d88ae638e5b5c_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&439& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-b6c5c312d88ae638e5b5c_r.jpg&&&/figure&&p&思维导图不易分类过多,否则会显得不够清晰。&/p&&p&&br&&/p&&p&在这里以 Xmind为例,做个简单的使用操作。&/p&&p&&br&&/p&&h2&&b&【4】Xmind有哪些鲜为人知但却好用到爆的技巧&/b&&/h2&&p&Xmind也许是使用最广泛的思维导图工具了,很多公司甚至都当做了内容汇报的工具,而关于Xmind的使用似乎一直以来都很少人提及。&/p&&p&&br&&/p&&p&① Word转制思维导图&br&看上去似乎很简单的小技巧但却非常实用。我们在Word中列好内容,缩进用Tab键完成。&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-ebee86ff467e5cfeb56db3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&301& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/50/v2-ebee86ff467e5cfeb56db3_r.jpg&&&/figure&&p&然后复制,在Xmind选中主题后直接粘贴。&br&&/p&&p&我们就完成了思维导图的制作。&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-cfba7bbae64edb_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&264& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/50/v2-cfba7bbae64edb_r.jpg&&&/figure&&p&②使用iconfinder&br&Xmind有些演示工具中的PPT的存在,功能十分全面,但默认版式不算特别好看。&/p&&p&Xmind 8绑定了iconfinder,我们可以快速的调用icon来美化,从而使得思维导图更加好看。&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-e2fd7ba2cc53_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&392& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/50/v2-e2fd7ba2cc53_r.jpg&&&/figure&&p&&b&③切换结构&/b&&br&Xmind的结构设计也非常简单,一份思维导图有许多具有主次的关系的主题构成,而每个主题又可以当做是一个新的思维导图,因此我们就可以通过不同结构的组合从而达到许多意想不到的效果。&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-71b83d34d4a2d4f21c0300_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&294& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-71b83d34d4a2d4f21c0300_r.jpg&&&/figure&&p&&br&&/p&&p&&b&④发布链接&保存到evernote&/b&&/p&&p&在Xmind8中我们还可以把制作完成的思维导图直接以链接形式分享,或者保存到Evernote中。&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-078c424ab79ed1b171dc4e61d6859619_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&596& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic3.zhimg.com/50/v2-078c424ab79ed1b171dc4e61d6859619_r.jpg&&&/figure&&p&&br&&/p&&p&&b&⑤导出Office文件&/b&&br&Xmind还有一处非常方便在于可以快速导出为Office文件,比如Word、PPT等。&/p&&p&因此我们在制作PPT前,可以先用Xmind将内容整理好,再去制作也不迟。&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-867452ace18ca227a2e8e3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&678& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-867452ace18ca227a2e8e3_r.jpg&&&/figure&&p&&br&&/p&&p&除了这些外,Xmind还有一系列比如头脑风暴、演示模式等非常炫酷的功能。如果大家如果想学习更多关于Xmind的操作,可以去官网查看更多关于Xmind的教程:&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-b05ab8f3ee349bffd0a57b8_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&286& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/50/v2-b05ab8f3ee349bffd0a57b8_r.jpg&&&/figure&&p&&br&&/p&&p&详细的Xmind使用,可以参考历史文章:&/p&&p&&a href=&//link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s/NwZlsYhRW73mWfBDb3PGhw& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&思维导图,原来Xmind这么强大!| 神器推荐&/a&&/p&&p&&br&&/p&&p&好啦~分享完毕,希望有助。&/p&&p&&/p&&p&&/p&
Hello~我是一周君。关于思维导图以前也曾无数次讨论过,但大多是偶尔提及,没有深入细究过。很多人都在用思维导图,但它到底是什么? 思维导图用途其实很多,我们可以把它分为八种思维模型: Circle Map(圆形图) Bubble Map(气泡图) Double Bubble Map…
&figure&&img src=&https://pic1.zhimg.com/v2-04e25be49ebcb767fe69_b.jpg& data-rawwidth=&750& data-rawheight=&562& class=&origin_image zh-lightbox-thumb& width=&750& data-original=&https://pic1.zhimg.com/v2-04e25be49ebcb767fe69_r.jpg&&&/figure&&p&&/p&&a href=&http://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s/DAUZe0PvJlNP6zOiDfnuFA& data-draft-node=&block& data-draft-type=&link-card& data-image=&https://pic4.zhimg.com/v2-f3983aabfa47fa055d62fe52ex120.jpg& data-image-width=&326& data-image-height=&184& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&黑苹果系统安装&/a&&p&&b&准备工作(工具包及镜像在后边)&/b&&/p&&p&一个8G以上的U盘(有的U盘标的是8G,实际只有7.X,实际容量小于7.5G的会失败)、MacOS镜像、Transmac、分区工具(DiskGenius)、EasyUEFI(企业版的系统要下载EasyUEFI企业破解版)、EFI文件(网上能找到机子机型的最好,如果没有自己配一个或者试试系统带的)、Clover Configurator(四叶草助手,用来配置config)。&/p&&p&楼主的工具包&/p&&figure&&img src=&https://pic3.zhimg.com/v2-5eb2ef7a646_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1091& data-rawheight=&208& class=&origin_image zh-lightbox-thumb& width=&1091& data-original=&https://pic3.zhimg.com/v2-5eb2ef7a646_r.jpg&&&/figure&&p&&br&&/p&&p&&b&制作启动U盘&/b&&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-072b41d73b9bc89f83500b7afa0432a1_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1027& data-rawheight=&743& class=&origin_image zh-lightbox-thumb& width=&1027& data-original=&https://pic2.zhimg.com/v2-072b41d73b9bc89f83500b7afa0432a1_r.jpg&&&/figure&&p&1、将您的U盘插入电脑,然后打开TransMac。在TransMac窗口的左栏找到你的U盘。用鼠标右键单击U盘,然后单击“Format Disk for Mac”(这将删除U盘上的所有文件,并为macOS做好准备)。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-de28fdaf8c7719ed39ffccb6078e32bc_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&992& data-rawheight=&679& class=&origin_image zh-lightbox-thumb& width=&992& data-original=&https://pic1.zhimg.com/v2-de28fdaf8c7719ed39ffccb6078e32bc_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/v2-165620bdc7786fbe2d2b5f376dfecca3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1037& data-rawheight=&751& class=&origin_image zh-lightbox-thumb& width=&1037& data-original=&https://pic4.zhimg.com/v2-165620bdc7786fbe2d2b5f376dfecca3_r.jpg&&&/figure&&p&2. 格式完后选Restore with Disk Image,选择刚刚下载的10.12.3 dmg镜像,确认写入然后是20分钟左右的等待(具体时间看自己电脑配置与USB速度)。&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-e837f9e09b563cebb1186_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&860& data-rawheight=&519& class=&origin_image zh-lightbox-thumb& width=&860& data-original=&https://pic3.zhimg.com/v2-e837f9e09b563cebb1186_r.jpg&&&/figure&&p&刻录镜像,耐心等待&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-3bea3514a5_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&954& data-rawheight=&652& class=&origin_image zh-lightbox-thumb& width=&954& data-original=&https://pic2.zhimg.com/v2-3bea3514a5_r.jpg&&&/figure&&p&TransMac详解&/p&&p&&br&&/p&&p&&b&配置驱动&/b&&/p&&p&写入完成后,重新拔插一下U盘,电脑会提示格式化当前设备,不用管,这是因为windows无权访问EFI分区,这时就用分区工具打开你的U盘上的EFI分区,这个就是引导分区,先把自带的EFI文件夹删除,把适合自己电脑EFI文件夹复制进去,路径:EFI/EFI/;分区工具在EFI分区没有粘贴选项,只能用快捷键粘贴,Ctri+C复制,Ctrl+V粘贴(有的电脑可以直接访问,就不需要去分区工具打开了)。&/p&&p&这里有我收集的一些&/p&&figure&&img src=&https://pic4.zhimg.com/v2-870beadca3bbcb23a117cbf_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1055& data-rawheight=&374& class=&origin_image zh-lightbox-thumb& width=&1055& data-original=&https://pic4.zhimg.com/v2-870beadca3bbcb23a117cbf_r.jpg&&&/figure&&p&EFI资源,获取方式在下边。&/p&&p&至此 U盘引导盘就制作完成了!黑苹果以完成80%了。&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&b&安装系统&/b&&/p&&p&1.分区给系统盘&/p&&p&本人强烈推荐一定要把这个区放在最后面,如果把这两个分区从中间压缩卷出来,对这两个分区进行操作时非常危险,后面的分区随时可能消失,数据无价,请机油一定要重视这个问题。 &/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-3859aacadc0b34265d15fb_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&625& data-rawheight=&439& class=&origin_image zh-lightbox-thumb& width=&625& data-original=&https://pic4.zhimg.com/v2-3859aacadc0b34265d15fb_r.jpg&&&/figure&&p&计算机右键&管理&磁盘管理&/p&&p&选中要压缩的磁盘,系统盘分25G以上,这个参考自己的硬盘和需求&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-1486caae4e45efaa8ee013_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&343& data-rawheight=&300& class=&content_image& width=&343&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&接下来新建系统盘分区&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-6fa2138416fffb749b3b790a4e1c9692_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&580& data-rawheight=&469& class=&origin_image zh-lightbox-thumb& width=&580& data-original=&https://pic3.zhimg.com/v2-6fa2138416fffb749b3b790a4e1c9692_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-8ac472cdad1beb06fa504f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&397& data-rawheight=&300& class=&content_image& width=&397&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-4a556ecb8bc24b596e02a_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&394& data-rawheight=&300& class=&content_image& width=&394&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&接下来会提示要格式化这个分区,不要管,点击取消。&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-17f4ce49dab_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&335& data-rawheight=&158& class=&content_image& width=&335&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&至此安装盘搞定,黑苹果完成了85%。&/p&&p&2.安装系统&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-090fd885c1af7e0cc557_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&392& data-rawheight=&220& class=&content_image& width=&392&&&/figure&&p&A.重启按F2用U盘进系统(电脑不一样,按键也不一样,就看自己电脑型号),安装的前提是自己gpt+uefi引导。如果不是自己百度进行更改!帖子后边有无损更改的教程及工具包。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-644ae08ab1a3c0a19b6958_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1024& data-rawheight=&768& class=&origin_image zh-lightbox-thumb& width=&1024& data-original=&https://pic1.zhimg.com/v2-644ae08ab1a3c0a19b6958_r.jpg&&&/figure&&p&B. 重启进入clover后,选择Boot MacOS install from install macOS High Sierra,过一会儿会进入如下界面:&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-ba842d085d6db12e2479_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&434& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/v2-ba842d085d6db12e2479_r.jpg&&&/figure&&p&C.选择你要的语言后,点击继续。成功进入High Sierra Zone安装程序菜单后,必须格式化硬盘安装macOS High Sierra。选择”磁盘工具“,找到刚刚自己新建的安装盘,输入一个名称,抹掉为“APFS”。&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-18ebabcc32c5a8247907ee_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1024& data-rawheight=&768& class=&origin_image zh-lightbox-thumb& width=&1024& data-original=&https://pic3.zhimg.com/v2-18ebabcc32c5a8247907ee_r.jpg&&&/figure&&p&D.关闭“磁盘工具”,选择“安装OS X”,然后找到自己刚刚摸掉的那个盘,选中后安装!&br&&/p&&p&E.第一次跑进度条是转移数据,转移完后会重启。&/p&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/v2-ebcbde61b72_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic3.zhimg.com/v2-ebcbde61b72_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-01bedc09a88df9cc0d4f222fe9cbe689_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic2.zhimg.com/v2-01bedc09a88df9cc0d4f222fe9cbe689_r.jpg&&&/figure&&p&F.重启时继续选择U盘进系统,进入四叶草界面,这是会有不止一个苹果分区(4个)。选择Boot MacOS from XXX,(XXX你刚刚抹掉的那个安装盘的名字)过一会儿会进入正式安装界。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-2e8b3abf3dca04dea7018_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/v2-2e8b3abf3dca04dea7018_r.jpg&&&/figure&&figure&&img src=&https://pic4.zhimg.com/v2-6a4b15bef23_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic4.zhimg.com/v2-6a4b15bef23_r.jpg&&&/figure&&figure&&img src=&https://pic1.zhimg.com/v2-3ca1c68695ffafc630db83b0_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&640& data-rawheight=&480& class=&origin_image zh-lightbox-thumb& width=&640& data-original=&https://pic1.zhimg.com/v2-3ca1c68695ffafc630db83b0_r.jpg&&&/figure&&p&G.重启后选择安装好的磁盘分区启动,进入创建用户界面,最后你就进入系统了!&/p&&p&&b&改硬盘启动&/b&&/p&&p&把刚刚的EFI文件夹里的clover文件夹拷贝到硬盘的ESP分区(跟之前一样,用快捷键拷贝)。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-1cbe133aac3c_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&888& data-rawheight=&491& class=&origin_image zh-lightbox-thumb& width=&888& data-original=&https://pic1.zhimg.com/v2-1cbe133aac3c_r.jpg&&&/figure&&p&&br&&/p&&p&然后安装EasyUEFI,打开,选择管理EFI启动项。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/v2-4c0d9c8234df84faf62bacc_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1366& data-rawheight=&768& class=&origin_image zh-lightbox-thumb& width=&1366& data-original=&https://pic1.zhimg.com/v2-4c0d9c8234df84faf62bacc_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&然后添加clover启动项,见下图,粘贴子网络&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-d8e7a1bbdfaef_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&891& data-rawheight=&1485& class=&origin_image zh-lightbox-thumb& width=&891& data-original=&https://pic4.zhimg.com/v2-d8e7a1bbdfaef_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/v2-07cbd852fe1d34c5c8708ab3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&897& data-rawheight=&1478& class=&origin_image zh-lightbox-thumb& width=&897& data-original=&https://pic4.zhimg.com/v2-07cbd852fe1d34c5c8708ab3_r.jpg&&&/figure&&p&&br&&/p&&p&把刚刚新建的那个引导调到第一个位置&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/v2-306a013dcd_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1188& data-rawheight=&668& class=&origin_image zh-lightbox-thumb& width=&1188& data-original=&https://pic2.zhimg.com/v2-306a013dcd_r.jpg&&&/figure&&p&&br&&/p&&p&至此黑苹果安装教程写完,祝各位尽早吃上黑苹果!&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&&br&&/p&&p&这里是安装工具、镜像及EFI文件&/p&&p&微信获取&/p&&a href=&http://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s/DAUZe0PvJlNP6zOiDfnuFA& data-draft-node=&block& data-draft-type=&link-card& data-image=&https://pic4.zhimg.com/v2-f3983aabfa47fa055d62fe52ex120.jpg& data-image-width=&326& data-image-height=&184& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&黑苹果系统安装&/a&&p&&br&&/p&&p&由于百度链接经常失效,我把链接及教程都放在上边的公众号里,里边还有很多Mac办公软件、游戏资源、黑苹果驱动都是免费提供的,另外还有很多Mac使用技巧以及Mac交流群,关注后到软件---系统修复----黑苹果,点击相应推文获取相关资源的百度链接!&/p&
准备工作(工具包及镜像在后边)一个8G以上的U盘(有的U盘标的是8G,实际只有7.X,实际容量小于7.5G的会失败)、MacOS镜像、Transmac、分区工具(DiskGenius)、EasyUEFI(企业版的系统要下载EasyUEFI企业破解版)、EFI文件(网上能找到机子机…
&p&最近迷恋开源项目,所以这里有一个Github Repo希望可以了解一下: &a href=&//link.zhihu.com/?target=https%3A//github.com/huangyz0918/Hackintosh-Installer-University& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Hackintosh-Installer-University&/a& 。欢迎star和上传配置分享经验,成为一个Contributor : )&/p&&p&&br&&/p&&p&----- 以下是原答案 -------&/p&&p&&br&&/p&&p&我来回答一下这个问题:&/p&&p&首先,为什么我会在黑苹果的道路上越走越远?大家都知道完美一台Hackintosh的难度在安装各类操作系统中无疑是最难的,那么这么苦逼的一条折腾路,为什么还有那么多人花出大量的时间和精力去做?&br&这个问题其实没有很多回答的意义,就好比大家都明白考清华北大很难考一样,但是就是有那么多人会去拼命,然后最终考上。可能一般人都只是看到了做这一件事情表面上的成果,对于考清华北大来说,考上意味着你就是最优秀的学生之一,并且可以享受全国高校里面最优质的教育资源。对于安装黑苹果来说,带来的好处在外人看来就是不花钱改造出一台苹果机器,同时可以自己定制,在配置上说不定还比苹果电脑高很多。&/p&&p&但是,这只是表面上的好处和一些很肤浅的动力而已。仅仅是想不花钱或者少花钱使用macOS系统或是仅仅想装逼的人,往往都是没能在这条道路上坚持下去并且取得成功的那一个人。这里我没有想把Hackintosh提高到一个什么很高的精神领域的意思,因为它本来就是极客的产物,而且是违反苹果法案的产品,我是从做一件事情,折腾一件事情的角度表达我的观点。&/p&&p&我自己也曾经花了很长的一段时间钻研黑苹果,最初的动力可能是和任何一个想搞黑苹果的人的一样,那就是不买昂贵的苹果电脑就用上苹果系统,或者说,想装逼。但是当我真正钻到这个过程里面的时候,我头晕了,仅仅是看见原版安装界面就花了我一个星期!那一个星期里面,作为一个平常天天有课的大学生,我都会腾出2-3小时来修改我启动盘里面的kext,目的就是为了进入一个安装界面而不是卡在一行行的引导代码里!&/p&&p&然后这个时候你周围就会有人说闲话了,比如说你这人成天搞鼓什么东西啊?怎么也不见得搞出什么名堂之类的,有的人可能还会藐视你干的事情,加上他们不了解,可能就会觉得你这个人没什么折腾计算机的能力还喜欢逞强。这个时候还是没能看到安装界面,我就在思考有没有必要继续折腾下去了,有的时候真的会想:能够用钱解决的问题,真的一定要这么屌丝天天搞嘛?有这么多时间,为什么不用来看看书写写代码?&/p&&p&折腾本来就是一件很矛盾的东西,当然也有的人运气很好,遇到好装的配置一路顺风就把黑苹果完成了的那种。不过我相信大部分搞黑苹果的朋友应该都和我一样,遇到过无数不知名的错误,经常想要放弃折腾。幸运的是,我坚持了下来,因为解决安装过程中的那一个个bug带来的快感,已经超越了我对苹果系统的好奇和想使用它的欲望。不知道有没有朋友和我一样,在最终完美第一个黑苹果的时候,居然没觉得有多么高兴,反而有点空虚?&/p&&p&在这个过程中,我完全打破了对以往安装一个Windows或者说linux桌面系统的感觉和思路。为了安装好一个黑苹果,我上网查阅了无数的资料,深度学习了很多关于计算机的知识,从软件到硬件,包括计算机启动的过程。了解了引导和分区的原理,我编译了Clover Bootloader源代码,明白了驱动硬件的原理和计算机的拆解,学会了很多Unix命令包括linux下DSDT的提取,甚至还学会了一些简单驱动的适配并且在Github上给Rehabman的项目贡献了一份力……总之经过了这个过程,我才发现我收获的已经远远不止一个运行在PC上的macOS了,而是一种解决问题,独立思考的能力和不轻易就放弃的精神,没有折腾过黑苹果还在外面各种吐槽的朋友们,你能懂吗?&/p&&p&如果一定要告诉你我是什么心态,之前那位答主说的:“Because we can”固然是一大方面,我还想说的就是:我们享受的是折腾的过程,而不是最后的结果。&/p&&p&我就是要把这台电脑装成苹果,我能行,并且乐在其中&/p&&p&&br&&/p&&p&&br&&/p&&p&po一下我独一无二的工作台:&/p&&p&&br&&/p&&p&当年10.11时期:&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-b48cface867f090e62b31db_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1707& data-rawheight=&1280& class=&origin_image zh-lightbox-thumb& width=&1707& data-original=&https://pic3.zhimg.com/50/v2-b48cface867f090e62b31db_r.jpg&&&/figure&&p&&br&&/p&&p&10.12.6时期:&/p&&figure&&img src=&https://pic3.zhimg.com/50/v2-814e812bc2da2e9b9a3bc_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1707& data-rawheight=&1280& class=&origin_image zh-lightbox-thumb& width=&1707& data-original=&https://pic3.zhimg.com/50/v2-814e812bc2da2e9b9a3bc_r.jpg&&&/figure&&p&&br&&/p&&p&由于许多人问high sierra 有没有装好,这里更新俩张照片&/p&&p&10.13 时期:&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-7dfea12b3d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&1366& data-rawheight=&768& class=&origin_image zh-lightbox-thumb& width=&1366& data-original=&https://pic1.zhimg.com/50/v2-7dfea12b3d_r.jpg&&&/figure&&p&&br&&figure&&img src=&https://pic2.zhimg.com/50/v2-fb7f50d9dea18ee90f1ba4d_b.jpg& data-rawwidth=&2048& data-rawheight=&1536& class=&origin_image zh-lightbox-thumb& width=&2048& data-original=&https://pic2.zhimg.com/50/v2-fb7f50d9dea18ee90f1ba4d_r.jpg&&&/figure&&br&有空更新安装教程。&br&PS: 现在我关于黑苹果安装的教程已经在简书上超过了万人阅读,大家如果有想参考学习安装黑苹果的,可以看看我写的文章,应该可以少走弯路,毕竟折腾很花时间。&/p&&p&博客:&a href=&//link.zhihu.com/?target=http%3A//huangyz.name/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&huangyz.name&/a&&/p&&p&简书文章:&/p&&p&&a href=&//link.zhihu.com/?target=https%3A//www.jianshu.com/p/b0f6& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&从零开始学黑苹果-基础安装教程(10.11.6)&/a&&/p&&p&&a href=&//link.zhihu.com/?target=https%3A//www.jianshu.com/p/69cb2c3b86ef& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&从零开始学黑苹果-进阶安装教程(10.12.6)&/a&&/p&
最近迷恋开源项目,所以这里有一个Github Repo希望可以了解一下:
。欢迎star和上传配置分享经验,成为一个Contributor : ) ----- 以下是原答案 ------- 我来回答一下这个问题:首先,为什么我会在黑苹果的道路上越走越远?…
&p&&i&摘要:&/i& CocoaPods作为iOS的依赖管理工具,已然成为iOS开发的标准工具(官方给出的数据,超过42W个库和300W个App使用了CocoaPods)。 本篇文章,非讲述CocoaPods的教学文章,而是围绕使用CocoaPods的两个主题:`依赖管理`和`Pod库发布`,讲述些易忽略、混淆的关键点和不为熟知的用法。&/p&&p&作者:阿里-移动云-大前端&/p&&p&原文:&a href=&https://link.zhihu.com/?target=http%3A//click.aliyun.com/m/41656/& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&click.aliyun.com/m/4165&/span&&span class=&invisible&&6/&/span&&span class=&ellipsis&&&/span&&/a& &/p&&p&CocoaPods作为iOS的依赖管理工具,已然成为iOS开发的标准工具(官方给出的数据,超过42W个库和300W个App使用了CocoaPods)。&/p&&p&本篇文章,非讲述CocoaPods的教学文章,而是围绕使用CocoaPods的两个主题:&code&依赖管理&/code&和&code&Pod库发布&/code&,讲述些易忽略、混淆的关键点和不为熟知的用法。&/p&&p&执行&code&pod env&/code&,可查看本地环境:&/p&&figure&&img src=&https://pic3.zhimg.com/v2-12dcafa4f1e0e88f4a90310_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&694& data-rawheight=&139& class=&origin_image zh-lightbox-thumb& width=&694& data-original=&https://pic3.zhimg.com/v2-12dcafa4f1e0e88f4a90310_r.jpg&&&/figure&&h2&&b&1. 依赖管理&/b&&/h2&&p&&b&1.1 Podfile&/b&&/p&&p&&code&Podfile&/code&是一个说明文件,描述一个或多个Xcode工程Target的依赖库,类似于Maven管理依赖的pom.xml文件。&/p&&p&Podfile可以很简单,也可以很复杂。&/p&&p&&b&依赖版本号&/b&&/p&&ul&&li&依赖最新版本,不指定版本号:&/li&&/ul&&figure&&img src=&https://pic3.zhimg.com/v2-d95e08cff3d95_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&699& data-rawheight=&45& class=&origin_image zh-lightbox-thumb& width=&699& data-original=&https://pic3.zhimg.com/v2-d95e08cff3d95_r.jpg&&&/figure&&ul&&li&依赖指定版本,明确写明版本号:&/li&&/ul&&figure&&img src=&https://pic3.zhimg.com/v2-afada3f1cdfcc3b_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&691& data-rawheight=&48& class=&origin_image zh-lightbox-thumb& width=&691& data-original=&https://pic3.zhimg.com/v2-afada3f1cdfcc3b_r.jpg&&&/figure&&ul&&li&使用逻辑运算符:&/li&&/ul&&figure&&img src=&https://pic2.zhimg.com/v2-59dc1eadaf2d73bfa74a48_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&696& data-rawheight=&103& class=&origin_image zh-lightbox-thumb& width=&696& data-original=&https://pic2.zhimg.com/v2-59dc1eadaf2d73bfa74a48_r.jpg&&&/figure&&ul&&li&使用optimistic operator (&code&~&&/code&):&/li&&/ul&&figure&&img src=&https://pic3.zhimg.com/v2-accffe6feceb3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&694& data-rawheight=&85& class=&origin_image zh-lightbox-thumb& width=&694& data-original=&https://pic3.zhimg.com/v2-accffe6feceb3_r.jpg&&&/figure&&p&实际使用时,可根据项目需求,灵活配置依赖版本号。&/p&&p&&b&Hook&/b&&/p&&p&Podfile中可配置钩子函数,在依赖库安装过程中会被调用。主要有两个Hook函数:&code&pre_install&/code&和&code&post_install&/code&,接收的参数为:&a href=&https://link.zhihu.com/?target=http%3A//rubydoc.info/gems/cocoapods/Pod/Installer/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Pod::Installer&/a&,分别对应Pods工程安装前和安装后。&/p&&ul&&li&pre_install配置示例如下:&/li&&/ul&&figure&&img src=&https://pic4.zhimg.com/v2-5daf8ae6a9bbb63b2eb0_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&698& data-rawheight=&85& class=&origin_image zh-lightbox-thumb& width=&698& data-original=&https://pic4.zhimg.com/v2-5daf8ae6a9bbb63b2eb0_r.jpg&&&/figure&&ul&&li&post_install配置示例如下,Pods工程安装后,读取打印&code&iOS deploy target&/code&默认配置,并将其修改为8.0。&/li&&/ul&&figure&&img src=&https://pic3.zhimg.com/v2-c81070adf1fa9e8fa435_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&701& data-rawheight=&196& class=&origin_image zh-lightbox-thumb& width=&701& data-original=&https://pic3.zhimg.com/v2-c81070adf1fa9e8fa435_r.jpg&&&/figure&&p&&b&1.2 pod install vs. pod update&/b&&/p&&ul&&li&Podfile.lock&/li&&ul&&li&该文件用来记录和追踪生成的Pod版本。&/li&&/ul&&li&pod install&/li&&ul&&li&每次执行&code&pod install&/code&,都会重新下载并安装pods。&/li&&li&pods的版本号从&code&Podfile.lock&/code&文件中获取:&/li&&ul&&li&有记录的pods,直接下载安装该记录版本号的pods,不检查对应pods是否有更新;(已经安装的pods不会更新其版本)&/li&&li&无记录的pods,查找下载并安装满足&code&Podfile&/code&中指定版本号条件的pods。&/li&&/ul&&/ul&&li&pod update&/li&&ul&&li&完整命令为:&code&pod update [PODNAME]&/code&,执行命令后,CocoaPods会无视&code&Podfile.lock&/code&锁定的版本号,查找并更新到,满足&code&Podfile&/code&中指定版本号条件的最新版本pods;若没有指定&code&PODNAME&/code&,默认更新Podfile中全部pods。&/li&&/ul&&li&pod outdated&/li&&ul&&li&满足&code&Podfile&/code&中指定版本号条件下,列出比&code&Podfile.lock&/code&中记录锁定的版本号新的pods。&/li&&li&实际执行&code&pod update&/code&命令时,更新的pods即为执行&code&pod outdated&/code&列出的pods。&/li&&/ul&&li&建议用法&/li&&ul&&li&工程首次执行&code&pod install&/code&或&code&pod update&/code&,执行效果一致。&/li&&li&需要安装新添加pod,建议执行&code&pod install&/code&或&code&pod update [NEW_POD]&/code&,已安装的其他pods版本不变,否则可能由于版本更新的不确定性引起适配问题。&/li&&li&明确更新某pod版本时,执行&code&pod update [PODNAME]&/code&,明确更新全部pods版本时,执行&code&pod update&/code&。&/li&&/ul&&/ul&&p&&b&1.3 pod cache&/b&&/p&&ul&&li&&code&pod cache list [NAME]&/code&&/li&&ul&&li&可列出本地pods缓存记录,执行&code&pod install&/code&或&code&pod update&/code&时,若命中缓存记录,则直接从本地拉取。&/li&&/ul&&li&&code&pod cache clean [NAME]&/code&&/li&&ul&&li&删除本地pods缓存记录。&/li&&li&执行&code&pod cache clean --all&/code&,删除全部缓存记录。&/li&&li&例:从私有CocoaPods仓库拉取TestSDK v1.0.1,该记录添加到本地缓存;由于某些原因TestSDK使用同样的版本号v1.0.1做了覆盖发布,可以先执行&code&pod cache clean TestSDK&/code&,然后再执行&code&pod update&/code&,保证拉取到最新版本的v1.0.1 SDK文件。&/li&&/ul&&/ul&&h2&&b&2. Pod库发布&/b&&/h2&&p&CocoaPods除了做依赖管理外,也会将自实现的pod库上传到公共仓库/私有仓库。&/p&&p&&b&2.1 podspec&/b&&/p&&p&podspec文件,即&code&Pod Specification&/code&(Pod描述文件),描述指定版本的pod库信息,包括:pod库源码地址、文件列表、配置信息、描述信息等。&/p&&p&执行&code&pod spec create&/code&,可创建生成&code&.podspec&/code&文件,其为Ruby语法格式,修改后如下,例:&/p&&figure&&img src=&https://pic3.zhimg.com/v2-a119ed76f9f_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&696& data-rawheight=&238& class=&origin_image zh-lightbox-thumb& width=&696& data-original=&https://pic3.zhimg.com/v2-a119ed76f9f_r.jpg&&&/figure&&ul&&li&执行&code&pod ipc spec xx.podspec&/code&,可将&code&.podspec&/code&文件内容从Ruby转换为&code&json&/code&格式:&/li&&/ul&&figure&&img src=&https://pic2.zhimg.com/v2-668b2ac23de4d048b7e887eb1dd76b26_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&697& data-rawheight=&377& class=&origin_image zh-lightbox-thumb& width=&697& data-original=&https://pic2.zhimg.com/v2-668b2ac23de4d048b7e887eb1dd76b26_r.jpg&&&/figure&&p&&b&2.2 私有仓库Push&/b&&/p&&p&CocoaPods仓库本质上是Git仓库,仓库里存储的是各pod库所有版本的&code&.podspec&/code&或&code&.podspec.json&/code&描述文件。&br&pod库上传,即对应Git仓库的commit提交。&/p&&p&Pod库上传到公共仓库,即向 &a href=&https://link.zhihu.com/?target=https%3A//github.com/CocoaPods/Specs& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&公共Git仓库&/a& 提交commit。&/p&&p&因此,CocoaPods私有仓库的搭建,只需再准备一个Github/Gitlab仓库;具体搭建流程不再描述,可参考官网教程:&a href=&https://link.zhihu.com/?target=https%3A//guides.cocoapods.org/making/private-cocoapods.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&CocoaPods - Private Pods&/a&。&/p&&ul&&li&执行&code&pod repo push REPO [NAME.podspec]&/code&上传Pod库到私有仓库,&code&REPO&/code&为私有仓库在本地的仓库名。&/li&&/ul&&p&准备上传的Pod库,如果对其他pod库有依赖,需要在&code&.podspec&/code&文件中声明&code&dependency&/code&;同时执行&code&pod repo push&/code&命令时,添加&code&--source&/code&参数,声明依赖要查找的仓库地址;支持配置多个仓库地址,以&code&,&/code&分隔。&/p&&p&例:&/p&&figure&&img src=&https://pic2.zhimg.com/v2-c52d369cf9eb3e_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&703& data-rawheight=&100& class=&origin_image zh-lightbox-thumb& width=&703& data-original=&https://pic2.zhimg.com/v2-c52d369cf9eb3e_r.jpg&&&/figure&&p&&b&2.3 依赖冲突&/b&&/p&&p&如果只从CocoaPods master仓库拉取Pods,则不会有依赖冲突问题。依赖问题是由于引入三方私有CocoaPods仓库导致的。&br&首先来看pods依赖传递问题。&/p&&ul&&li&Pods依赖传递&/li&&/ul&&p&假设TestSDK依赖ASDK和BSDK,工程引入TestSDK后,执行&code&pod install&/code& 或 &code&pod update&/code&,会将TestSDK、ASDK和BSDK一并拉取下来,这种可认为是&code&依赖传递&/code&。&/p&&ul&&li&Pods依赖传递版本号管理&/li&&/ul&&p&假设有依赖关系如下,TestSDK使用时,ASDK必须集成1.0.1版本,CSDK和ASDK(1.0.2)不能兼容。&/p&&ul&&li&TestSDK(1.0.2)&/li&&ul&&li&ASDK(1.0.2)&/li&&li&BSDK(1.0.2)&/li&&/ul&&li&CSDK(1.0.1)&/li&&ul&&li&ASDK(1.0.1)&/li&&/ul&&/ul&&p&按下面的依赖配置,拉取下来的SDK版本如下,存在CSDK和ASDK不兼容问题。&/p&&ul&&li&TestSDK(1.0.2)&/li&&li&ASDK(1.0.2)&/li&&li&BSDK(1.0.2)&/li&&li&CSDK(1.0.1)&/li&&/ul&&figure&&img src=&https://pic3.zhimg.com/v2-a41a63d80eead_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&695& data-rawheight=&64& class=&origin_image zh-lightbox-thumb& width=&695& data-original=&https://pic3.zhimg.com/v2-a41a63d80eead_r.jpg&&&/figure&&p&此时,需要显式指定ASDK版本号,拉取下来SDK版本如下:&/p&&ul&&li&TestSDK(1.0.2)&/li&&li&ASDK(1.0.1)&/li&&li&BSDK(1.0.2)&/li&&li&CSDK(1.0.1)&/li&&/ul&&figure&&img src=&https://pic1.zhimg.com/v2-a8958bbc5b35e30a2dcc_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&696& data-rawheight=&84& class=&origin_image zh-lightbox-thumb& width=&696& data-original=&https://pic1.zhimg.com/v2-a8958bbc5b35e30a2dcc_r.jpg&&&/figure&&ul&&li&依赖冲突问题&/li&&/ul&&p&存在于同时集成master公共仓库和私有仓库时,或集成多个私有仓库时。&/p&&p&假设有两个私有仓库PrivateSpec1和PrivateSpec2,有SDK依赖关系如下,其中ASDK1和ASDK2是同一SDK的不同Pod封装。&/p&&p&PrivateSpec1:&/p&&ul&&li&TestSDK1(1.0.0)&/li&&ul&&li&ASDK1(1.0.0)&/li&&/ul&&/ul&&p&PrivateSpec2:&/p&&ul&&li&TestSDK2(1.0.1)&/li&&ul&&li&ASDK2(1.0.1)&/li&&/ul&&/ul&&p&若同时依赖PrivateSpec1中的TestSDK1和PrivateSpec2中的TestSDK2,则ASDK1(1.0.0)和ASDK2(1.0.1)会冲突。&/p&&p&若Pods依赖支持类似Maven依赖的&code&exclude&/code&,将ASDK1或ASDK2其中之一&code&exclude&/code&,可解决该问题,但CocoaPods并不支持类似操作。&/p&&ul&&li&方法1,可手动集成TestSDK1或TestSDK2,将ASDK1或ASDK2删除。&/li&&li&方法2,仍通过Pods集成,但ASDK1和ASDK2必须修改为同一Pod标识,集成时显式指定ASDK版本号。&/li&&/ul&&h2&&b&3. 参考&/b&&/h2&&ul&&li&&a href=&https://link.zhihu.com/?target=http%3A//blog.devtang.com//use-cocoapod-to-manage-ios-lib-dependency/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&用CocoaPods做iOS程序的依赖管理&/a&&/li&&li&&a href=&https://link.zhihu.com/?target=http%3A//www.rubydoc.info/gems/cocoapods/Pod/Installer/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&CocoaPods - Class: Pod::Installer&/a&&/li&&li&&a href=&https://link.zhihu.com/?target=https%3A//guides.cocoapods.org/using/pod-install-vs-update.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&CocoaPods - pod install vs. pod update&/a&&/li&&li&&a href=&https://link.zhihu.com/?target=https%3A//guides.cocoapods.org/making/private-cocoapods.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&CocoaPods - Private Pods&/a& &/li&&/ul&&p&&b&更多技术干货敬请关注云栖社区知乎机构号:&a href=&https://www.zhihu.com/org/a-li-yun-yun-qi-she-qu-48& class=&internal&&阿里云云栖社区 - 知乎&/a&&/b&&/p&
摘要: CocoaPods作为iOS的依赖管理工具,已然成为iOS开发的标准工具(官方给出的数据,超过42W个库和300W个App使用了CocoaPods)。 本篇文章,非讲述CocoaPods的教学文章,而是围绕使用CocoaPods的两个主题:`依赖管理`和`Pod库发布`,讲述些易忽略、混淆…
&figure&&img src=&https://pic2.zhimg.com/v2-5ddbc2dd80c_b.jpg& data-rawwidth=&1920& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1920& data-original=&https://pic2.zhimg.com/v2-5ddbc2dd80c_r.jpg&&&/figure&&p&在某些特殊情况下,有些优先级不高的任务,为了不影响到用户操作体验,我们可能想在主线程空闲的时候执行。 比如说某些优先级不高的启动任务,或者运行过程中某些采集。&/p&&p&&br&&/p&&p&本文给出2种思路:&/p&&p&&br&&/p&&p&第一种:使用&code&NSNotificationQueue&/code& 在idle的时候 post一个消息,如下:&/p&&div class=&highlight&&&pre&&code class=&language-objective-c&&&span&&/span&&span class=&bp&&NSNotification&/span& &span class=&o&&*&/span&&span class=&n&&noti&/span& &span class=&o&&=&/span& &span class=&p&&[&/span&&span class=&bp&&NSNotification&/span& &span class=&nl&&notificationWithName&/span&&span class=&p&&:&/span&&span class=&s&&@&test123&&/span& &span class=&nl&&object&/span&&span class=&p&&:&/span&&span class=&nb&&nil&/span&&span class=&p&&];&/span&
&span class=&p&&[[&/span&&span class=&bp&&NSNotificationQueue&/span& &span class=&n&&defaultQueue&/span&&span class=&p&&]&/span& &span class=&nl&&enqueueNotification&/span&&span class=&p&&:&/span&&span class=&n&&noti&/span& &span class=&nl&&postingStyle&/span&&span class=&p&&:&/span&&span class=&n&&NSPostWhenIdle&/span&&span class=&p&&];&/span&
&/code&&/pre&&/div&&p&第二种: 监听主线程runLoop进入 BeforeWaiting,如下:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&CFRunLoopRef runLoop = CFRunLoopGetMain();
CFStringRef
mode = kCFRunLoopDefaultM
CFRunLoopActivity activities = kCFRunLoopBeforeWaiting | kCFRunLoopAfterW
CFRunLoopObserverRef observer = CFRunLoopObserverCreateWithHandler(kCFAllocatorDefault, activities, YES, INT_MAX, ^(CFRunLoopObserverRef observer, CFRunLoopActivity activity) {
if (activity == kCFRunLoopBeforeWaiting) {
NSLog(@&idle&);
} else if (activity == kCFRunLoopAfterWaiting) {
NSLog(@&runing&);
CFRunLoopAddObserver(runLoop, observer, mode);
&/code&&/pre&&/div&&p&&br&&/p&&p&另附学习 ibireme 的 runLoop文章: &a href=&http://link.zhihu.com/?target=https%3A//blog.ibireme.com//runloop/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&深入理解RunLoop | Garan no dou&/a& 。&/p&
在某些特殊情况下,有些优先级不高的任务,为了不影响到用户操作体验,我们可能想在主线程空闲的时候执行。 比如说某些优先级不高的启动任务,或者运行过程中某些采集。 本文给出2种思路: 第一种:使用NSNotificationQueue 在idle的时候 post一个消息,如…
&p&Mac作为一款出色的生产力工具在颜值方面也是十分出众,但提到苹果为Mac电脑准备的外设配件就比较匮乏了。&/p&&p&&br&&/p&&p&那么除了原厂配件,市场上是否有一些适合Mac的第三方外设配件呢?为了契合Apple的性冷淡金属科技风格,本次挑选了&b&品相质量俱优&/b&的几款外设佳品。&/p&&p&&b&Matias&/b&是一家专门生产适用Mac的机械键盘产品的品牌。众所周知,Windows和macOS的组合快捷键是不同的。Matias键盘上没有常见的Win、Alt,而是与原生苹果键盘一样使用command、option等标注。使用ALPS轴体的Mini Tactile Pro,机械感和触发音量都比较大,符合机械键盘的调性。&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-d4e8e_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&179& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&Matias是一家专门生产适用Mac的机械键盘产品的品牌,其键盘标志性的设计就是与众不同的键位布局。这款机械键盘没有常见的Win、Alt,而是与原生苹果键盘一样使用command、option等标注。外观方面采用了白色设计,尺寸为33.7x16.5x3.5cm,有一定的贴合指尖弯曲弧度。轴体方面采用了ALPS轴体,机械感比较强,触发音量较大。其他反面,mini tactile pro可做到全键无冲,也有多媒体按键。虽然是专门为苹果设计的外接机械键盘,但也能支持Windows PC。 &/p&&p&如果你不喜欢机械键盘那种哒哒哒的触发声,同时也厌烦透了薄膜键盘粘滞的手感,那么静电容键盘很适合你。&b&HHKB ProFessional BT&/b&提供了正刻版和无刻版,其素雅的配色还是比较配Mac系列的。除此以外,提供多系统兼容能力,通过背部的拨片开关,可以调节到Macintosh模式,来兼容macOS的快捷键设定。 &/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-4eff225c658be5d0b44139efed7fb27c_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&149& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&HHKB,全称叫做:Happy Hacking Keyboard,是由株式会社 PFU(富士通的全资子公司)所经销的计算机键盘。本键盘由和田英一和 PFU 研究所共同开发,于 1996 年 12 月开始销售。HHKB跟普通的机械键盘不一样,区别在于所用的轴是静电容轴,相比机械轴,静电容轴的按键是无触点电容式开关。按下键后,电容的容量会发生改变,实现按键触发效果。由于是无触点设计,所以磨损就较小,键盘的寿命就会很长,如果不是特殊因素,键盘坏掉的可能性很小。此款键盘,无线蓝牙连接方式,设计紧凑,弧度设计符合人体工程学,键盘倾斜角度可调节。通过键盘背部DIP开关,可切换键盘模式和更改部分键码,配有3档支架,可调节键盘倾斜角度,充分体现了人性化设计。按键采用热升华印刷方式,带有简单的自定义功能。裸重530g(不含连接线) ,尺寸294×110×39.9mm。 &/p&&p&微软对人体工程学有着异乎寻常的执着,其两边低中间高的曲线设计与日常见到的键盘有着很大区别,这种设计为它的使用带来了极大的舒适性和高效率。虽然是为windows而设计,但简单适应Win键与command的映射之后,用于iMac或MacBook同样无压力。&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-7fe1d7ab3bd2e088f1055dbe78cdfcac_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&213& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&微软在日发布的这款“surface 人体工程学键盘”,采用了Alcantara(R)(欧缔兰)材质作为掌托,这种材质是由68%的涤纶和32%的聚氨基甲酸乙酯构成,手感与翻毛皮类似。这款Surface键盘外观上使用和Sculpt Ergonomic相似的非对称+分离式空格的人体工程学设计,键盘采用铝合金材质的主体+Alcantara材质的腕托,ABS材质的104键键位,包含数字键盘区和几个多媒体快捷键,键程为2.5mm。Surface键盘采用无线连接方式,支持蓝牙4.0/4.1技术,可连接包括Windows 10、Mac OS X v10、iOS8 以上系统以及Android 5.0 在内的桌面设备和移动设备。使用两节7号电池供电,最高续航时间为12个月。 &/p&&p&&b&MX MASTER&/b&拥有近乎完美的贴合手感,可同时连接三台设备并支持一键切换。而针对macOS,它的手势按键、拇指滚轮等方案完全可以用来映射多点触控手势。初代MX Master不太匹配Mac系列的金属色科技风,如果预算够的话直接上MX MASTER 2S哑光白。&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-bc_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&320& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&罗技MX Master的手感有保证之余,支持2.4GHz优联和蓝牙连接方式,再配合鼠标本身支持最多3台设备配对,点击底部按钮各种切换无压力。标志性的滚轮可让用户在“逐击滚动”和“超快滚动”之间自由选择,四项滚轮功能则通过侧面那个不怎么常见的拇指轮实现。引擎继续沿袭无界(Darfield)激光传感器,可在400至1600 DPI之间以200增量切换,不挑表面甚至玻璃上也可以,续航也非常不错。除了传感器性能一般以外基本没有短板。 &/p&&p&作为微软的鼠标,比起Magic Mouse,它相对圆润的外观持握要舒服许多,不必向前者那样难受地捏着操作。微软独家的蓝影技术加持,即使在光滑的玻璃表面,还有极高的识别率,1000DPI应付高分屏也没有压力。&/p&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/50/v2-fea9ce158fa17fdc8d5c01_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&320& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&继Surface Arc之后,又一个Surface系列的鼠标产品,可以看作是微软为Surface Studio设计的配套鼠标。比起激进的Arc和Sculpt,Surface鼠标风格更传统一些。产品尺寸为115.16*64.16*33.76mm,有黑色和银色两种颜色可选。重量为90.9g,分左右两个按键,分辨率为1000dpi,通过蓝牙与电脑连接。另外,微软独家的蓝影技术加持,可以让鼠标在光滑的玻璃表面,还有极高的识别率。 &/p&&p&如果在嘈杂的环境中想专心工作,那么你需要的是一款降噪耳机。&b&BOSE的QC35&/b&作为Bose民用降噪耳机的旗舰产品。在保证音质及降噪效果的基础上,使用蓝牙无线连接方式。独特的硬件设计和软件算法,让QC35无论是地铁车厢中的嘈杂,还是飞机引擎的轰鸣声,都可以有效的进行消除。&/p&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/50/v2-702baef73efe1ba1e00846_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&320& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&QC35作为Bose民用降噪耳机的旗舰产品,在保证音质及降噪效果的基础上,使用蓝牙无线连接方式,不用再为线缆而烦恼。QC35耳罩内外均配有麦克风,麦克风感知环境噪音,并将噪音发送至分别对应于左、右耳的两个数字芯片,芯片在毫秒内提供与噪音相等且相反的信号,实现出色的降噪效果。无论是地铁车厢中的嘈杂,还是飞机引擎的轰鸣声,都可以有效的进行消除。QC35内置锂电,续航时间长达20小时,右耳罩配有线控按钮,此外QC35配有一根耳机连接线,即便是电池没电的情况下,也可以正常收听音乐。此外,QC35的双麦克风系统不仅可以为降噪提供支持,同时还能在通话时阻隔风声和人群嘈杂声等恼人的背景噪音,消除通话干扰。 &/p&&p&虽然Mac们都拥有内置扬声器,但是比起纯粹的独立音箱来说,还是差得很远。&b&BOSE SoundLink Revolve+&/b&采用了锤型设计,底部一周环绕出音孔设计,带来更好的360°环绕音频,内置的锂电池拥有16小时续航,集成的麦克风支持Siri助手,无论是造型还是功能都与mac很搭配。
&/p&&p&&br&&/p&&p&&br&&/p&&figure&&img src=&https://pic4.zhimg.com/50/v2-306df0032abdef6e80fea002ba5578a1_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&320& data-rawheight=&320& class=&content_image& width=&320&&&/figure&&p&&br&&/p&&p&在各巨头的不断努力下,如今的蓝牙音箱音质得到很大提升,其中BOSE旗下SoundLink系列颇受欢迎。Revolve系列分Revolve和Revolve+两款,于17年4月发售,有黑和银灰两色可选。此款为个头较大的BOSE SoundLink Revolve+。外观方面,SoundLink Revolve+采取了锤型设计,造型与Google Home类似的风格,具有IPX4防水、抗震功能,有易于携带的提手设计,很像水壶。底部一周环绕出音孔设计,带来更好的360°环绕音频,顶部按键可方便进行音量调节、蓝牙配对以及功能切换。内部结构特殊,采用双重被动双膜共振单元,拥有不错的音频表现,稍大的Revolve+承诺高品质低音表现。配备了NFC芯片,以便于更好的和智能手机等移动设备进行配对。内置锂电池,拥有16小时续航,集成麦克风,支持Siri和Google助手。整体尺寸104x104x184mm。 &/p&&p&这些外设,有你喜欢的吗?&/p&&p&&b&本回答来源于@什么值得买&a href=&//link.zhihu.com/?target=http%3A//SMZDM.COM& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&SMZDM.COM&/span&&span class=&invisible&&&/span&&/a&&/b&&/p&&p&&b&原文链接:&/b&&a href=&//link.zhihu.com/?target=http%3A//wiki.smzdm.com/huati/3413/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&冷淡风外设 适合Mac的第三方配件推荐&/a&&/p&&p&&b&想知道更多专业购物攻略,请关注微信:张大妈生活研究所(smzdm_zhenzhidao)&/b&&/p&
Mac作为一款出色的生产力工具在颜值方面也是十分出众,但提到苹果为Mac电脑准备的外设配件就比较匮乏了。 那么除了原厂配件,市场上是否有一些适合Mac的第三方外设配件呢?为了契合Apple的性冷淡金属科技风格,本次挑选了品相质量俱优的几款外设佳品。Matias…
&p&本周推荐代码库 &a href=&http://link.zhihu.com/?target=https%3A//github.com/jmpews/HookZz& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&HookZz&/a& .
这是一个做安全的大神同事写的库。有兴趣同学可以深入研究,绝对牛逼,绝对&b&黑科技&/b&。利用的好可以做很多事情。&/p&&p&文章详细介绍: &a href=&http://link.zhihu.com/?target=http%3A//jmpews.github.io//pwn/HookZz%25E6%25A1%%259E%25B6/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&HookZz框架 · jmpews&/a&&/p&&p&Start: &a href=&http://link.zhihu.com/?target=https%3A//github.com/jmpews/HookZz/blob/master/docs/hookzz-docs.md& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&jmpews/HookZz&/a&&/p&&p&&br&&/p&&p&这里简单介绍下其功能、原理、和可以怎么利用。&/p&&p&&b&功能&/b&: 让代码可以被Hook, 不仅仅限于oc方法,包括 OC/C/C++/Swift。只要是被编译成二进制的点。&/p&&p&&b&原理&/b&: 基于对编译好的汇编方法替换首、尾等指令,的方式,让所有的方法都可以被hook. &/p&&p&&b&优点: &/b& 脱离语言的限制,让所有方法都可以hook.&/p&&p&&b&用处&/b&: &/p&&p&
1. 适合用于做代码覆盖率。&/p&&p&
2. 对 c/c++/swift等代码做可patch支持。&/p&
本周推荐代码库
. 这是一个做安全的大神同事写的库。有兴趣同学可以深入研究,绝对牛逼,绝对黑科技。利用的好可以做很多事情。文章详细介绍: Start:
这里简单介绍下其功能、原理、和可以怎么利用。功能: 让代码…
&figure&&img src=&https://pic1.zhimg.com/v2-c5cd4ba464dfa083e5ae6ffa_b.jpg& data-rawwidth=&1280& data-rawheight=&854& class=&origin_image zh-lightbox-thumb& width=&1280& data-original=&https://pic1.zhimg.com/v2-c5cd4ba464dfa083e5ae6ffa_r.jpg&&&/figure&&p&原文载于个人博客,&a href=&http://link.zhihu.com/?target=http%3A//www.xiaomaidong.com/%3Fp%3D426& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&正则表达式:可读性是什么?能吃吗? - 小麦冬&/a&&/p&&p&&br&&/p&&p&还记得几年前第一次看见两个室友讨论一个匹配网址的正则表达式的时候,我看了一眼代码, 代码肯定记不住了,但是第一反应我始终记得,&b&“这tm什么东西?!”&/b&&br&附:匹配网址的正则写法大致如下: &/p&&blockquote&^(?=^.{3,255}$)(https?://)?([w]{3}\.)?([a-zA-Z0-9]+(\.|/))+[a-zA-Z0-9]*&/blockquote&&p&对于一个崇尚代码可读性的人来说,正则实在是太不友好了。但是在写了几十个爬虫之后,越来越体会到了正则的重要性和优越性,所以决定好好整理一下。&/p&&ul&&li&本文所用的&a href=&http://link.zhihu.com/?target=https%3A//github.com/Maicius/RegExercise& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&示例代码&/a&&/li&&/ul&&h2&&b&正则的语法&/b&&/h2&&p&正则难就难在

我要回帖

更多关于 joyable男装品牌 的文章

 

随机推荐