Categories
- Code (3)
- Code Snippets (12)
- git (1)
- Hardware (1)
- News (5)
- Objective-C (6)
- Precompiled (4)
- Programming (1)
- Review (1)
- Swift (9)
- Swift Standard Library (3)
- Tips (3)
- Tutorial (22)
- Uncategorized (3)
- WWDC (1)
-
Recent Posts
Meta
-
Category Archives: Code Snippets
Swift Standard Libraries: Sequence and Collection Functions
In the last post in this series, I took at look at the protocols that Swift uses to define generators, sequences and collections. In this post I am going to present examples of using the Standard Library Functions that operate … Continue reading
Posted in Code Snippets, Swift, Swift Standard Library
Leave a comment
Snippet: Macros for ARC-agnostic Code
In an ideal World, we would all be using ARC now and all our code bases would have been converted to ARC but, if like me, you still have some legacy code you may find yourself needed to make some … Continue reading
Posted in Code Snippets, Objective-C
4 Comments
Snippet: Finding the Current First Responder
In iOS there is no simple call to retrieve the current first responder (without resorting to private APIs). A google search turns up lots of methods that involving walking the view hierarchy, but I really like this simple, efficient method … Continue reading
Posted in Code Snippets
Leave a comment