FROM : Eric Blanpied
DATE : Thu Jul 20 20:07:28 2006
That was exactly it. Thanks a ton.
-e
On Jul 20, 2006, at 10:43 am, James Bucanek wrote:
> You're probably running into the subtleties of Cocoa message
> naming. This one trips me up at least once a week:
>
> @selector(myMethod) is the selector for - (void)myMethod;
>
> @selector(myMethod:) is the selector for - (void)myMethod:(id)
> param;
>
> Note the colon. It's important.
DATE : Thu Jul 20 20:07:28 2006
That was exactly it. Thanks a ton.
-e
On Jul 20, 2006, at 10:43 am, James Bucanek wrote:
> You're probably running into the subtleties of Cocoa message
> naming. This one trips me up at least once a week:
>
> @selector(myMethod) is the selector for - (void)myMethod;
>
> @selector(myMethod:) is the selector for - (void)myMethod:(id)
> param;
>
> Note the colon. It's important.
| Related mails | Author | Date |
|---|---|---|
| Eric Blanpied | Jul 20, 16:04 | |
| Buddy Kurz | Jul 20, 16:40 | |
| James Bucanek | Jul 20, 16:43 | |
| Sean McBride | Jul 20, 17:44 | |
| Eric Blanpied | Jul 20, 20:07 |






Cocoa mail archive

