Problems As we know that sometimes we got a crash with its stack trace which contains only the address on memories of some objects or some methods, without any line number of your implementation, then how we can indicate which part in your project raises the crash? [Read More]
How to mock a completion block in OCMock?
Problems My dependency has a completion block, and inside the implementation of that block I do some logics, so how my test needs to make sure it calls all the logics? [Read More]
How to catch the crash's stack trace?
Problems How to log down the crash trace for investigation? [Read More]
How to test C/C++ functions by using Objective-C?
Problems I guess that you already saw some C/C++ functions like these get called in Objective-C :] [Read More]
How to Find Bigger Number Without Using If/else or Switch/case Statements?
Suppose we have 2 positive integer numbers: a and b Now print out which number is the bigger? Note that without using if/else, switch/case or comparing operations! 😎 [Read More]