On 2010 Jun 12, at 11:25, Adam Gerson wrote:
> the problem I am having is that [checkboxB setState:0] only changes the value
> on the screen but does
> not update the defaults saved value in the file
Maybe the change is being deferred until later. Tried -[NSUserDefaults
synchronize]?
> I hav
On Sat, Jun 12, 2010 at 3:08 PM, Jochen Moeller wrote:
> Kyle, thanks for the insight. Renaming the outlet was also my solution.
> Does that mean that an outlet can be invalidated by a future version of a
> class which introduces a new method with accidentally the same name?
Well, certainly. That
Am 12.06.2010 um 23:22 schrieb Kyle Sluder:
> On Sat, Jun 12, 2010 at 2:11 PM, Jochen Moeller wrote:
>>
>> Normally variable names don't interfere with method names.
>
> Strictly speaking, Variable names can never interfere with method
> names. The compiler determines the type it needs from co
On Sat, Jun 12, 2010 at 2:11 PM, Jochen Moeller wrote:
> Hello List,
>
> Normally variable names don't interfere with method names. So I can write:
Strictly speaking, Variable names can never interfere with method
names. The compiler determines the type it needs from context, and
then resolves th
For whatever it's worth, I did not find a way to make the tracking area work. I
do get the mouseEntered and mouseExited messages, but only after the dragging
has ended - which is precisely when I don't need it any more.
Instead I use the method draggedImage:movedTo: out of the NSDraggingSource
Hello List,
Normally variable names don't interfere with method names. So I can write:
CGFloat alphaValue = [ myCustomView alphaValue ];
Now, in an app the -drawRect: method of my custom view was not called although
it should. I found out that the culprit was an outlet named "alphaValue" whic
On Jun 12, 2010, at 5:18 AM, Ben wrote:
> Given an NSData object, with no context as to what it might be, is it
> possible to find if it contains a document of recognised file type?
Honestly, the best option I can think of is to use NSTask to run /usr/bin/file.
Or look up the source code of th
I have set up some NSUserDefaults and used bindings to bind them to
some checkboxes and radiobuttons in my nib. I want the act of checking
some of the checkboxes to uncheck or check other checkboxes. I did
this by registering for a NSUserDefaultsDidChangeNotification.
Then inside userDefaultsDidCh
On Jun 12, 2010, at 7:18 AM, Ben wrote:
> Hi list
>
> Given an NSData object, with no context as to what it might be, is it
> possible to find if it contains a document of recognised file type?
>
> I know this is possible for image files, by using the imageIO framework and
> doing the followin
Le 12 juin 2010 à 16:10, Keary Suska a écrit :
> Normally, default value logic should be within the model object, not the
> controller. If the defaults are specific to the controller or situation (and
> not to any other controller or situation), the controller should be told to
> prepare its ow
On Jun 12, 2010, at 6:18 AM, Ben wrote:
> Given an NSData object, with no context as to what it might be, is it
> possible to find if it contains a document of recognised file type?
It is possible, but I suspect that you have to know what you are looking for.
I.e., you must check the contents f
On Jun 12, 2010, at 2:55 AM, vincent habchi wrote:
> Hi again,
>
> I am still stuck in my (very simple) dialog management. Briefly, I have a
> modal dialog that allows the user to create objects whose attributes are
> derived from various fields. I need to set the a default value to one
> attr
Hi list
Given an NSData object, with no context as to what it might be, is it possible
to find if it contains a document of recognised file type?
I know this is possible for image files, by using the imageIO framework and
doing the following:
CGImageSourceRef imageSource =
CGImageSourceCreate
On 2010 Jun 11, at 21:56, Matthew Weinstein wrote:
> There's some sort of bug in my help system, wondering if anyone can help. I
> have a set of nested folders in the help system: one for tutorial, one for
> user manual, but one link doesn't work in the help system, but works fine if
> I click
On 12 Jun 2010, at 11:45, vincent wrote:
> Le 12 juin 2010 à 12:28, jonat...@mugginsoft.com a écrit :
>
>> Modal windows fulfil a very specific purpose and manipulate the runloop
>> accordingly.
>
> It seems some events are postponed (like timer or notifications) and some are
> not affected (
On 12 Jun 2010, at 09:55, vincent habchi wrote:
> Hi again,
>
> I am still stuck in my (very simple) dialog management. Briefly, I have a
> modal dialog that allows the user to create objects whose attributes are
> derived from various fields. I need to set the a default value to one
> attrib
On Jun 11, 2010, at 8:32 PM, ico wrote:
> On Sat, Jun 5, 2010 at 1:19 AM, jeremy wrote:
>
>> Would you provide some additional information:
>>
>> 1) Is the IB designed custom view in MainWindow.xib or is it in its own nib
>> file?
>>
>> 2) Did you create a custom view controller class to mana
Hi again,
I am still stuck in my (very simple) dialog management. Briefly, I have a modal
dialog that allows the user to create objects whose attributes are derived from
various fields. I need to set the a default value to one attribute of a newly
created object (after clicking on a button); ho
18 matches
Mail list logo