Counting Characters
A technical article explaining how to count character frequencies in a text file using Objective-C and Grand Central Dispatch for asynchronous file I/O.
Brian Coyner is a seasoned software engineer, technical leader, and public speaker specializing in mobile and software architecture. He helps teams solve complex problems using core software principles, GoF design patterns, strong testing practices, and thoughtful API design. He is currently a Lead Software Architect (Staff+ Engineer) at NISC, focusing on scalable, reliable, and user-centric mobile solutions.
27 articles from this blog
A technical article explaining how to count character frequencies in a text file using Objective-C and Grand Central Dispatch for asynchronous file I/O.
A tutorial on using Git's sparse checkout feature to clone only specific directories from a large repository, saving disk space.
Explains why OCUnit test files in Objective-C only need a .m implementation file and don't require a separate .h header.
A technical guide on using latches (CountDownLatch, dispatch_semaphore_t) to write unit tests for multi-threaded code that executes on background queues.
A technical talk on Apple's Core Animation framework, covering layers, implicit/explicit animations, and advanced techniques like a multi-touch Bézier editor.
A developer shares six recommended programming books covering Cocoa design, sockets in C, Quartz graphics, and classic programming texts.
A tutorial on implementing parameterized (data-driven) test cases in the OCUnit framework for Objective-C, using a date conversion class as an example.