-
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 Stack Overflow
- Search for 'Stack Overflow'
Now I got this gridview, And I need the headers to be clickable, whereafter an event starts (something like OnClickHeader="header_ClickEvent"?) Ofcourse there is a SortExpression element, which enables to sort the grid, but I want to be able to start any event, like when clicking a button.
I could…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Goal:
Create a menu widget that does not require any javascript, extremely lightweight, very fast, soley based on CSS, compatible with FireFox and Chrome.
Issues:
May have some rendering issues in some versions of IE, sorry :-)
Instruments:
css file
html with specific menu format
…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello,
I use Exim on a Centos distribution and have some problems with the mail sending.
In order to make all the email pass the spam filters the "Return-path" and "Sender" headers have to be attached to each email.
What should I do in order to have "Return-path" and "Sender" headers added
by…
>>> More
-
as seen on Super User
- Search for 'Super User'
I am trying to communicate between two laptop machines using Wifi. The structure of the radiotap header and ieee80211 header I am using is:
struct ieee80211_radiotap_header {
unsigned char it_version;
uint16_t it_len;
uint32_t it_present;
};
/* Structure for 80211 header */
struct ieee80211_hdr_3addr…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an ASP.NET GridView which has columns that look like this:
| Foo | Bar | Total1 | Total2 | Total3 |
Is it possible to create a header on two rows that looks like this?
| | Totals |
| Foo | Bar | 1 | 2 | 3 |
The data in each row will remain unchanged as this is just to…
>>> More