Recent content by szymczyk

  1. S

    weird purple, mirrored, shadow reflections in Xcode's xib editor

    I don't have an answer for you on that problem. You're going to have a better chance getting an answer on Stack Overflow.
  2. S

    weird purple, mirrored, shadow reflections in Xcode's xib editor

    I can recreate the shadows you're seeing in the screenshot if I enable the Core Animation layer for the tab view. If you're not using Core Animation, you can turn off the Core Animation layer for the tab view, and the problem should go away. On the right side of your screenshot, there are eight...
  3. S

    Using a Python source code

    A relatively easy option is to download the text editor TextWrangler and open the python files there. You can run python scripts from TextWrangler using the #! (shebang) menu.
  4. S

    [Newbie !] Low level graphical functions

    Mac applications generally use OpenGL for low-level graphics drawing. You should also take a look at Core Graphics and Quartz, which are Apple graphics technologies. You can read Apple's developer documentation at developer.apple.com. If you have installed Xcode, you can read the documentation...
  5. S

    Hello! Help me with texture loading?

    Some suggestions/questions: Set a breakpoint on the first line of code (the call to imageNamed: ) and step through the code in the debugger. Stepping through the code should help you pinpoint the problem. Check the results of your calls to imageNamed: and initWithFocusedViewRect: to make...
  6. S

    C++(CPP) Vs. Cocoa

    Cocoa is a framework for building Mac applications. Cocoa Touch is a framework for making iPhone applications. Cocoa and Cocoa Touch have similarities, but are not identical. If you want to make iPhone applications, learn Objective-C and Cocoa Touch. Learning C++ isn't going to help you make...
  7. S

    Basic question about RELEASE in Obj-C

    Every Objective-C object has a retain count. The release command reduces the object's retain count by 1. When the retain count goes down to 0, the object is not available anymore. Unless there was a retain command (or some other command that increases the object's retain count) before the...
  8. S

    Use .java source to create new project

    Create the project then add the files to the project. Creating a project in Xcode 3.2 (the one that ships with Snow Leopard) Open the Organizer by choosing Window > Organizer. Click the + button at the bottom of the Organizer. Choose New From Template > Java Templates. If you're...
  9. S

    Using an external API in my xcode project (newbie)

    DLLs will not work on Mac OS X. You will first need a Mac dynamic library. If the hardware vendor does not provide a Mac dynamic library or framework, you will have to create it yourself. The vendor may provide a makefile to build the library from source. If they don't, you will have to create a...
  10. S

    No Universal?

    Three things to check: Make sure you clicked Universal 32/bit for the Release build configuration. Make sure the Build Active Architecture Only build setting is turned off. Make sure the active build configuration is Release. If you still can't build a universal binary, someone else...
  11. S

    No Universal?

    You haven't said what version of Xcode you're using. In the Architectures build setting in Xcode 3.1, there is a pop-up button in the Value column. Click the button and choose Standard (32-bit Universal). That should be all you have to do to build a universal binary.
  12. S

    No Universal?

    Make sure you're building the Release version of your project. Xcode doesn't build universal binaries with the Debug build configuration.
  13. S

    c++ compiler problems

    You have three options. Write your code in TextMate and compile from the Terminal. Create an Xcode project (C++ Tool in your case) and use TextMate to write the code and build the project. TextMate can build Xcode projects. You could run your program from Xcode or the Terminal. Do...
  14. S

    c++ compiler problems

    Yes, you can run the executable from the Terminal. When I was typing my first response, I wasn't 100% sure what you had to type to run the program for the Terminal (I don't run a lot of programs from the Terminal) so I mentioned the double-clicking from the Finder to avoid giving you wrong...
  15. S

    c++ compiler problems

    When you enter the following command: g++ filename.cpp All you're doing is compiling the file into an object file. You're not building an executable that you can run and view the output. Use the -o option with gcc to build an executable. g++ -o HelloWorld filename.cpp Now you'll have...
Back
Top