[NSString stringWithFormat:@"%@ \n%@ \n%@",
self.message1,self.message2,self.message3];
There’s a way to pass only message1 ..2 ..3 only if not == “” ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just to suggest an alternative and more compact solution:
So unlike Mundi’s solution that:
There are obviously more steps in there so it’ll cost a bit more but for most purposes you really don’t need to care about that nickel and dime stuff.