Posts

Jvm Memory Management

These days I meet some problems about the GC mechanism in JVM, and I found some good articles to learn the detail of JVM management. Java memory management white paper http://www.oracle.com/technetwork/java/javase/memorymanagement-whitepaper-150215.pdf Optimzie GC …

Tips In Binary Search

Sometimes, I feel the confused while dealing with the binary search problem, especially when facing the problem to find the first or last occurrence index to meet certain requirements and I felt so ashamed. After reading the post from canhazcode, I find we can use another way to solve the binary …

Mach O Executable

I found an article about the Mach-O executable run on iOS and OS device. From that article, I picked up some interestings thing about what the compile does and what’s inside such an executable. What puzzled me most in this article is the section of ’lazy load’ & ‘unlazy …

Update Uicollectionview Items And Sections

I met some problem when inserting items & sections to a UICollectionView today, and I found something I missed when using UICollectionView whose layout is kind of flowlayout at first.

Use Sharepoint On Ios Platform

Request is to commuicate with SharePoint Server using iOS, the version of SharePoint is SharePoint 2013

Concurrency With Coredata

I get a crash log 'Error - null [reason] - Statement is still active' in today project, then I found it is about the problem caused when using the same NSManagedObject in two separate thread.

Strong Autoreleasing

https://www.youtube.com/watch?v=qOVAbKKSH10&t=91s https://www.youtube.com/watch?v=HneatE69814