try to convert string json to object and i am getting following error
Cannot invoke "jsonObject: with an argument list of type "(with: String, options: [Any])"
i have five tabs in tab bar . and i want to transfer data or object from one tab view controller to another tab bar controller .
how can i possible send data between tab controller ?
[User Defaults] Attempt to set a non-property-list object as an NSUserDefaults/CFPreferences value for key "keyname"
i have object array and i want to store it in UserDefaults
but
it not storing and it giving error as above
at line for ja in la["items"]
for la["items"]
i am getting following error
Cannot subscript a value of type 'AnyObject' with an argument of type 'String'
how to solve this error ?
I am learning how to build an app for iOS
As beginner, for iOS Development , Swift or Objective-C , what i should learn ?
what is future in iOS Development , Swift or Objective-C ?
i am starting code with ios swift and objective c . so i want to know any debug function there which give full structure of variable like its type and length of char of string etc.. i mean meta data about the variable .
i can say like var_dump in php , i am finding like var_dump in ios swift or objective c code.
using code belowed
i tried setting image to nil, but text is small and aligned to bottom of UITabBarItem.
so is that possible to use UITabBarItem without image only text