vsouza / awesome-ios

A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects

Home Page:http://awesomeios.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to convert string to boolean ?

lmk07 opened this issue · comments

commented

im having string value as "True"

NSString *rootuser = "True"

this i want convert into boolean true and push it into object like below.

{
rootuser : true
}

thanks.