On Feb 11, 2015, at 9:56 PM, Roland King r...@rols.org wrote:
On 12 Feb 2015, at 13:36, N!K pu56ucl...@alumni.purdue.edu wrote:
Control-clicking the button in .xib does show the outlet panel but it does
not list an IBAction, so it cannot connect to the IBAction entered into the
On Feb 13, 2015, at 8:42 AM, David Duncan david.dun...@apple.com wrote:
Since you elided your header file, this begs a question – is this iOS or OS X?
This is OSX.
I was following Apple’s example, which control-drags from a button to the .m
file. The .h file isn’t used. I supplied the
On Feb 13, 2015, at 6:49 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 12 Feb 2015, at 06:36, N!K pu56ucl...@alumni.purdue.edu wrote:
Control-clicking the button in .xib does show the outlet panel but it does
not list an IBAction, so it cannot connect to the IBAction entered into
It was left checked. Please see my reply to Dave Duncan.
Nick
On Feb 13, 2015, at 9:16 AM, Kyle Sluder k...@ksluder.com wrote:
On Fri, Feb 13, 2015, at 10:42 AM, David Duncan wrote:
Since you elided your header file, this begs a question – is this iOS or
OS X?
If I’m not mistaken,
Release the Control-drag. The assistant editor displays a Connection menu.
In this menu, type the name of the action method (chooseWarrior in the
screenshot below), and click Connect.
[picture shows a menu with space to enter name of action]
This is for adding a new outlet/action. I
On 12 Feb 2015, at 06:36, N!K pu56ucl...@alumni.purdue.edu wrote:
Control-clicking the button in .xib does show the outlet panel but it does
not list an IBAction, so it cannot connect to the IBAction entered into the
MyView.h and .m files. Also, control-dragging from the button to MyView (in
Since you elided your header file, this begs a question – is this iOS or OS X?
If I’m not mistaken, subclasses of NSView do not get -initWithCoder:, but
rather -initWithFrame:, which begs the question of have you confirmed that your
-initWithCoder: method is being called?
On Feb 6, 2015, at
On Fri, Feb 13, 2015, at 10:42 AM, David Duncan wrote:
Since you elided your header file, this begs a question – is this iOS or
OS X?
If I’m not mistaken, subclasses of NSView do not get -initWithCoder:, but
rather -initWithFrame:, which begs the question of have you confirmed
that your
On 14 Feb 2015, at 01:16, Kyle Sluder k...@ksluder.com wrote:
On Fri, Feb 13, 2015, at 10:42 AM, David Duncan wrote:
Since you elided your header file, this begs a question – is this iOS or
OS X?
If I’m not mistaken, subclasses of NSView do not get -initWithCoder:, but
rather
Control-clicking the button in .xib does show the outlet panel but it does not
list an IBAction, so it cannot connect to the IBAction entered into the
MyView.h and .m files. Also, control-dragging from the button to MyView (in
.xib, not in editor) sets up the position constraints.
On 12 Feb 2015, at 13:36, N!K pu56ucl...@alumni.purdue.edu wrote:
Control-clicking the button in .xib does show the outlet panel but it does
not list an IBAction, so it cannot connect to the IBAction entered into the
MyView.h and .m files. Also, control-dragging from the button to MyView
So quick to discount Stack Overflow. What they’re suggesting is simply how to
create a new object and define a new outlet on it that points to an object in a
quick way. Seems like a perfectly good answer to a problem to me, and my guess
is the OP might not have quite matched it up to the right
I would like to connect a button to MyView class, but Xcode 6.1.1 only allows
control-dragging a button to AppDelegate to create an IBAction. I have not
encountered this previously. Looking for a workaround, I found this
recommendation in a couple of Stack Overflow and other web pages as well
I have no idea what stackoverflow is suggesting here but it looks entirely
wrong as usual for that junky site. You're just creating a standalone I
referenced object.
Right click your view in IB then wait a second and right click it again. I
think it's right clicks. You will then get the
14 matches
Mail list logo