Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Badges

Rhade @ @ @

About

Banned
Username
Rhade
Joined
Visits
2,275
Last Active
Roles
Registered Users
Points
94
Posts
661
Badges
9
  • Re: Reminder: Discussion of NDA beta stuff - iOS or Xcode - is not allowed here

    Not kidding. If it even smells a tiny amount like NDA stuff, it will not be allowed here. Very short rope.
  • Re: Move webview content to new view controller

    Don't make multiple threads for the same question.
  • Smileys and frownies in your code? Use code formatting - UPDATED

    Updated for new forum software:

    From what I can tell, the specific code to use can vary depending on which applies:
    - Editing an older post that was migrated from vBulletin
    - Creating a fresh new post here in Vanilla

    The giveaway appears to be at the bottom left of the posting area. If you see:
    - "You can use BBCode in your post", that should be a vBulletin post
    - "You can use Simple HTML in your post", that should be a Vanilla post

    The BBCode version is:

    [ code ] whatever [ / code ] (without spaces)

    The HTML version is:

    < pre > < code > whatever < / code > < / pre > (without spaces)

    You do need the pre tag, as shown in the following examples:

    Smileys: :) :(

    [ code] blah [ / code] typed manually
    // Line 1
    // Line 2 
    :) // Line 3 - (void)setString:(NSString *)string;
    < code > blah < / code > typed manually
    <code>// Line 1
    // Line 2 :)
    // Line 3
    - (void)setString:(NSString *)string;</code>

    < pre >< code > blah < / code > < / pre > typed manually
    <pre><code>// Line 1
    // Line 2 :)
    // Line 3
    - (void)setString:(NSString *)string;</code></pre>

    Hitting the C button that is between the strike-through and image buttons
    // Line 1
    // Line 2 
    :) // Line 3 - (void)setString:(NSString *)string;
    Based on a quick test, it seems that the C button will produce the correct code for each circumstance. So since this is an older post, I got the [ code] version. In a test of a newer post, I got the pre/code version. So when in doubt, just hit the C button.