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
-
Author Archives: idz
A Whirlwind Introduction to git submodules
I have put off learning how to use git submodules for too long, but one of my projects has been crying out for them for so long that I finally had to act. The project IDZAQAudioPlayer demonstrates how to use … Continue reading
Getting Travis CI Working with Your iOS GitHub Builds in Under 10 Minutes
I try to make sure that all my Open Source repositories on GitHub compile and run correctly, but it is easy to miss some dependency on my system or some other bug. So it’s nice to have the ability to … Continue reading
Posted in Tutorial
Leave a comment
Swift Standard Library: transcode
Swift Standard Library: transcode The {swift}transcode{/swift} function lets to convert strings from one Unicode encoding to another, for example {swift}UTF16{/swift} to {swift}UTF8{/swift}. The definition you get when you command-click on the function is quite intimidating: It is also incorrect; a … Continue reading
Posted in Swift, Swift Standard Library
Tagged SinkType, transcode, Unicode, UnicodeCodecType, UTF16, UTF32, UTF8
1 Comment