Thanks Kyle - looks just the job.
--Graham
On 10 Apr 2014, at 3:57 pm, Kyle Sluder k...@ksluder.com wrote:
(Sent from the road)
On Apr 9, 2014, at 10:17 PM, Graham Cox graham@bigpond.com wrote:
Hi all,
Does anyone have a handy guide or pointer to the relevant docs which show
when all you have is a rocket launcher, every problem looks like rocket bait.
--
On 9 Apr, 2014, at 0:52, Maxthon Chan xcvi...@me.com wrote:
LOL
I actually used cramfs once in a game carried the rules database. The rules
are so complicated so I tried to make it smaller without
On 10 Apr 2014, at 3:57 pm, Kyle Sluder k...@ksluder.com wrote:
Try my button tester: https://github.com/kylesluder/ButtonTester
It's definitely very helpful, but there's something I don't understand. Why
does the state toggle between on and off on each click, even for basic
pushbuttons? Is
On Apr 10, 2014, at 12:19 AM, Graham Cox graham@bigpond.com wrote:
It's definitely very helpful, but there's something I don't understand. Why
does the state toggle between on and off on each click, even for basic
pushbuttons? Is that normal?
Yup. Push buttons normally don’t show
On 10 Apr 2014, at 5:22 pm, Kyle Sluder k...@ksluder.com wrote:
Yup. Push buttons normally don’t show state, so you never notice it.
OK, learned something after all this time. It's also why I was having trouble
making my custom cell work - it wants to use state but was drawing in the
Hi,
I was confused by this:
It also doesn't make sense to synchronize on the myDict object. That's what
is in flux. You should synchronize on self, the object which owns and
manages myDict.
Surely as long as every access to the dictionary is @synchronized to the same
entity it’s fine?
On 9 Apr 2014, at 22:06, Tom Doan t...@estima.com wrote:
I have a dialog which has an NSBox. Inside the NSBox are two
(separate, but conceptually linked) sets of radio buttons. These are
just NSButtons with radio style---I haven't (at least intentionally)
embedded them into an NSMatrix.
On 10 Apr, 2014, at 6:20 pm, Dave d...@looktowindward.com wrote:
Hi,
I was confused by this:
It also doesn't make sense to synchronize on the myDict object. That's what
is in flux. You should synchronize on self, the object which owns and
manages myDict.
Surely as long as every
Dear cocoa-dev,
I want to do with an `NSTask` what I am able to do in the terminal via
$ myprogram myfile.ext
I know that `myprogram` (I don't have any control on this program) launches
another program `myauxprogram`. Furthermore, the path to `myprogram` is `path1`
and the path to
On Apr 10, 2014, at 6:57 AM, Colas B wrote:
Dear cocoa-dev,
I want to do with an `NSTask` what I am able to do in the terminal via
$ myprogram myfile.ext
I know that `myprogram` (I don't have any control on this program) launches
another program `myauxprogram`. Furthermore, the
On some occasions I want my controls to collapse and set a width defining
constraint constant to zero.
In some cases, say a checkbox, an onscreen artefact remains.
I presume that this is because the constraint is defining the layout rather
than the frame rectangle.
Is the only workaround to
On Apr 9, 2014, at 5:30 PM, Graham Cox wrote:
On 10 Apr 2014, at 7:06 am, Tom Doan t...@estima.com wrote:
have a dialog which has an NSBox. Inside the NSBox are two
(separate, but conceptually linked) sets of radio buttons. These are
just NSButtons with radio style---I haven't (at least
On 10 Apr 2014, at 07:17, Graham Cox graham@bigpond.com wrote:
Does anyone have a handy guide or pointer to the relevant docs which show all
the various meanings of highlight, state, appearance and button type. There
are so many combinations, and the class reference doesn't really explain
On Apr 10, 2014, at 6:23 AM, Keary Suska cocoa-...@esoteritech.com wrote:
This is more likely a shell scripting issue, rather than am NSTask issue,
unless sandboxing is somehow interfering, and you are obscuring the issue by
not telling us at least how myprogram is locating myauxprogram.
On Apr 10, 2014, at 5:29 AM, Roland King wrote:
On 10 Apr, 2014, at 6:20 pm, Dave d...@looktowindward.com wrote:
I was confused by this:
It also doesn't make sense to synchronize on the myDict object. That's
what is in flux. You should synchronize on self, the object which owns
and
On Apr 10, 2014, at 6:57 AM, Keary Suska cocoa-...@esoteritech.com wrote:
On Apr 9, 2014, at 5:30 PM, Graham Cox wrote:
I'm not exactly certain of the mechanism, but I think radio buttons interact
as a set through the agency of their immediate superview, so if several
buttons share it,
On Apr 10, 2014, at 6:25 AM, Jonathan Mitchell li...@mugginsoft.com wrote:
On some occasions I want my controls to collapse and set a width defining
constraint constant to zero.
In general, views should not be resized to zero width or height. A lot of times
things will break internally
On 10 Apr 2014, at 17:09, Kyle Sluder k...@ksluder.com wrote:
Is the only workaround to wrap such controls in another view and collapse
the superview instead?
If you want to remove a view, you should really remove it from its superview.
You could look into NSStackView, which will do
On 10 Apr 2014, at 17:09, Kyle Sluder k...@ksluder.com wrote:
On Apr 10, 2014, at 6:25 AM, Jonathan Mitchell li...@mugginsoft.com wrote:
On some occasions I want my controls to collapse and set a width defining
constraint constant to zero.
In general, views should not be resized to zero
On Thu, Apr 10, 2014, at 11:37 AM, Jonathan Mitchell wrote:
On 10 Apr 2014, at 17:09, Kyle Sluder k...@ksluder.com wrote:
On Apr 10, 2014, at 6:25 AM, Jonathan Mitchell li...@mugginsoft.com wrote:
On some occasions I want my controls to collapse and set a width defining
constraint
This is a Cocoa port of a Carbon app (and I also have Windows and
GTK versions). My code assumes that I'm controlling the radio
buttons, which has worked fine until now (apparently the 10.8 SDK).
What I want is a radio style button which turns on when I want it on
and turns off when I want it
Thanks for the help. Embedding each subset inside a custom view
did fix the problem. It would certainly have been nice to have the
NSButton class reference say something about the change, since it
should have been expected to break at least some existing
software.
This is a Cocoa port of a
Hi,
thanks for your answers !
Your idea sounds good. What can I do if I want both shells invoked from
programs and login shells to have the same initialization script? Shall I write
a new script that runs first ~/.login and then myprogram ? Or is there a
simplier way?
In my case, myprogram
On 2014 Apr 09, at 10:22, Sean McBride s...@rogue-research.com wrote:
A menu's selection is always visible, and I've found bindings on popup menus
can be useful to deal with the selection. If the object represented by the
popup's selection is deleted (by some other piece of UI) then the
On Apr 10, 2014, at 1:52 PM, Colas B colasj...@yahoo.fr wrote:
Your idea sounds good. What can I do if I want both shells invoked from
programs and login shells to have the same initialization script?
I think it’s better to make sure your login-shell setup script (.bash_profile
or .login)
On Apr 10, 2014, at 2:52 PM, Colas B wrote:
Hi,
thanks for your answers !
Your idea sounds good. What can I do if I want both shells invoked from
programs and login shells to have the same initialization script? Shall I
write a new script that runs first ~/.login and then myprogram ? Or
After converting my NIB to use autolayout, I'm not getting an NSBox to
redraw itself at the correct width.
I have a 'Horizontal Line' (NSBox). In the old model, the autoresizing mask
indicated flexible width. To replace it with constraints, I used: leading
space to superview = 0, top space to
I am not an unix-ey guy... br/br/I don't specify explicitly a bash when I
run my program (with NSTask) : I just give the path to the program. If I
discover the path to the shell being used, does it mean that what used to be
the path of my NSTask will become an argument?br/br/About path and
On Apr 10, 2014, at 2:34 PM, Colas B colasj...@yahoo.fr wrote:
I don't specify explicitly a bash when I run my program (with NSTask) : I
just give the path to the program.
It sounds like the program you’re telling NSTask to run is a shell-script. You
can easily verify that by using the
No, it is Mach-O 64-bit executable
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
In Mac app, a Preferences window nib contains an object controller in Entity
mode, which is bound to the managed object context of a Core Data document. I
realize this is kind of haywired, but please just accept that real life is
sometimes a little messy.
In normal operation, a document is
On Apr 10, 2014, at 4:09 PM, Colas B colasj...@yahoo.fr wrote:
No, it is Mach-O 64-bit executable
Then there is no shell run when you execute it via NSTask.
Really, the correct answer is that pdflatex should not depend on a relative or
hard-coded path for gnuplot. (It's fine of course to use
I’ve been testing IAP in the sandbox store on a development iPod and just
started getting this error in -paymentQueue:updatedTransactions: with
(transaction.transactionState == SKPaymentTransactionStateFailed):
Error Domain=SKErrorDomain Code=0 Cannot connect to iTunes Store
On Apr 10, 2014, at 3:34 PM, Colas B wrote:
I am not an unix-ey guy...
I don't specify explicitly a bash when I run my program (with NSTask) : I
just give the path to the program. If I discover the path to the shell being
used, does it mean that what used to be the path of my NSTask
34 matches
Mail list logo