iOS UITextView for Flutter
Transfer decelerating of UIScrollView to another UIScrollView
Generate Test Coverage by Feature (Folder) with Slather
Continue with Slather to generate test coverage reports for Xcode projects & hook it into CI, and from time to time you wonder how to generate the test for only your features which are contributed by you or your team.
[Read More]
0.1 over 3 seconds for Unit Test asynchronous time-out
0.1 over 3 seconds!
[Read More]
Open deeplink in iOS UI Test
UI testing is the best way to verify how your iOS application working in Production environments and how it looks like when integrating with other services!
[Read More]
How to get an iOS application's Scheme URL?
From time to time we have to implement a feature that we have to open external apps from our apps!
[Read More]
Reduce iOS app's loading time by using 'staticlib' with CocoaPods
In many of us, we’re iOS developers who are desire to reduce your app’s loading time.
[Read More]
Way to approach Unit Tests in iOS development
🌡 Unit Tests
I and you and many developers are too familiar with this level of testing, someone might know, someone might doing it everyday. But how to do it productivity? How to do it in a saving time? then it gonna need you practice a lot with Unit Tests.
[Read More]
Mocking for tests in iOS development
🧪 Mocking
[Read More]
How to render images and videos for App Review in iTunes Connect
🏞 Render images screenshot App Review with simulator 📱
[Read More]
App crashes 'NSInternalInconsistencyException' while calling 'reloadRows(at:with:)'
⚡️ Problems
Sometime I got a lot of crashes related to reloadRows(at:with:) due to the unsync between current data in UITableView and the data from dataSource
[Read More]
0x8badf00d - "ate bad food" 🤮
Someday you go to the office and immediately you get a message from you boss that telling you the app got some weird crashes with the logs look like below:
[Read More]
How to measure loading time for iOS app?
There is a simple trick to show your app loading time included dylib loading time, rebase/binding time, ObjC setup time, initializer time, …
[Read More]
Translating 'hidden' symbol names back to their original names by using atos + dSYM?
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]
How to Record, Detect Faces, Overlay Video at Real-time Using Swift?
This post will show the way how to record, detect faces, overlay video at real-time using AVFoundation via Swift3:
[Read More]