How write and test swift snippets in console xcode 6.1

how write and test swift snippets in console xcode 6.1....?
when create a swift file how run only this file - Not iOS App itself, Not open emulator - Only in console?
eg
println("hello world")

Thanks, Lynn - I guess it's something to know I'm not alone!
Between three logic board failures last year, the fact that I can no longer access a DVD or ethernet via my laptop without buying (and making sure I take everywhere with me, just in case I need it!), and what seems to be going on here, I'm sorely tempted to go back to Windows...sure, there might be more problems, but they're rarely quite as severe and there's always a lot more people experiencing it, so your chances of a solution are a lot better!

Similar Messages

  • Can I write and run simple java programs in Xcode

    I need to write and run basic java programs on my mac. I would like to run it in Xcode, but I don't know how to set it up? Is there a way?

    Read the following discussion from last month on here:
    Can Xcode 4.5.1 compile/run java?

  • How can i test and adjust my speakers plea

    Hi
    This is my setup:
    Creative X-Fi Xtreme Music Retail
    on
    Logitech Z-5300e 5. speaker system.
    What i need to know is how can i test my 5. speaker system
    using the creative software in order to check if each channel is working properly.
    I did not install the retail driver software that came with my package.
    I only installed the latest creative x-fi standalone driver ( 42MB ) from the update site and mediasource plus Go. I can't find the creative sound mixer to check my speakers.
    I also need to find a software that lets me adjust or calibrate my setup for optimal performance.
    I noticed on the x-fi quickstart guide there is a software called "mode switcher", which includes neat looking software for each mode... where can i find that program ?
    I appreciate your help.
    Thank you.

    You need to install the apps and possibly drivers from the CD first and then upgrade to the web drivers. For testing your speakers the apps are necessary. However, Start->All Programs->Creative->Creative Audio Console should let you change modes.

  • $.write() and $.writeln() both write line-end character to console?

    This may seem like a small thing, but I'm finding it really annoying.
    Using the ExtendScript Toolkit in CS4 InDesign on Mac OS X 10.4 (Tiger) to write messages to the JavaScript console, I find that both $.write() and $.writeln() will write a line-end after the string passed in. This seems to be broken re. the docs (page 213 of "JavaScript Tools Guide CS4", available from the Help menu, which describes both calls and only mentions linefeeds for the latter).
    Are other people seeing this behavior? Is there a way to fix it, perhaps some property or preference on the JavaScript editor/debugger?
    Thanks for any help you can offer.
    Steve Caine

    I can certainly reproduce it easily enough. This:
    $.write("This");
    $.write(" is");
    $.write(" a");
    $.write(" test.");
    produced:
    This
    is
    a
    test.
    The only workaround (it seems to me) is to build the string in the script and then post it all at once. I confess that I hadn't even realized there was a $.write() function although it ought not to take a rocket scientist to realize that there is.
    msg= "";
    array = ["This", " is", " a", " test."]
    for (var j = 0; array.length > j; j++) {
    msg += array[j];
    $.writeln(msg);
    Dave

  • How to deploy and test J2ME application on handset???

    Hi all,
    I write an application using j2mewkt toolkit and generated all jad and jars.It's working fine on test models but want to test it on handset.Can naybody tell me how to deploy and test it on Handset,what basics i required,kindly tell me step-by-step as i m novice in J2ME.
    thanx

    STEP-1
    Create the package - In the J2ME Wireless Toolkit Menu Select "Project"-"Package"-"Create Package". It creates jar and jad file in the bin directory.
    STEP-2
    Converting this file from m/c to device : There are many tools to transfer your midlet suites to your device. for example MIDWay Tool
    The MIDWay tool allows you to download MIDlet suites to your developer-enabled device via SERIAL CABLE. Please note this is a preview of the tool included in the upcoming Motorola SDK for J2ME v3.1. The MIDWay v2.6 preview only supports the following devices : V60i, V66i, T280i, T720, T720i, A830
    For this tool to work properly your device must be enabled for development and the "Java
    STEP : 3
    Open the jad file from Midway Appplication in which it imports the jad file and export it to the device. This is done by jam (Java Application Manager) takes responsibilities for this function i.e., the jad file is installed to the device. After installing it u can test as same as in emulator.

  • How do you use a SOA Composite after you have deployed it and tested it?

    I have created a SOA Composite application, deployed it with no problems, and tested and it works. However I am having trouble finding info on what to do next. I really would like to know how to use this SOA Composite application in a web application. I am trying to create an interface that would use the SOA composite. Any links to help would be greatly appreciated.
    This is the only help I have found so far, http://docs.oracle.com/cd/E28271_01/fusionapps.1111/e15524/uc_bpel_bc.htm

    Hi,
    It's a web service call, you go to EM get the WSDL and with it you generate the webservice client for your web application... By calling the web service you will be starting the composite...
    Cheers,
    Vlad

  • How to combine both DAQ AI signal, write and read file in single VI

    Hi
     I am the new user of LabVIEW version 7.1 for testing automation application. I have to measure 33 signals ( mostly analog like temp, pressure, etc...) from NI USB 6210 DAQ system and write in master file for future verfication.From real data or from master file back up have to write  one more file if only the signal reaches steady state , which will used for analysis and same signals to be read from this file parallely & make a waveform and/or table display format.
    Pl. help me to shortout this problem 
    note: I have plan to ugrade labVIEW version 2011 shortly, so let me know doing parrel acquistion write and read file for data analysis in same VI in version 7.1...... 

    Parallel operations in LabVIEW are very simple.  Just code it in parallel and it will work.
    Try taking a look at some of the examples in the NI Example Finder (Help > Find Examples).  There you will find example for writing to and reading from files, as well as data acquistion in parallel with other operations.
    You might need a producer/consumer architecture is you are acquiring data very quickly.
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • SP 2013 Development - How can I Simulate Different Devices to Help Design and Test a New UI?

    Hello Community!
    I am working with SharePoint 2013 and I need to be able to design and test a new design across multiple device browsers.  Does anyone know how to simulate a device browser for design and testing?  BTW, I know about Device Channels, and they give
    me a way to dynamically change my UI for different device browsers, but because this UI is complex, I cannot be sure what dynamic changes need to occur until I can simulate the device browsers and view my new UI in them.
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    Hi Tom,
    Because your question is mainly how to simulate different devices, which is more related to SharePoint development, I am moving this thread to
    SharePoint 2013 - Development and Programming forum for better response.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • How can i write and read the same data

    hi,
             i have attached my program to this mail. i have some problems in this program.
    problems:
    1. I want to select the threshold for the rms,varience and s.d.
    But what i used is not doing that. i want to fix the upper threshold value and lower threshold value.
     when ever the input crosses upper threshold value i want the output and it will remains uptill the value above the lower threshold value.
    Once it come down the lower threshold value the output should be stopped.
    2. I want to write this in to a  file and i want to read this file. is this possible or not. 
                please try to help me i am very new with lab view6i
           REGARDS
    CHAMARTHY KOMAL DILEEP.
       [email protected]
    Attachments:
    dileep.vi ‏93 KB

    The easiest way to perform a certain action (such as file I/O) based on a certain condition (such as whether a value has passed a certain threshold) is to use a comparison VI in combination with a case structure. Then you can specify that if your rms, standard deviation and variance are above a threshold then perform a certain action.
    Also consider using shift registers to keep track of data from the last loop. If I understand you correctly, you want to start logging data when an upper threshold has been passed. Then you want to continue logging data until a lower threshold is passed. I have attached a non-functional but explanatory VI that will help explain how to implement logic to that effect. It also demonstrates that you can indeed write and read from the same file in a loop. The best way to do this is to open the file before the loop, do all the necessary writing and reading in the loop, and then close the file after the loop.
    Hope this helps!
    Jarrod S.
    National Instruments
    Attachments:
    dileep_example.vi ‏61 KB

  • How to delete users from Dev and Testing once it is deleted in Production

    Sap Gurus,
    Is there any automated way to delete the users from development and testing once it is has been deleted from production. i.e. when the administrator deletes the user from production after logging in then it should automatically delete the users from testing and development without logging on in these 2 systems (development and testing). Can anyone help me in resolving this issue.
    I am very much thankful in advance..
    Regards,
    Kali

    Rob,
    Ok, you are right in that way I can allow only that person but I have to allow 2 persons at this time. i.e. If at all I have to allow one more person also how should I do it, and also what if the person uses different passwords in development and testing?
    Thanks for your response Rob.
    Kali.

  • How do i test a record containing status E0008 and not containing status I0002

    hello all,
    how do i test a record containing status E0008 and not containing status I0002  for a given WBS Element....
    the data(like pspnr, posid and objnr from table PRPS are avialable in internal table it_prps)....

    Hi,
    You can check the received table from the function module as per your condition.
    loop at it_prps.
         call function STATUS_READ and pass objnr
              "suppose tables parameter data is in table itab
         Read table itab with key STAT = 'E0008'. "check for E0008
           if sy-subrc = 0.
              read table itab with key stat = 'I0002'. "if E0008 exists then check for I0002
                   if sy-subrc = 0.
                       "both status E0008 & I0002 exists so delete this record from it_prps
                        delete it_prps.
                   else.
                       "only status E0008 exists.
                   endif.
         endif.

  • How to write and read Japanese on my Nokia E5

    I am trying to find out how I can write and read Japanese on my Nokia E5.
    I even don't knwo if it's possible...
    Does anyone have the answer???

    Hello ikokitakun,
    I believe you have to load a version of software on your phone that has the Japanese language pack in it because the version of software on the phone only has the languages for the region that you bought the phone in. for example if i bought my phone in NZ it would have English, Malaysian and maybe Philippino. There are "dodgey" places you can go to get the software changed but if you do this you void your warranty so be careful. Nokia doesn't condone the changing of regional software.
    Hope this helps
    -Cheers
    "Freedom is the only way, yeah!"

  • How to install OLAP Intelligence and Test

    Hi,
    IN XIR2,  I want to work on OLAP Intelligence. I have uploaded the Key.
    Please advise me How to enable OLAP Intelligence and hwo to work.
    I have not found any OLAP Connection section in CMC.
    Developer sent a OLAP report, and uploaded to BO Environment. now it is showing connection filed..
    Please steps to fallow, enable the OLAP Intelligence in currently running BOXIR2 Env, and how to test whetehr OLAP is working or not.
    Thanks,
    Srinivas

    Hi,
    OLAP Intelligence does not manage its connections in the CMC. You can create an OLAP Intelligence connection by going to InfoView and clicking on the New menu. You should see two OLAP Intelligence related items. One called 'OLAP Intelligence Report' and another called 'OLAP Intelligence Connection'.
    In order to use OLAP Intelligence through InfoView you need to have your third party OLAP connectivity components installed in the same maching as the web application server that is hosting InfoView. To test which connectivity you have installed and set up correctly you can click on the 'OLAP Intelligence Connection' option under the New button described above. One the new connection page you should see a drop down list of available OLAP providers. You will always see connectivity options for Hyperion Essbase and IBM DB2 OLAP regardless of whether you have set this connectivity up. If you don't see a connection for Microsoft Analysis Services you will need to install the Analysis Services client connectivity on your web application server machine. If you don't see SAP BW connectivity you need to install something like the SAP GUI that will place librfc32.dll on the path and you will have to install the Business Objects SAP Integration kit.
    If you see your connectivity available, you can test whether you can reach the OLAP server by creating a connection. Use the same OLAP server pointed to by the report that you uploaded.
    If you are able to creat and test succesfully a connection, can you post what error message you were seeing when you tried to access the published file?
    Reuben

  • How to compile and test SIM card applet

    Dear all
    I have a sample applet:
    package sim.access.sample;
    import sim.access.*;
    public final class helloFile extends Applet implements ToolkitInterface
           private static SIMView  theGsmApplet;
           private static USIMView aUsimApplet;
           private static AID theGSMAppletAID;
           private static AID theUSIMAppletAID;
           private static final byte[]  baGSMAID = {(byte)0xA0,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x09,(byte)0x00,(byte)0x01};
           protected helloFile(){
           public MyApplet () {
                theGSMAppletAID = new AID();
                // get a reference to the GSM interface
                theGsmApplet = SIMSystem.getTheSIMView(theGSMAppletAID);
           public void doSomethingWithAFile(){
                   // returns the SIMView of the currently selected Applet
                   // allows to implement services that are depend on specific
                   // file in GSM or USIM application as well as to implement
                   // technolgie independent applets.
                   SIMView theView = SIMSystem.getTheSIMView();
                   if(theView instanceof SIMView){
                        // do something with a GSM file
                   else if(theView instanceof USIMView) {
                        //do something with a USIM specific file
                   // Or request a View to a specific application
                   USIMView theView = SIMSystem.getTheSIMView(aUSIMAppletAID);
    }I want to compile and test it, how can i do it ???

    I am trying to compile it on eclipse using JCOP:
    package mytest;
    import sim.toolkit.ToolkitException;
    import sim.toolkit.ToolkitInterface;
    import javacard.framework.APDU;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    public class Test extends Applet implements ToolkitInterface{
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              new Test().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
         public void process(APDU apdu) {
              // Good practice: Return 9000 on SELECT
              if (selectingApplet()) {
                   return;
              byte[] buf = apdu.getBuffer();
              switch (buf[ISO7816.OFFSET_INS]) {
              case (byte) 0x00:
                   break;
              default:
                   // good practice: If you don't know the INStruction, say so:
                   ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
         public void processToolkit(byte arg0) throws ToolkitException {
              // TODO Auto-generated method stub
    }It is giving following error on package name:
    resolving constant-pool of clazz Lmytest/Test; failed: missing export file for package sim/toolkit

Maybe you are looking for

  • Downloads to wrong folder

    Hello, When I sync music or podcasts onto my ipod nano (4th generation 16 GB) from my powerbook (OS X 10.4.11) using itunes (9.0.2) it appears, on the summary page of itunes, to be downloading into the correct blue audio folder however once the ipod

  • PPR and the Back Button

    Hi all, I posted recently about a workaround Oracle showed me for helping manage back button problems more efficiently, but now I'm having a separate back button problem. Changes that were made to a page via PPR disappear after coming back to the pag

  • Application Develop In URDU

    i'm using form 6i and i want to know can i develop oracle application in URDU. thanks in advance Shakeel

  • Uploading Microsoft excel 2007 in  BADI CRM_ISU_COP_IF_BADI

    Hi , I have an requirement of uplaoding an Microsoft excel file 2007 .  I am using a BADI CRM_ISU_COP_IF_BADI  for uploading the same , in which it is providing me the data into XSTRING format and i have to convert it into string format but i am unab

  • Direct Printing from client PC

    Hi all I m using forms10g. How can I print the report directly without displaying in the monitor/screen. And I need to make it very fast. Thanks in advance. Mokarem