Andreas,
Also, in the modern runtime, you'll need to add the @synthesize to the
implementation file as well, if you don't declare the backing ivar in the
header.
Thanks,
Jamie
On Nov 2, 2011, at 10:51 AM, Jamie Pinkham wrote:
> Andreas,
>
> It most certainly indicates a
10:30 AM, Andreas Grosam wrote:
>
> On Nov 2, 2011, at 1:33 PM, Jamie Pinkham wrote:
>
>> Automatic property generation doesn't support the semantics you need.
>>
>> You are correct that you have to use the dispatch_retain() and
>> dispatch_release() functions;
Bruno,
> @property (nonatomic, retain) dispatch_queue_t *dispatchQueue;
Let's assume for a second that this worked. Since dispatch_queue_t is already
typedef'd as a pointer "typedef struct dispatch_queue_s *dispatch_queue_t;".
You've declared the property as a pointer to a pointer, which mea
Automatic property generation doesn't support the semantics you need.
You are correct that you have to use the dispatch_retain() and
dispatch_release() functions; you just have write your setter and getter
manually, using those functions.
-Jamie
Sent from my iPhone
On Nov 2, 2011, at 7:52 A
Fair point, Graham.
I'm always wary of timers because careless use of them can cause problems like
retain cycles.
Sent from my iPhone
On Sep 29, 2011, at 9:35 PM, Graham Cox wrote:
>
> On 30/09/2011, at 11:25 AM, Gordon Apple wrote:
>
>> Much easier than trying to manage timers.
>
>
> I
Forgot to send to list:
> Perhaps, instead of timers, you use objects that represent one of these
> set-top boxes and the time at which they should be shutdown. And instead of
> scheduling and managing timer, you manage the domain objects instead. Then,
> you have one timer, that checks all o
The NSWindow delegate's type is id not id
. This is the compiler telling you the types don't match.
Sent from my iPhone
On Sep 29, 2011, at 6:22 PM, Koen van der Drift
wrote:
> I'm trying to get the delegate of a window that is controlled by a custom
> NSWindowController as follows:
>
I've made the mistake of having to same named nib files in my project, and it
caused weird behavior. It's pretty easy to overlook, too.
However, in my case, the nib would load correctly every other time I ran the
app.
On Sep 23, 2011, at 8:52 PM, G S wrote:
> Hi all.
>
> I have a pretty simp
at 11:47 , Jamie Pinkham wrote:
>
>> If your use case permits, you can figure out the frame of the bar button
>> item in it's action selector by giving the selector the following signature:
>>
>> - (void)barButtonAction:(UIBarButtonItem *)item event:(UIEvent
If your use case permits, you can figure out the frame of the bar button item
in it's action selector by giving the selector the following signature:
- (void)barButtonAction:(UIBarButtonItem *)item event:(UIEvent *)event;
You can then use the properties of UIEvent to get the touches location, or
Greg,
The beauty in REST is its simplicity. It's simply a request to a web
server. Just like requesting a page. The response is representation
of the data requested, in a specific format (XML, json, etc) Hence,
Representational State Transfer :). If you're looking into
interoperating
whoops.. should reply to all.. sorry Joe.
anyway, i asked, and this may be a silly inquiry, but have you checked
the execute permissions of the executable?
On Oct 2, 2008, at 10:06 AM, Joe Keenan wrote:
On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:
On Thu, Oct 2, 2008 at 9:20 AM, Joe
12 matches
Mail list logo