mac

How can I create an animated .gif from a movie?

How can I create an animated .gif file from a movie I have? I guess it is pretty simple in objective-C and cocoa, by using the QTKit, to extract images from a movie, now how can I glue them together as an animated gif? ...

How to Install rpy2 on Mac OS X

Hi everyone, I am trying, so far unsuccessfully, at installing the rpy2 for python on my Mac OSX. I have tried Macports and DarwinPorts but have had no luck with import rpy2 within the python shell environment. I don't know much about programming in Mac and I am a wiz at installing modules on a Windoze based system, but for the life of...

I want to make iphone apps but do i really need to learn objective c ?

I want to make iphone apps but do i really need to learn objective c ? I love Languages like Ruby, Python and PHP. Is it really worth me spending my time learning objective c ( i understand i have to learn c first)? Any advice, help, tips tricks would be greatly appreciated. Thank you in advance ;-) ...

When distributing an executable for MacOSX how do I know which versions it will work on? Are there any special build steps for release?

I just built my program for MacOSX using GCC i.e. (gcc main.c). Are there any special build steps I should go through before I distribute the executable, or will it automatically work on all Intel MacOSX systems? ...

can not find protocol NSApplicationDelegate

Hello everyone As I know, NSApplicationDelegate is available in SDK for 10.6 Is there any similar protocol as NSApplicationDelegate for ealier version(mine is 10.5.8)? Thank interdev ...

Use files from /usr/local/share inside OS X app bundle.

I'm writing Qt application using some 3rd party library. I want to package it into a bundle. I'm using macdeployqt and this tool is actually copying not only Qt Frameworks but also 3rd party library into Frameworks subdir of Contents dir inside app bundle. The problem is that this 3rd party library need some additional file to work pr...

Find the name of Directory Service User via Login Script in Perl

Hi Friends, I made a login script in Perl which has to run on Mac OS X clients and record the Logged in Directory Service user name. I tried using getlogin() , getpwuid($<) respectively. Now the problem is that since the login script runs as root on the system when the client logs in, getpwuid($<) always gives me the username as root....

Use Half of QCView

I feel like this should be a simple issue, but I can't figure it out. I have a QCView in my app. When I display it normally, it looks like this: QCView. But, I only want to see the top half of it, because on the bottom half I want to see what is on the NSView under it. When I try to do this, I get this: QCView Half. How can I get it to ...

How to update Ruby to 1.9.x on Mac?

I have created a new user account on my mac and I am trying to update to the current version of ruby on it (1.9.2) from the snow leopard default of 1.8.7. Can somebody point me to tutorial or explain the best method to update Ruby on my mac from 1.8 to 1.9.2? Thanks ...

Mac web sharing: default directory listing name length

I'm sharing a folder over the web using Mac's Web Sharing. Some file names are long and they are concatenated. How do I change the default directory name listing length on a Mac? ...

how to create XML Editor for MAC?

I need to build a XML EDITOR for MAC? Can anybody help me in this regard? How should I proceed? Thanx... ...

/usr/local/lib/libz.1.dylib, file was built for i386 which is not the architecture being linked (x86_64)

Hi, having this problem on installing several things on my mac, i think this problem is coming from upgrading my leopard to snow leopard. Also this problem also is linked with macports i think. /usr/local/lib/libz.1.dylib, file was built for i386 which is not the architecture being linked (x86_64) Any ideas? Update To be more speci...

new job choice of mac book pro or thinkpad 500

I'm going to work as java developer backend web developer at my new company. They have very generously given me the option of a mac book pro or a wintel machine. I'm a windows / ubuntu guy and havent really played with Mac OS at before. I'm kinda curious what you guys might recomend ? Obv there will be a slight learning curve with the M...

How to offer uninstall of a web browser plugin on the Mac?

We have a browser plugin that has recently been ported to the Mac. During early testing, some customers experienced problems with it and wanted to uninstall. The procedure we had to give them was "Browse to /Library/Internet Plug-Ins in Finder and trash the bundle.". Obviously this is not a workable approach for non-technical users. H...

Testing a web app for macs - is IPad ok?

Hello, Many of my clients use Macs and I'm getting weekly emails about bugs in my web-app software that are Mac only issues. I have a limited budget so I'm hesitating going out any buying a $1,200 Mac for testing. Would an iPad work? Or would that not be the same kind of browser rendering as a Mac Book? thanks! ...

Audio Encoding: AAC files without the 1/10 second silence at the end of the track

Hi, I'm a little confused with an issue that I keep running into. I'm trying to create some sound loops for continuously playing, seamless background music.. everything's fine as long as I stay in AAC/ WAV/ etc, but as soon as I encode the files in AAC I run into a 1/10 of a second at end of the sound file. I'm on the Mac, so I've trie...

How do I find out how macPorts stole my port:80?

I had MAMP installed (and working fine) then I tried to install mongoDB through macPorts. macports then began installing a bunch of dependencies. after that, http://localhost started giving an "It Works!" screen. after rebooting to see if it might fix it, I found that I could not start my MAMP server. console said this: 9/13/10 1:20:54 ...

ld: symbol(s) not found when linking

I am trying to compile "Loch" without any success on my Mac OSX 10.6. I always get some "symbol(s) not found when compiling" error. Anyone an idea what could be the problem? Thanks a lot c++ -o loch -Wall getline.o lxTR.o lxOGLFT.o lxSetup.o lxRender.o lxWX.o lxImgIO.o lxLRUD.o lxFile.o lxSTree.o lxData.o lxMath.o lxSView.o lxSScene.o ...

Cocoa animations using CATransition in a single view

I want to use CATransition to provide a fading animation between different states of a view. However, this doesn't seem to work with a single view (all examples I found use CATransition to switch between different views). In contrast, a CABasicAnimation works just fine. My example code shows what I'm doing. I have a custom view (TTVi...

Prevent an instance of NSView from receiving mouse events

Hi, I have an NSView in a window with core animation layer turned on. I use this view to display images with animation from time to time. I need the entire view to be the back layer not only the images. Behind this view which I call AnimationBaseView are other views which the user interacts to. Everything is ok except the AnimationBase...