Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Cocoa... custom class executes own method....? Help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mystic_fm" data-source="post: 789858" data-attributes="member: 28538"><p>Yes, either that, or he can remove the (id)sender parameter from the function declaration and then keep calling it the way he already is. Since the method is in both the same class and instance, I would guess that he probably doesn't actually need that parameter; he might have had the parameter as a leftover from the method originally being created as an IBAction, or something along those lines.</p></blockquote><p></p>
[QUOTE="mystic_fm, post: 789858, member: 28538"] Yes, either that, or he can remove the (id)sender parameter from the function declaration and then keep calling it the way he already is. Since the method is in both the same class and instance, I would guess that he probably doesn't actually need that parameter; he might have had the parameter as a leftover from the method originally being created as an IBAction, or something along those lines. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Cocoa... custom class executes own method....? Help
Top