XiaoKL

随笔分类 -  MacDev

1

iOS.ObjC.__attribute__.1-all-_attribute_-directives
摘要:__attribute__ Directives 1. NS_RETURNS_INNER_POINTER "__attribute__((objc_returns_inner_pointer)) and NS_RETURNS_INNER_POINTER Indicates that the meth 阅读全文

posted @ 2018-04-11 19:03 XiaoKL 阅读(150) 评论(0) 推荐(0)

MacDev.Mach-O.Programming-Part-III:MachOView-v2.4.9200.dmg-crash
摘要:MachOView-v2.4.9200.dmg Crash 在OS X(其版本号: 10.11.6 (15G31))下载MachOView-2.4.9200.dmg后,打开Fat Binary后,MachOView一直Crash。 1. Crash Report 2. Fix this crash 阅读全文

posted @ 2016-10-12 14:36 XiaoKL 阅读(670) 评论(0) 推荐(0)

ObjC.class-cluster
摘要:class clusterIn a class cluster, only an abstract superclass is public. Allocating an instance actually createsan object of a private subclass. As suc... 阅读全文

posted @ 2015-07-10 11:44 XiaoKL 阅读(219) 评论(0) 推荐(0)

ObjC.primitive-methods
摘要:Primitive Method"When it comes to subclassing, knowing which methods are ‘primitive’ methods is important.The notion of primitive methods are those me... 阅读全文

posted @ 2015-07-10 10:48 XiaoKL 阅读(234) 评论(0) 推荐(0)

Site.ForProductsOfApple
摘要:1.cultofmachttp://www.cultofmac.com/2. imorehttp://www.imore.com/3. osxdailyhttp://osxdaily.com/ 阅读全文

posted @ 2015-07-01 00:42 XiaoKL 阅读(134) 评论(0) 推荐(0)

MacDev.GarbageCollectionIsDeprecated-WhenXcodeCompileMacAppProject
摘要:Garbage Collection is not supported当Xcode编译Mac OSX App时报错:"Garbage Collection is not supported"的解决办法:1. 不需要迁移到ARC仍然可以编译通过"If your project is imported ... 阅读全文

posted @ 2015-06-13 19:52 XiaoKL 阅读(203) 评论(0) 推荐(0)

iOS.Thread.OSAtomic
摘要:1. 原子操作 (Atomic Operations) 编写多线程代码最重要的一点是:对共享数据的访问要加锁。 Shared data is any data which more than one thread can access. 原子操作(Atomic Operations)满足只有一个线程 阅读全文

posted @ 2015-04-10 22:29 XiaoKL 阅读(997) 评论(0) 推荐(0)

iOS.mach_absolute_time
摘要:1.Technical Q&A QA1398Mach Absolute Time Unitshttps://developer.apple.com/library/mac/qa/qa1398/_index.html2.Kernel Programming Guidehttps://developer... 阅读全文

posted @ 2015-01-05 11:23 XiaoKL 阅读(275) 评论(0) 推荐(0)

iOS.CocoaPods.0
摘要:1. CocoaPods CocoaPods 是Objective-C (iOS and OS X) projects 的依赖管理器。 A CocoaPod (singular) is a specification for a library, usually open source. Cocoa 阅读全文

posted @ 2014-08-24 00:14 XiaoKL 阅读(1953) 评论(0) 推荐(0)

OSX.PackageManager-Homebrew
摘要:Homebrew How to install pip on mac? http://stackoverflow.com/questions/12092306/how-to-install-scipy-with-pip-on-mac-mountain-lion-os-x-v10-8 1. Scipy 阅读全文

posted @ 2014-04-07 23:00 XiaoKL 阅读(349) 评论(0) 推荐(0)

iOS.Operation-on-ZipFile
摘要:Operation on ZipFile Reference 在Mac OS X和iOS中操作.zip文件(例如创建zip文件, 从zip文件中抽取数据): 1. http://stackoverflow.com/questions/11333399/download-and-unzip-file- 阅读全文

