-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a program in Objective-C (XCode 3.2, on Snow Leopard) that is capable of either selectively blocking certain sites for a duration or only allow certain sites (and thus block all others) for a duration. The reasoning behind this program is rather simple. I tend to get distracted when I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I made an Objective-C project for the iPhone. I had only one cpp class, the soundEngine taken from some Apple demo. Now I'm trying to merge OpenFeint which is coded in Objective-C++. As soon as I drop in the code without even referring to it from my code, when I hit Build, my Objective-C code…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Does anyone know of a way to add additional attribute types to the @property keyword without modifying the compiler? Or can anyone think of another way to genericize getter/setter creation?
Basically, I have a lot of cases in a recent project where it's handy for objects to lazily instantiate their…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What's the ObjectiveC syntax for specifying a protocol as an argument in a method?
Say I have 2 protocols, MyProtocol and MyProtocolCB:
@protocol MyProtocolCB <NSObject>
- (void) func;
@end
@protocol MyProtocol <NSObject>
- (void) register:(MyProtocolCB*) cb;
@end
I'm receiving this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am developing an iPhone application and I use HTML to display formatted text.
I often display the same webpage, but with a different content. I would like to use a template HTML file, and then fill it with my diffent values.
I wonder if ObjectiveC has a template system similar to ERB in Ruby.
That…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hi,
I was using MacOSX 10.5 on my MacBook until today and I had 4GB of memory there.
Now I have updated to MacOSX 10.6 and it only displays 3GB.
Why is that? How can I fix it?
Also, I am a bit wondering why most people (well, most of the Google hits explained the 3GB issue that way -- leaving…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi everyone,
I want to upgrade my php version running on MAMP to 5.3.
I've copied the ./configure statement from phpinfo() and downloaded the 5.3 branch source i wish to compile.
However, when i try to compile it i get an error about a missing config_vars.mk file from apxs.
How can i solve this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I get this error while trying to compile Asterisk 1.6.2 on Snow Leopard Server :
ld: symbol dyld_stub_binding_helper not defined
(usually in crt1.o/dylib1.o/bundle1.o)
Googling this I’ve found nothing enlightening so far.
This is what I am trying:
./configure --without-h323 --without-zaptel…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
OK so I have # -*- coding: utf-8 -*- at the top of my script and it worked for being able to pull data from the database that had funny chars(Ñ ,Õ,é,—,–,’,…) in it and store that data into variables...but I have run into other problems, see I pull my data, organize it, and then dump it into a variables…
>>> More
-
as seen on Super User
- Search for 'Super User'
I am trying to install a Python library in the Presto package, source http://www.cv.nrao.edu/~sransom/presto/
Using 'gmake fftfit' I get the following error:
cd fftfit_src ; f2py-2.7 -c fftfit.pyf *.f
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands…
>>> More