虽然这里讲的大部分知识以前都看过,但是时不时出现某些点让我如茅塞顿开: 以前经常会忘记一些细节,这篇文章可以更好的理解细节,巩固知识体系. Ownership qualifiers In Objective-C, ‘id’ or each object type is used for object variable types. Object types are pointer types of Objective-C classes, such as NSObject *. ‘id’ typ…
Automake是用来根据Makefile.am生成Makefile.in的工具 标准Makefile目标 'make all' Build programs, libraries, documentation, etc. (same as 'make'). 'make install' Install what needs to be installed, copying the files from the package's tree to system-wide directories.…
Configure a Pod to Use a PersistentVolume for Storage how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the process: A cluster administrator creates a PersistentVolume that is backed by physical storage. The admi…
select event,count(1) from gv$session group by event order by 2;exec dbms_workload_repository.create_snapshot;select 'alter system kill session '''||sid||','||serial#||''';' from v$session where event='latch free'; SET LINESIZE 200SET NEWPAGE NONECOL…
原文:http://blog.csdn.net/fisher_jiang/article/details/6992588背景: 一次crash可能会造成虚拟机锁死的情况发生现象:点击take ownership 可能会提示如下字眼:Taking ownership of this virtual machine failed. The virtual machine is in use by an application on your host computer.解决办法:删除虚拟机目录下的所…
Get a warning in event log. Log Name:      ApplicationSource:        BizTalk ServerDate:          3/5/2015 9:23:59 AMEvent ID:      5740Task Category: BizTalk ServerLevel:         WarningKeywords:      ClassicUser:          N/AComputer:      BizTalk_…
摘自:http://blog.csdn.net/zhanghefu/article/details/18320827 最近打算针对iPhone.iPod touch和iPad开发一些应用,所以,需要开始学习Objective C(苹果推出的类似C语言的开发语言).由于苹果的自我封闭的产业链发展模式(从芯片.机器.开发语言.终端产品.服务)的限制,要想开发针对苹果 iPhone等产品的应用程序,就需要用Mac机器,在Xcode的IDE上使用Objective C语言开发.Mac机器就不用说了,那比…
声明了一个类 class Card { public: Card(const string&); int m_value; char m_suit; private: const static map<char, int> m_map; }; const map<char, int> Card::m_map= { {'2', 2}, {'3', 3}, {'4', 4}, {'5', 5}, {'6', 6}, {'7', 7}, {'8', 8}, {'9', 9}, {…
1.前言 上一篇已经介绍了App Delegate.View Controller的基本概念,除此之外,分别利用storyboard和纯代码创建了第一个Xcode的工程,并对不同方式搭建项目进行了比较.这一篇文章,我准备为大家介绍一下奇葩的Objective-C语言的语法和使用.这篇文章主要讲Objective-C的理论概念. 2.学习目标 2.1 Objective-C语言面向对象的特性 与C++类比学习,声明定义一个MyObject类,并创建这个类的实例. 2.2 Objective-C语言…
objective C中的字符串操作 在OC中创建字符串时,一般不使用C的方法,因为C将字符串作为字符数组,所以在操作时会有很多不方便的地方,在Cocoa中NSString集成的一些方法,可以很方便的操作字符串,下面举几个例子: 一.创建: 直接利用等号赋值 NSString * str1=@"我是字符串"; stringWithFormat方法 NSString *str2=[NSString stringWithFormat:@"我是参数字符串%d,%d",11…