Is there a good overview of initWithNibName, awakeFromNib and viewDidLoad that lays out the best way to use each of these and describes exactly what each does? I find these very confusing. In the template that's generated with a View Controller, the comment about initWithNibName says: "The designated initializer. Override to perform se...
I tried to install XCode + the iPhone SDK on my mac, but the installer ran out of space during install and I'm left with something to the effect of 30 MB free on my hard disk. How do i remove it?
...
I would like to find the number of cpu sockets on OS X machines. This information is normally in the SMBIOS on pc's. Newer Intel Macs use EFI but I have read that the EFI does also contain an SMBIOS block.
I therefore appear to need access to the SMBIOS data block on power pc machines, and the EFI, SMBIOS section on Intel macs. Any sug...
I want to read some ruby code. And I think this is the good place to start dig in. But I cant find it.
...
Hi,
Our company has a handful of Mac users. I recently built a Winform application and now my main user is using a Mac. Is it possible to run this application on a Mac? What would have to be done to convert it? If it is too much, I may just rebuild it is asp.net as a web application.
Thanks in advance!
JCC
...
We recently made the switch to CS4 on a Mac from CS3 on Windows. Now we are having issues getting our flash movies to load. We get the "Movie not loaded.." error. We are using swfobject. The same Flash file worked fine prior to editing with CS4 on the Mac.
...
Hey guys. I added a box-shadow to a section of a page recently to give it the same shadow border effect that is seen on Mac OS X apps. It looked great, but I noticed that scrolling up and down on the page made it lag. I usually only see this on pages that have annoying background images and tons of images and embedded videos plastered al...
I'm playing with the socket layer in my cross platform framework and I'm trying to get the connect's to work in a non-blocking fashion. However after pouring over the docs they just don't seem to be behaving correctly at all. The heart of the problem is that after initiating a non-blocking connect the following select failes to notice th...
I want to develop a Safari plugin using xCode, and I want to access bookmarks. What API should I use?
And, since I'm asking, are there any tutorials out there for plugin dev under Safari?
...
There are a few tutorials online (For example) having to do with configuring emacs to work with XCode, but they all seem to be for old versions, and I haven't found one that ties neatly to XCode 3.x + Emacs 23.1 in a way that I can unpack.
So, I'm running XCode 3.1.2 and the Mac Cocoa application build of Emacs 23.1. I have a passing f...
What tools do you use to write ActionScript on the Mac?
Preferably opensource or free...
...
Hi Everyone!
I have .wav files that have been stored in a central database. I need to play them in Mac C++ code. The .wav files have lots of different formats - some of them are quite old - for example 4bit.
I got code using AudioHardware interfaces to work for the main formats. But, these work only if the sample rate in the .wav...
On my WinXP, everything just work fine. But when testing on a Mac OS X, the loadComplete event never fire. Please help !
...
Im completely new to Bash scripting but I've been told, with little help, to create a file that compresses textures into PVR format only if the file has been modified since the last time the script was run. Heres the code I have so far:
# variables
TEXTURE_TOOL=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool
INPUT...
I am mostly interested in developing for windows (primary) and a mac.
I have a normal PC and a mac mini, and I want to be able to use a single keyboard, mouse and a monitor with both.
Which kvm software do you recommend?
I was looking for hardware kvms but I am using a 30" lcd which is only supported by 1 belkin kvm and people report ...
Since I've started on iPhone development I've been kinda confused as to which is the best way to access data as a member in a Class.
Let's say I have a class called MyClass, and in it I have:
@interface MyClass : NSObject {
int myInt;
}
@property (nonatomic, assign) int myInt;
In the implementation, is it better to do this:
myO...
Would like to understand how to build a tool like the mac os dash board widget (web clip). Am looking at trying to build it with webkit but not sure if thats the right way to go.
Some thoughts were to using webkit and some DOM to display only the viewport that a user requests.
While this works so well on mac os, am trying to build it...
Okay. I want to learn how to assemble programs on my Mac (Early 2009 MBP, Intel Core 2 Duo). So far, I understand only that Assembly languages are comprised of direct one-to-one mnemonics for CPU instructions. After some Googling, I've seen a lot of terms, mostly "x86" and "x86_64". I've also seen MASM, NASM, and GAS, among others.
Corr...
Hi all, I compiled Emacs 23 on OS X Leopard and I am loving it. But one thing I noticed when I switched from Aquamancs is that I am no longer able to access my environment variables that I specify in my .bash_profile file. For instance, I have a line:
export WORK=/Users/myname/Documents/otherpaths/Work
So to open files I can type in t...
Reference this question about compiling. I don't understand how my program for Mac can use the right -arch, compile with those -arch flags, the -arch flags be for the system I am on (a ppc64 g5), and still produce the wrong object code.
Also, if I used a cross compiler and was on Linux, produced 10.5 code for mac, how would this be any...