I am trying to set name of
section and I am using following command
self.title = @"Categories";
it works perfectly, But I needs to name it via an array's object which is obtained via segue from previous
hence first I used following code to put obtained value in another array
currentYouga = yougaObject;
then I tried to use this
Array to obtain its
value in my desired UINavigationController's title in viewdidload section, so I used to put following line of code in ViewDidLoad section
self.title =@"%@", currentYouga.yougaName;
and it giving me issue "property access result unused - getters should not be used for side effects"
could anyone suggest me some better solution?