Search Results

Search found 4 results on 1 pages for 'maralbjo'.

Page 1/1 | 1 

  • iWebkit vs. JQTouch vs. iUI

    - by maralbjo
    Hello, I am going to develop a content rich application that ideally should have been an iPhone-app, but since I'm short on time, I will stick with technologies that I can, such as JQuery, CSS and HTML. The more mobile devices my site runs on besides iPhone, the better. A brief search on the web leaves me with the impression that there are three tools I may use: iWebkit, JQTouch and iUI. I have toyed about with JQTouch, which I find impressive and simple to use. With simplicity comes lack of customizability; I would very much like to have sliders and other cool features in my GUI. Any comments on which of these three to go for?

    Read the article

  • Problems with creating XML with DOMDocument in PHP

    - by maralbjo
    The below code is fetched from php.net (http://docs.php.net/manual/en/domdocument.savexml.php). My problem is - it doesn't work. My only output from this is: "Saving all the document: Saving only the title part:". What am I missing here? $doc = new DOMDocument('1.0'); // we want a nice output $doc-formatOutput = true; $root = $doc-createElement('book'); $root = $doc-appendChild($root); $title = $doc-createElement('title'); $title = $root-appendChild($title); $text = $doc-createTextNode('This is the title'); $text = $title-appendChild($text); echo "Saving all the document:\n"; echo $doc-saveXML() . "\n"; echo "Saving only the title part:\n"; echo $doc-saveXML($title);

    Read the article

  • How to reference THE UIWindow from sub UIViewControllers?

    - by maralbjo
    I am trying to add another subview programmatically based on some event (user taps a button, for instance). My problem is that I am having problems referencing the (one and only) instance of UIWindow. I reach it from my appDelegate, because the MainWindow.xib and the appDelegate have been wired up. But I cannot reach the UIWIndow from anywhere else (I cannot draw that connection in IB, can I?) What techniwue is preferred to get a reference to (the one and only) UIWindow? ...so that I in turn can use the following code from my various UIViewControllers: [myOneAndOnlyWindow addSubview:oneOfManyViews.view]; [myOneAndOnlyWindow makeKeyAndVisible];

    Read the article

  • App shuts down when pushing UIbutton!

    - by maralbjo
    For reasons unknown my app shuts down upon pressing a UIButton in the simulator. I have dynamically added my UIView, if that is of relevance. No tracelog or debug information just a rush exit... This is the simple code (.m-file): - (IBAction) testButtonPressed: (id) sender{ NSLog (@"Testbutton pressed."); } From the header file: - (IBAction) testButtonPressed: (id) sender; Pretty basic stuff, but for some reason the app terminates. Help!

    Read the article

1