Xcode hiccups

Hi there,
Two questions here...
1. I have a document-based AppleScript app here, and I can't save it, even though there is a scroll view within it. Why not?
2. I want to update the scroll view with the contents of the clipboard, why will this code not do it:
on clicked theObject
set preferred type of pasteboard "general" to "string"
set myString to contents of pasteboard "general"
log myString
set content of theObject to myString
end clicked
Thanks, Ricky

Hi Ricky!
I don't know if I can be much help here but with your on clicked handler I don't think that theObject is referring to a scroll view?
set content of theObject to myString
theObject can only be something that's linked in IB to a on clicked handler. I could be wrong but I don't think scroll views are compatible with on clicked handlers. The answer lies in the Container View Suite in your Xcode documentation...I know it's not fun reading!
Reg

Similar Messages

  • Xcode 4 download error

    Hi everyone:
    I'm not sure if it's just me, or what? When I try to follow the link to download xcode 4 I get the following:
    {quote}Access Denied
    If you need assistance, please contact the ADC Support Team.
    If you feel you received this message in error, please reference this code when contacting the ADC Support Team: P1
    {quote}
    and none of the links to contact their support team work. Is it just a server hiccup, because it's been like this for a couple of days.

    Having the same problem. Tried several browsers, different links but Apple keeps denying access to the download.
    Fix: when you get the following message, click on the 'downloads' link, then on the 'Developer tools' category and choose your Xcode version. The download should begin immediately.
    You do not have access privileges to download the software you are requesting. If you believe you have received this message in error, you should confirm your access privileges directly with your Apple contact or view the downloads that are currently available to you.

  • I updated Xcode 5 to Xcode 6.0.1. It messed up my previous apps and i don't know how to fix it. Is it possible to uninstall Xcode 6 and go back to Xcode 5?

    Hello,
    I updated Xcode 5 to Xcode 6.0.1. It messed up my previous apps and i don't know how to fix it. Is it possible to uninstall Xcode 6 and go back to Xcode 5?

    I found this solution http://objcsharp.wordpress.com/2014/09/21/how-to-get-back-the-ios-7-sdk-after-up grading-to-xcode-6/

  • Access pictures in a particula folder in photo gallery of iphone xcode

    Hi
    I need to access pictures in my iphone photo gallery through xcode,
    I am trying to search code for this but with little success.
    I somebody has knowldge on this please share.
    thanks

    Here is a link to the apple developer site that might help out.
    http://developer.apple.com/

  • Running Xcode 3.2.3 for the first time, hitting an error immediately

    Hello. I'm learning Objective-C from a book ("Beginning Mac Programming"), and I've run into an error right out of the gate. I've checked the book's errata, as well as left a message with the author, but neither have solved the issue.
    Here's what happened:
    1. I installed Xcode 3.2.3 (I'm on 10.6.4)
    2. Opened it
    3. Selected "New Project"
    4. Application->Cocoa Application
    5. Save app location to my user directory
    6. Hit "Build and Run"
    I haven't touched any code at all, yet I get the following error:
    Build TextApp of project TextApp with configuration Debug
    Ld build/Debug/TextApp.app/Contents/MacOS/TextApp normal x86_64
    cd "/Users/dan's/TextApp"
    setenv MACOSXDEPLOYMENTTARGET 10.6
    /Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/dan's/TextApp/build/Debug -F/Users/dan's/TextApp/build/Debug -filelist /Users/dan's/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86 _64/TextApp.LinkFileList -mmacosx-version-min=10.6 -framework Cocoa -o /Users/dan's/TextApp/build/Debug/TextApp.app/Contents/MacOS/TextApp
    ld: file not found: /Users/dans/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86_ 64/main.o /Users/dans/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86_ 64/TextAppAppDelegate.o
    collect2: ld returned 1 exit status
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Any suggestions? I'm completely new to this, so I have absolutely no clue what to do next. The error command seems to be looking in the "developer" directory, although the code is saved in my user directory.
    Any help would be greatly appreciated.
    Thank you.

    The /Developer directory contains the compiler(s) and various tools and libraries.
    Does your user account name really contain a single quote? If so, it looks like the quote is getting eaten by one of the build scripts, which is resulting in a file path that doesn't exist.

  • How to set up Open Gl Application in C   using Xcode

    i am trying to work for University Project in Xcode. Xcode always rocks my work but sometimes i probably unaware of its features i get problems like today i am having a problem in creating an application in C++ in which i have to use graphics. i dont know how to create and even setup an Open GL Applciation in Xcode 4.6 please need help.....

    If this is for iOS, have you reviewed the information here? Documentation, sample code, etc.  There is probably a similar page for OS X.
    iOS Dev Center - OpenGL ES Resources
    https://developer.apple.com/devcenter/ios/resources/opengl-es/

  • How do I use a precompiled dylib in my xcode project?

    Hello all you brainiacs out there!
    I want to use mongoDB as my database for my iPhone projects.
    I have compiled their code, with instructions from http://api.mongodb.org/c/current/building.html... successfully.
    I ran all the tests, successfully.
    I have two files, libmongoc.dylib and libbson.dylib generated.
    I have imported them into a brand-new xcode project, (build phases, link binary with libraries, hit '+' sign, add other and browse to these two files)
    I copied the .h files (bson.h and mongo.h) to my project.
    Can I now use the functions in my project as defined to connect, insert, delete.... etc.
    I am a noob at iPhone development (2 months) but I do know what I am doing... (I passed the 2  IOS 5 tests at brainbench.com scoring just under 4/5)
    Can someone walk thru the steps after loading in the dylibs and including the C headers?
    Regards,
    Dan

    Danny Bertrand wrote:
    Is there a list of specific things that you CAN'T do/have to sell on the Apple store?
    The App Store Review guidelines have such a list.
    But rather than focusing on what you can't do, you should focus instead on what you MUST do. One of those "must do" items is comply with any licensing agreements for code or resources you include with your app. It can be quite enlightening to ignore what people say about "open source" and "free software" and actually read those licenses say and research their history. It isn't Apple that is restricting you here . As a wise person once told me - "Follow the money". That will lead you from the Free Software Foundation to academic think tanks and writers right back to .. .some interesting places.
    Welcome to the world of Apple - everybody's bullseye.

  • Help with Xcode 3.2.6 with ios sdk 4.3: will not work...

    So I recenty upgraded my Mac to OS X Snow Leopard (10.6.8) and the xcode that came with it would not work effectively. I just downloaded xcode 3.2.6 with ios sdk 4.3 from Apple and installed them (after having to change the date to 2011). Xcode worked but opening the interface builder resulted in a blank window opening, not the actual interface builder. So then I tried to reinstall the .dmg file of xcode and ios sdk, which was again successful, but when I click on any of the applications it installs to open them I get an error. This is what happens when trying to open xcode:
    Process:         Xcode [4609]
    Path:            /Users/myname/Desktop/Xcode.app/Contents/MacOS/Xcode
    Identifier:      com.apple.Xcode
    Version:         ??? (???)
    Build Info:      DevToolsIDE-18070000~38
    Code Type:       X86 (Native)
    Parent Process:  launchd [92]
    Date/Time:       2012-07-21 23:18:17.358 -0400
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          3537 sec
    Crashes Since Last Report:           13
    Per-App Crashes Since Last Report:   13
    Anonymous UUID:                      F17937FB-B272-4B47-811F-333D66AB2B3B
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
      Referenced from: /Users/myname/Desktop/Xcode.app/Contents/MacOS/Xcode
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
    Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 1.83 GHz, 1 GB, SMC 1.4f12
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: FUJITSU MHY2120BH, 111.79 GB
    Parallel ATA Device: MATSHITACD-RW  CW-8221
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0217, 0x1d200000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2
    Can anyone please help me? Ps, I've changed the directory location to "myname" for security reasons;p so that is not the problem

    The error message is telling you that the linker is looking for the Xcode executable on your desktop and can't find it. Where did you install Xcode? The default location is in /Developer.
    It sounds like you have an outdated alias to Xcode on your desktop. Can you launch Xcode if you navigate to Xcode in the Finder and launch it from there?

  • How do I install  Xcode on a MacBook Pro running 10.7.9 (Lion?)

    I am a retired chap trying to help my grandson get into robotics. He wants to be able to write code to control an Arduino which in turn will control a number of solenoids. I used to design and build hardware and write control software (using Delphi O.O.) for space research equipment. I have  MacBook Pro running   OS X 10.7.9 and have access to an iMAC running OS X 10.6.8
    We want to use C++ (unless anyone can tell us why this might be a bad move) and I have been told I need to install XCode. I looked into it and as far as I can glean, I have to install XCode 4 to be compatible with my MacBook. I downloaded XCode 4.6.2 and ended up with two files, namely :
    xcode4620419895a.dmg
    xcode4620419895a.dmg.part
    and now I am stuck. Firstly, was that the correct version to download? If it is, how do I actually install the development environment from those two files? If I try to execute the disk image it tells me it is unrecognisable. If I try to execute the *.part document it asks me what application I should open it with. Any help/advice will be much appreciated

    Sorry it took me a while to come back. Anyway, I cleared out the old Xcode files and went into the Developers Download area and selected to download 4.6.3 and was presented with this window
    I clicked on Savefile and it downloaded. I was intrigued as to why this would work as it was exactly what I had done before. Out of interest I decided to issue the download again and this time it created a zero byte disk image and a "part" file of 1.6mB. I shall just have to put that behind me (accepting that I don't understand why one download should work and all the precious attempts should fail) and move on.
    Thank you for your help (it was my eyesight that caused me to think my OS version was 10.7.9 - it is indeed 10.7.5)

  • Help !! no output in xcode !!

    hello i just downloaded the OS X maverick and the new xcode 5 and when i open a c   project and write a simple code nothing appears on the output screen !!! , can anyone help me ??

    Working for me
    Are you sure you are creating a command line tool?

  • How to link dynamic library in the Xcode

    Hi all,
    I want to link the dynamic library which is installed in the directory "/usr/local/lib", but I don't know how to set the Xcode to use this library. When I compile the source code by linking the dynamic library, Xcode prints the error information:
    "Checking Dependencies
    Ld /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest normal i386
    cd /Users/apple/Desktop/test/SPETest/tdstest
    /Developer/usr/bin/gcc-4.0 -o /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest -L/Users/apple/Desktop/test/SPETest/tdstest/build/Release -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -L/usr/local/pcsc/lib -F/Users/apple/Desktop/test/SPETest/tdstest/build/Release -filelist /Users/apple/Desktop/test/SPETest/tdstest/build/tdstest.build/Release/tdstest.b uild/Objects-normal/i386/tdstest.LinkFileList -lpcsclite.1.0.0 -arch i386 -dynamiclib -mmacosx-version-min=10.5 /usr/local/lib -isysroot /Developer/SDKs/MacOSX10.5.sdk
    ld: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib, can't map file, errno=22
    collect2: ld returned 1 exit status"
    Any suggestion I will appreciate!

    Post to the Developer/SW Development forums under OS X Technologies.

  • I developed an application on xcode 4.2 which is not installing on ios 6.1.3. can any one solve my problem.

    I developed application on xcode 4.2. I prepared .ipa using enterprise distributuin provisional profile file. I am able to installing that application on iPad which is having iOS 5.0. but which is not installing on iOS6.1.3 .
    please provide the reasin why I am unable installing on iOS 6.1.3.
    The application which is developed on lower version Xcode will not install on coming iOS versions like iOS 6.0, 6.1.3, 7.0.?
    To install on latest version what should be the process?

    Unfortunately, I don't have an earlier copy on my computer, since I hadn't needed to use the podcast app until I finally went through all the episodes I had that were playable in music.
    Thanks for your reply, even though it's exactly the kind of answer I didn't want to hear. ;) How aggravating. Ugh.

  • Having a problem with noises and mouse jumping, tried to reinstall and computer will not allow me to select the correct install icon.  Sends me to xcode install

    my kids computer began acting up this spring...so I shut it down. 
    Would not stay turned off, various noises almost continually, jumping highlights, etc.
    Decided to reinstall os x snow leopard.  insert disc and icon appears.  then 3 icons with x in a column.
    automatically highlights middle icon and will not allow me to select one above.  Says install xcode.
    not what i want to do. 
    any help?

    What model iMac do you have?
    What version of Mac OS is it running? If you don't know, try to give approximations on when it was set up and whether it was ever updated so we can take our best guess.
    How are you trying to boot from the install disc? Your description of 3 icons with x in a column' leads me to believe that you aren't booting from the install disc, but rather you are inserting the disc after booting from the OS that is installed on the hard drive. If that is what is happening you'll see something like this, although it will vary depending on the actual version of the Install Disc that you have and how you've chosen to view the files (icon, list, column, etc).
    What happens if you restart the system with the Install Disc inserted, then quickly hold down the 'c' key so that the system attempts to boot from the Install Disc. Do you still experience the same issue?

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • DVI to HDMI via adapter: video hiccups

    I have a 13" MacBook (Late 2007). I connected a Belkin mini-DVI-to-HDMI cable to it, which I plugged into my Sony 32" LCD TV.
    When I play back TV shows that I have purchased in iTunes, the video hiccups -- that is, pauses for a fraction of a second -- every few seconds.
    In System Preferences, I tried turning on Video Mirroring, thinking that it might ease the CPU load on the MacBook if it were just dealing with one image. No change. I also tried bumping down the resolution for the TV (again, in System Preferences), and a few other tweaks, but nothing I did made the hiccups go away.
    I know it's not a brand new machine, but geez... you'd think that 2 x 2GHz would be fast enough to play back the videos that Apple sells me.
    Any suggestions?
    Thanks,
    DM

    Okay, after further research, I discovered that when I changed the resolution from 1600 x 900 (which Leopard defaulted to when I connected the TV) to 1920 x 1080, a new refresh rate option appeared: 24.0 Hertz. Choosing that rate seems to have solved the hiccup problem -- for the most part. I still notice one every now and then, but they are very slight compared to the ones I was getting before.

Maybe you are looking for

  • How can I change the Apple ID on a device?

    I have two cell phones, one for my wife and one for me, and an Ipad. Somehow I ended up paying for ICloud back up twice because one phone is under a different apple ID. I want to change the apple ID on that phone so it can have the same Icloud backup

  • My debit card is no longer working with my iTunes account

    I use a debit card for my account. I can't spend what I don't have. Even if I'm 2 cents short of the app's price, iTunes will have a pop-up saying the purchase cannot be completed. This has saved me many times before, and because of this I can only b

  • Delivery Number and EKBE table

    I have  a requirement to find out and print Delivery number all I have is PO number. and I was told that In EKBE if the PO history cat is "L" then fetch the Delivery Number. My question is from which table and which field i need to pull if the PO his

  • Problems downloading photos on my ipad

    Why when l downlowd  pictures from my cam inmy ipad its came up blank?

  • Deskjet 2542 all in one error: 'the specified module could not be found' when installing to USB

    Installation proceeds OK until the USB cable is connected, when the error message is displayed and installation ceases. I have successfully istalled and run the printer on another XP PC of a similar age - ie old. I have upgraded the XP OS to SP3 with