Hello world?

Discussion in 'Jiggy Runtime Development' started by mytouch386, Jun 11, 2008.

  1. mytouch386

    mytouch386 New Member

    Joined:
    Jan 3, 2008
    Messages:
    341
    Likes Received:
    0
    Device:
    iPad
    i have not found one hello world tutorial i'm new to jiggy and i want practice the sticky has coming soon on it!
  2. Teslanaut

    Teslanaut Well-Known Member

    Joined:
    Sep 16, 2007
    Messages:
    15,588
    Likes Received:
    177
    Device:
    4G iPod touch
    Jiggy is going to become obsolete, as of this posting, in 30 Days.

    I suggest you move on to Objective C.
  3. OneFan

    OneFan Active Member

    Joined:
    Feb 25, 2008
    Messages:
    949
    Likes Received:
    67
    Device:
    iPhone 4 (White)
    HERE YOU GO


    Code:
    Plugins.load( "UIKit" );
    
    var window = new UIWindow( UIHardware.fullScreenApplicationContentRect );
    window.setHidden( false );
    window.orderFront();
    window.makeKey();
    window.backgroundColor = [ 0.8 , 0 , 0, 1 ];
    
    var mainView = new UIScroller();
    mainView.contentSize = [ window.bounds[ 2 ] * 2 , window.bounds[ 3 ] * 2 ];
    mainView.backgroundColor = [ 0 , 0 , 0 , 0 ];
    
    window.setContentView( mainView );
    
    var hello = new UITextLabel( [ 20 , 20 , window.bounds[ 2 ] - 40 , 100 ] );
    
    hello.text = "Hello World!";
    hello.backgroundColor = [ 0 , 0 , 0 , 0.25 ];
    hello.setFont( new Font( "Trebuchet MS" , 2 , 46 ) );
    hello.color = [ 1 , 1 , 1 , 1 ];
    hello.centersHorizontally = true;
    
    mainView.addSubview( hello );]
  4. mytouch386

    mytouch386 New Member

    Joined:
    Jan 3, 2008
    Messages:
    341
    Likes Received:
    0
    Device:
    iPad
  5. thesmidge

    thesmidge New Member

    Joined:
    Nov 22, 2007
    Messages:
    865
    Likes Received:
    31
    Device:
    3G iPod touch
    Blech. Jiggy. That's such a kiddie language. Please consider moving on to Obj-C. Read a couple books, make some practice apps, and BAM, you're a dev.
  6. cryptsucks

    cryptsucks Banned

    Joined:
    Mar 12, 2008
    Messages:
    683
    Likes Received:
    2
    why dont you make an app tes >_> ive never seen you make anything for this forum except a buncha spam
  7. Go Avalanche

    Go Avalanche Banned

    Joined:
    Jan 25, 2008
    Messages:
    1,336
    Likes Received:
    28
    maybe he doesnt want to
  8. The Ax

    The Ax Banned

    Joined:
    Mar 11, 2008
    Messages:
    647
    Likes Received:
    22
    I dont understand how its a kiddie language.

    Jiggyapp.com/ is where u wanna go for hello-world.js

Share This Page