In an application I'm working on, I read in plain text files containing data to
be analyzed. This uses a slightly-modified version of MyDocument.m that is
produced as a result of starting a project with the template for NSDocument
architecture. The modification that I made was to add a method
Hi all,
I've been trying to detect touch and hold vs touch on a subclass of UIButton. I
basically accomplished that by doing the following:
I first add the following when the button is created:
[button addTarget:self action:@selector(sourceSelected:)
forControlEvents:UI
On Fri, Jun 4, 2010 at 2:39 PM, Jens Alfke wrote:
>
> On Jun 3, 2010, at 10:01 PM, Shane wrote:
>
> > I'm going to have some icons made for my app, and I'm wondering to
> > what size they should be made.
>
> For app and document icons: 512x512 is the maximum icon size on 10.6. If
> you make an ic
I RTFM'd and STFW'd but could not find an answer to my question. How do I make
IKImageBrowserView **always** center its cells horizontally? I noticed it only
normally does this if there are two or more rows, and left-justifies the cells
if there is only one row. I'd like to center the cells on t
On Jun 3, 2010, at 10:01 PM, Shane wrote:
> I'm going to have some icons made for my app, and I'm wondering to
> what size they should be made.
For app and document icons: 512x512 is the maximum icon size on 10.6. If you
make an icon smaller than that, it will show up pixelated and blurry in th
On 4 Jun 2010, at 22:22, Ken Thomases wrote:
>
> The compiler will actually find this for you. Enabling -Wformat (which is
> included in -Wall) issues warnings for functions and methods that take format
> strings if you supply a non-literal format argument and no arguments. If you
> supply
On Jun 4, 2010, at 8:34 AM, jonat...@mugginsoft.com wrote:
> Thanks for persisting Ken.
You're welcome.
> In general it would seem that when a method/function has format + va_list
> signature
> invocations should not contain single variable argument lists.
> The following regex is reasonably
On Jun 4, 2010, at 13:03, Brad Stone wrote:
> How do I create the callback method? I don't understand what the signature
> is telling me. I have
> canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: in my
> NSDocument and I want to set up the callback method. When I create a method
Hi Hamish
On 4 Jun 2010, at 20:40, has wrote:
> Jonathan Mitchell wrote:
>
>> On occasion I see my PyObjC scripts generating the following:
>>
>> Class OC_PythonObject: no such selector: _cfTypeID
>>
>> My app executes user supplied scripts and the error appears to be generated
>> under a num
How do I create the callback method? I don't understand what the signature is
telling me. I have
canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: in my NSDocument
and I want to set up the callback method. When I create a method as below it
never fires. I must just not be readin
Jonathan Mitchell wrote:
> On occasion I see my PyObjC scripts generating the following:
>
> Class OC_PythonObject: no such selector: _cfTypeID
>
> My app executes user supplied scripts and the error appears to be generated
> under a number of circumstances
> including inadvertently calling an
On Jun 4, 2010, at 11:53 AM, ico wrote:
> Hi all,
>
> I have created a custom view in the Interface Builder, how can I specify the
> superview for this custom view? For example,
> I want to make its superview be UIWindow rather than another custom view.
Then drag a UIWindow from the library and
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 manage the screen full of
content shown in the custom view?
On Jun 4, 2010, at 12:53 PM, ico wrote:
> I have cr
Hi all,
I have created a custom view in the Interface Builder, how can I specify the
superview for this custom view? For example,
I want to make its superview be UIWindow rather than another custom view.
Thanks.
ico
==
Life isn't about finding yourself.
Life is about crea
On Fri, Jun 4, 2010 at 11:27 AM, Jerry Krinock wrote:
>
> On 2010 Jun 02, at 10:48, BJ Homer wrote:
>
>> detachNewThreadSelector:target:withObject: retains both the target and the
>> object.
>
> Thank you, BJ. That explains everything.
>
> On 2010 Jun 02, at 11:12, Jens Alfke wrote:
>
>> It’s re
On 2010 Jun 02, at 10:48, BJ Homer wrote:
> detachNewThreadSelector:target:withObject: retains both the target and the
> object.
Thank you, BJ. That explains everything.
On 2010 Jun 02, at 11:12, Jens Alfke wrote:
> It’s really not a good idea to obsess over the details of when objects get
On occasion I see my PyObjC scripts generating the following:
Class OC_PythonObject: no such selector: _cfTypeID
My app executes user supplied scripts and the error appears to be generated
under a number of circumstances
including inadvertently calling an object function with the wrong number o
On 4 Jun 2010, at 00:49, Ken Thomases wrote:
> On Jun 3, 2010, at 8:46 AM, jonat...@mugginsoft.com wrote:
>
>> My app runs user supplied scripts.
>>
>> These scripts may contain RubyCocoa statements such as:
>> OSX::NSLog("task parameters are %@ and %@", a, b)
>>
>> These scripts may contain e
18 matches
Mail list logo