摘要:
Download Spring.net inhttp://www.springframework.net/InstallSpring.NET.exeCreate a console application, and referenceSpring.Core.dll.Add App.config to... 阅读全文
摘要:
什么是GCD?Grand Central Dispatch或者GCD,是一套低层API,提供了一种新的方法来进行并发程序编写。从基本功能上讲,GCD有点像NSOperationQueue,他们都允许程序将任务切分为多个单一任务然后提交至工作队列来并发地或者串行地执行。GCD比之NSOpertionQ... 阅读全文
摘要:
There are many attributes for property as follows:atomic:Is default behaviorwill ensure the present process is completed by the cpu, before another pr... 阅读全文
摘要:
// Gets UTC NSDate from DateTime(.Net/WCF).+ (NSDate *)fromDateTime:(NSString *)dateTime { NSDate *utcDate; if ([dateTime isMemberOfClass:[NSNul... 阅读全文
摘要:
public void DeSerialize() { BinaryFormatter formatter = new BinaryFormatter(); AppDomain.CurrentDomain.AssemblyResolve += n... 阅读全文
摘要:
reloadData should be called in main thread, so if you call it in work thread, you should call it as follows: dispatch_async(dispatch_get_main_queue(),... 阅读全文
摘要:
Define two methods in an object class as follows:@interface MyObject : NSObject@property (nonatomic,copy) NSString *property;- (id)initWithJson:(NSDic... 阅读全文
摘要:
public static string ObjToJson(T obj) { DataContractJsonSerializer serializer = new DataContractJsonSerializer(obj.GetType()); ... 阅读全文
摘要:
Export developer profile from old mac.In the Xcode Organizer, select your team in the Teams section.Click Export.Specify a filename and a password, an... 阅读全文
摘要:
Testing steps:Create a Class Library project, right-click menu to add a "Unit Test" cs file and add Test Method in that file.Right-click on the projec... 阅读全文