posted @ 2014-02-13 11:36 XiaoKL 阅读(276) 评论(0) 推荐(0)

MacDev.GetArchOfLibrary
摘要:1. static libraryHow to check target architecture of a static libraryhttp://changhoward.blogspot.com/2012/03/how-to-check-target-architecture-of.htmlFor Mac OS: Use lipo. Ex. lipo -info staticLibrary.aFor Linux OS: Use file Ex. file staticLibrary.c在Mac OS上file也是支持的。2. dynamic library 阅读全文

posted @ 2014-01-13 20:06 XiaoKL 阅读(229) 评论(0) 推荐(0)

svn.SvnX
摘要:1. 使用SvnX的入门http://www.divvun.no/doc/tools/docu-svn-user-svnx.html2. SvnX的代码https://code.google.com/p/svnx/ 阅读全文

posted @ 2013-10-10 18:08 XiaoKL 阅读(181) 评论(0) 推荐(0)

iOS.ObjC.Basic-Knowledge
摘要:1. ObjC的基础 2. ObjC2.0中的编译指令 3. ObjC Runtime 4. ObjC Object Model 5. ObjC的新语法 6. FQA 1. ObjC的基础 2. ObjC2.0中的编译指令 http://www.learn-cocos2d.com/2011/10/c 阅读全文

posted @ 2013-07-17 20:02 XiaoKL 阅读(285) 评论(0) 推荐(0)

iOS.Dev.Support.MultiVersions
摘要:如何利用target conditionals和availabilty如何来区分平台iOS OR Mac“When building for iOS the deployment target is __IPHONE_OS_VERSION_MIN_REQUIRED and the maximum SDK is __IPHONE_OS_VERSION_MAX_ALLOWED” R[1]Availability.h 头文件中有各版本号的定义Reference:1.http://www.cocoanetics.com/2012/09/target-conditionals-and-availabil 阅读全文

posted @ 2013-07-02 12:38 XiaoKL 阅读(206) 评论(0) 推荐(0)

iOS.ObjC.Compiler.Directives
摘要:Objective-C Compiler Directives @dynamic "You use the @dynamic keyword to tell the compiler that you will fulfill the API contract implied by a proper 阅读全文

posted @ 2013-06-30 11:43 XiaoKL 阅读(269) 评论(0) 推荐(0)

Cocoa.DesignPattern.Factory
摘要:1. Automagic Factories in Objective-Chttp://www.bobmccune.com/2011/04/08/automagic-factories-in-objective-c/Objective-C Runtime:objc_getClassList()class_getSuperclass() 阅读全文

posted @ 2013-06-16 15:50 XiaoKL 阅读(99) 评论(0) 推荐(0)

iOS.AppReverseEngineering
摘要:逆向可以窥探一下其他程序的一些设计思路,同时对这些东西的了解有助于定位Crash的原因,所以说 逆向在coding之余是不错的选择。 1. class-dump http://www.codethecode.com/projects/class-dump/ 2. mikeash.com的文章 Obj 阅读全文

posted @ 2012-10-12 17:38 XiaoKL 阅读(634) 评论(0) 推荐(0)

iOS.Debug.LLDB-1
摘要:0. lldb的帮助 (lldb) help 显示lldb的命令 (lldb) help command 显示某个命令的帮助 (lldb) help command subcommand 显示命令的子命令的帮助 1. 使用lldb的断点(breakpoint) 1.1 通过在IDE中在每行代码前点击 阅读全文

posted @ 2012-09-19 19:14 XiaoKL 阅读(454) 评论(1) 推荐(0)

关于Cocoa框架的争论
摘要:Is Cocoa a legacy framework?http://blog.jjgod.org/2011/07/01/is-cocoa-a-legacy-framework/ VS.Designing GitHub for Machttp://warpspire.com/posts/designing-github-mac/ 阅读全文

posted @ 2012-01-15 22:06 XiaoKL 阅读(173) 评论(0) 推荐(0)

1

导航