Objective Tidbits

Objective Tidbits

Delicious tidbits from the  development world.

Go to the profile of Ilter Cengiz
Ilter Cengiz
Jun 8

Working with universal links on iOS simulator

We can use web URLs for opening content in an application for a while. The setup is very basic. Just write the domains you want to handle in you entitlements file and you’re good to go! (Focusing on the iOS side, skipped domain setup.) From now on…

Read more…
1 response
Go to the profile of Ilter Cengiz
Ilter Cengiz
Dec 15, 2016

Alternative Button

There must be a time when every iOS developer wanted to place the image of `UIButton` above the title. Alternative Button is here for that!

TL;DR

Alternative Button is available as a pod. You can easily add it to your project just by adding…

Read more…
Go to the profile of Ilter Cengiz
Ilter Cengiz
Dec 15, 2016

Editing Changed

`UITextViewDelegate` has a very useful method: `-textViewDidChange:`. As the name implies, text view calls this method on its delegate whenever the text it is currently presenting is changed.

But, unlike `UITextViewDelegate`, `UITextFieldDelegate` doesn’t have such a method…

Read more…
Go to the profile of Ilter Cengiz
Ilter Cengiz
Dec 15, 2016

Date Formatter

One of the strongest classes of the Foundation framework undoubtly is `NSDateFormatter`. With `NSDateFormatter`, one can easily convert a date object into strings with various formats that human can read.

NSDate

Read more…
Go to the profile of Ilter Cengiz
Ilter Cengiz
Dec 15, 2016

Masking views

Apart from `cornerRadius`, we can easily mask any view with any shape and path using `UIBezierPath` and `CAShapeLayer`. This provides us much more flexibility in laying out our subviews and making them as odd as possible.

Rounding corners

Read more…
About Objective TidbitsLatest StoriesArchiveAbout MediumTermsPrivacy