How do I assign this text to label in iPhone SDK

I want to assign below text to UILabel, but it gave me many errors:

smslbl.text = @"____


Basically I want to assign the ASCII art of a handgrenade to the label text.

Can you please suggest a correct way of assigning this to a UILabel?



Use control characters to your advantage:

smslbl.text = @"____\n |----|-O\n/______\\\n|______|\n\\______/";

Here I am using the \n newline character to signify a new line, and I'm escaping the literal \ characters with another \ character.

Need Your Help

How to save and recover PyBrain training?


Is there a way to save and recover a trained Neural Network in PyBrain, so that I don't have to retrain it each time I run the script?

Java Working with bits

java bits bitmask

Let me start by saying I have never really worked with bits before in programming. I have an object that can be in 3 states and I want to represent those states using a 3 bit array.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.