Access class name using @objc attribute
Mar 19, 2020, 5:21 AM
Scenario
Create a Simple Table View app Load customs cells each row Cell identifier is the class name if the object is TableCell cell identifier is “TableCell” Use common cell loading techniques Use helper method to load cell...
iOS Localization Tool
Jul 22, 2018, 1:39 AM
Localization is simply the process of translating your app into multiple languages.
In situation like you need support multiple language, including API response messages and dynamic strings you need a list of localizable .strings file, and...
Generate MapView Snapshot with Snapshotter
Feb 12, 2018, 1:29 AM
MKMapSnapshotter is use in creating an image representation of a map view. Previously, other developers use UIGraphicsContext, but now images can reliably be created for any particular region and perspective.
Creating a Map View Snapshot...
Multiline String Literals
Jul 1, 2017, 10:07 AM
Long strings are strings delimited by """triple quotes""" that can contain newlines and individual " characters without the need to escape them. SE-0168 Multi-Line String Literals
Multi-Line String...
Grand Central Dispatch and Swift 3
Dec 9, 2016, 5:43 AM
**Grand Central Dispatch **(GCD or libdispatch) a system level library for managing concurrent operations develop by Apple Inc., it is one of the more complicated and unfriendly APIs in iOS SDK. It was written in C programming language...
New iOS9 String Transformations API
Jun 29, 2015, 5:44 AM
String transformations formerly done using CFStringTransform a part of Core Foundation Framework. In iOS 9 string transformation can be done along with the new “NSStringTransform*” constants a native Cocoa API and no need to deal with...
WatchKit Framework
May 13, 2015, 6:14 AM
WatchKit is the new framework created by Apple for Apple Watch development, WatchKit is available starting Xcode 6.2 and iOS 8.2.
Analogous to UIKit for iOS apps, the framework allows developers to drop in custom interfaces and interact...
iOS Dependency Management
Apr 10, 2015, 2:00 AM
As an iOS developer, you certainly use a third-party libraries or a source code made by others to extend your app’s abilities. At first, it seems easy, just drag and drop some source code or libraries in your Xcode project or drag and drop...
About
Dec 31, 1, 6:27 PM
My name is Roger Molas. This blog, its content, thoughts and opinions are my own. I blog about technology, code, iOS development, Swift, Objective C and anything related to that. I’m excited about, innovation, codes, data science,...