I'm familiar with sizeWithFont: for the iPhone. Now I'm trying to build an app for the Mac and need something like that, but I don't know how to do it :/
Here's why I need it: I've got a panel that displays some text, and I want to size it so that it just fits the content (a NSTextView). How would you do it?
...
In what language can I write a quick program to take screenshots and also possibly emulate a keypress?
I have an animated/interactive flash movie that is a presentation. I want to take a screenshot after I press a particular key.
The end effect is a bunch of screenshots that I can print...basically captures the key moments in the flas...
I currently use visual studio 2008 for creating projects that can run on windows. Can you recommend me of other tools that can be used to develop applications for other operating systems?(Linux, Mac, Solaris)
The most prominent programming languages will do(C++, C#, F#)
And scripting languages(PHP, Perl, etc)
...
I have till now mainly concentrated on web programming thus far and now want to enter application programming space. I use a mac, and wanted to know what sort of compilers, IDEs etc people generally use for c++ dev.
extremely n00b
One more thing immensely bothering me was the fact that c++ compilers generally output .exe which cant be ...
Hi,
I'd like to create a mail (on a Mac with Mac OS X 10.5 and up) that has some text, then an image, then some more text, maybe another image, and maybe some more text...
I understand that with the Scripting Bridge, I can add attachments to eMails, but they're always at the end of the Mail.
Any idea how to get started here? Maybe use...
I'm looking for a way to bundle JavaFX applications similarly to the way I can bundle Java applications using Jar Bundler? I really would like to have a custom icon for my program(and the ability to pin it to the Dock). Is there a way to do this now, or do I have to wait for JavaFX to mature in the Java market?
...
How would you record the keystrokes in view and set them to the NSUserdefaults because every key has a numeric value and there are also modifier keys…how would u do this
Thanks
...
I have put the libcl.3.3.dylib in /usr/lib folder and all the compilation and linking are done. However, i received a failure of CRYPT_ERROR_PARAM1 in CryptInit function. I get the libcl.3.3.dylib from "port install cryptlib" and copy them to "/usr/lib".
It seems unusual for the cryptInit function to fail... hope you guys can help....T...
I'm using virtualenv-1.4.5 on Mac OS X 10.6.2 (Xcode is installed) and Python 2.6. Here's what I get when I attempt to run a virtualenv...
Mac-Pro:pylonsdev paul$ virtualenv --no-site-packages -v trythis
Creating trythis/lib/python2.6
Symlinking Python bootstrap modules
Symlinking trythis/lib/python2.6/_abcoll.pyc
Symlinking trythi...
I'd like to have an NSArray or NSMutableArray that always shows a filtered view of a data set. That is, if the filter is set to "show me things with the letter a", and an item "blah" is added, that item would automatically show up in the list. However, if "bluh" were added, it would not show up in the filtered list (but would still reall...
hi
i'm writing a javafx applet. in the page i use javascript function to change some applet properties.
when i try this applet on windows or solaris or linux it works fine.
when i open the same page on mac os x it diplay an error message live app.script not found.
any ideas?
...
i'm not certain i'll find an answer but i'd thought this would make for a good brain teaser and or be an enlightening experience or disappointment lol... basically, i need to bat an idea around...
Can i write a function for an asp page that will query my Mac OS X server while using its Spotlight feature?
when you're using a Mac to sear...
I am using the silverlight (v3.5) calendar control in my web application. The first day of the week in this calendar control is set to Monday.
On PCs the calendar control the Day labels above the dates are working perfectly.
On Mac computers, the calendar control displays the dates correctly, but the day labels above the dates are alwa...
Hi I just read your post http://stackoverflow.com/questions/1953888/bluetooth-connect-to-a-rs232-adapter-in-android and I think you probably can help me figure out my little problem.
I have this BT module connected to a MCU via serial port UART. Im trying to connect to the bluetooth via my android phone. I managed to use my app and scan...
How do i compile and run a program in java on my mac?
i'm new.
also i downloaded a program that was sugested to me on here called text wrangler if that has any baring on the situation.
...
I have a 32-bit NSBitmapImageRep which has an alpha channel with essentially 1-bit values (the pixels are either on or off).
I want to save this bitmap to an 8-bit PNG file with transparency. If I use the -representationUsingType:properties: method of NSBitmapImageRep and pass in NSPNGFileType, a 32-bit PNG is created, which is not what...
I want to auto resize table column to its content width when double clicking its header (resize cursor is showing), like on iTunes.
Anyone know how to do it ?
Thanks in advance
...
I want to access Audio and video into my program. Is it possible to do in MAC.
Our Program is working on Windows here i did audio/video programming using directshow. but i want to develop same in MAC.
Is there any package same like directshow. Please give some valuable tips.
...
I'm writing an application for Mac OS X 10.6 and later in C++. One part of the application needs to simulate mouse movement and mouse clicks. I do this currently by posting CGEvent objects using CGEventPost(kCGHIDEventTap, event);.
This works, for the most part - I can simulate mouse movement and clicks just fine, but it seems to fail i...
I have installed Eclipse 3.5.2 and the plugin Subversion JavaHL Native Library Adapter 1.6.9.2 and this worked without any problems. However, this morning I was forced to change the password to logon to my Mac and since then I get the message that "Subversion native library not available" when I try to save any changes. Can anyone help? ...