We are using https://github.com/UrbanApps/UAObfuscatedString to obfuscate sensitive api keys in source code. But keep it readable and testable.
NSString awsPoolId =…
It’s a popular myth that CAGradient is slow and we should use UIImage gradients instead of it. Let’s check it out.
CAGradient
UIImage
TL&DR: CAGradient with shouldRasterize = NO has same performance as UIImage and faster than…
shouldRasterize = NO
You may not know, but if you remove category file from target compile source, you’ll not get any errors. Instead of this, you’ll get crash at runtime.
This short article is about one cool effect, made to keep visibility of visual objects on different backgrounds.
I use word overlap in the meaning of combining several styles of a single visual object with custom border shape. For example, you can navigate through app screens with swipes…
I have a problem: while long time tasks executed in terminal, I switch to safari, forgetting about the work. Before now I used || echo -e "\a", but it's not working while my plugged headphones lie on a table.
|| echo -e "\a"
Few month ago k06a and I created nice script and forgot to share it with community. Here’s how it works:
The core idea of my trick is to avoid a text rendering on text color changing. It is possible due UIView masking with rasterized UILabel. Text color changing is provided over background color change of masked view.
Hey Apple-platform developers! Recently we in Machine Learning Works discovered an interesting library Watchdog and have been using it for awhile under DEBUG scheme to detect the main thread issues. It just checks that the main thread is able to process simple tasks quickly enough, otherwise it shows…
Hey iOS/macOS/watchOS/tvOS developers! I wanna tell you about one simple but interesting code formatting trick we use in Machine Learning Works to describe autolayout constraints.
I was really impressed when I met Apple NSLayoutAnchor API for the first time, which was…