- November 2, 2022
Related: How To Use NSAttributedString in SwiftUI: Hack It!
We use NSAttributedString to create different styled texts in Swift. There are many options to modify in this class.
To understand how it works, let’s get started with a simple attributed string example.
let str = "Coffee Break Codes"
var attribute = ()
attribute = UIFont.systemFont(ofSize: 12)
attribute = UIColor.black
let attributedStr ...
- November 12, 2018
Custom UIAlertController – iOS (Objective-C)
Creating a custom UIAlertController helps you to show a popup in your iOS application whenever you need to show a simple warning/information popup. It is an embedded iOS library and that means you do not need to install any 3rd party library.
A classic popup in mobile applications contains 3 parts: title, content ...
- November 11, 2018
iOS Network Connection with AFNetworking – iOS(Objective-C)
There are many libraries for iOS to connect network and get/post data. This tutorial will show one of the most popular library: AFNetworking. It is easy to implement and gather data with this library in Objective-C.
Assume that you have a data as below and you want to GET it.
{
"succes": ...
- November 11, 2018
“Hello World” for Dummies… – iOS
“Hello World” again. This is an introduction to iOS development for newbies. This tutorial explains briefly how to start developing an iOS application. As Android development explained before, these tutorials will continue with “native” development which means you need to be familiar with Objective-C and Swift programming languages.
Everything starts with ...