Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Decoding

A collection of 3 posts

Swift 4.1

Swift 4.1 feature - keyEncoding/keyDecoding strategy

Can't believe it's been 3 and half years but I still didn't run a single Swift program over command line. However, that is no longer going to happen. The occasion is an unreleased Swift version 4.1 (As of 02/14/2018) and my desire to try out new cool

  • Jayesh Kawli
Jayesh Kawli Feb 15, 2018 • 6 min read
Decode HTML entities in the iOS
iOS

Decode HTML entities in the iOS

While working on one of our legacy projects, I came across interesting (Re: Code smell) code. We were getting HTML encoded strings in one of our content call. We just avoided to load this on UIWebView using [web loadHTMLString:[HTML String] baseURL:[Project base URL]] Pro tip : We usually leave

  • Jayesh Kawli
Jayesh Kawli Dec 12, 2015 • 2 min read
iOS

How to decode URL string on an iOS

Often times we need to deal with URL encoded string. This is quite awkward to use for an UI. In order to fix this issue, we often tend to decode it. Today we will see how to decode an URL string on an iOS Say, NSString* inputURLString is an URL

  • Jayesh Kawli
Jayesh Kawli Nov 11, 2015 • 1 min read
Fresh Beginning © 2022
Powered by Ghost