Civilization and Geography

Some people think every civilization must have the own special gene of the culture; actually, different countries all generate randomly the same factors of culture and idea, but many of these factors gradually dissolved during the long history, because of environment where the civilizations exist.

More …

iOS Memory Management

Memory management is the programming discipline of managing the life cycles of objects and freeing them when they are no longer needed. Managing object memory is a matter of performance; if an application doesn’t free unneeded objects, its memory footprint grows and performance suffers. However, garbage collection is not avaliable in iOS. iOS manages memory by reference count. Let's learn about it. More …

YXQueue

YXQueue is enhanced thread manager tool. It encapsulates NSOperation. Thread's manager and invoker are divided by YXQueue. Developers won't focus too mach on thread management by it, just pay attention to how to create a job and implement delegate. More …

YXStackView

UIToolbar is an useful control in UIKit. But after iOS 11 we need to add some compatible code to keep UI layout. Then I found UIStackView can be used as layout. However it doesn’t have some function like UIBarButtonSystemItemFlexibleSpace. So in order to create a container view supporting flexible space, I wrote YXStackView.

More …