On May 31, 2011, at 1:33 AM, Deepa wrote:
> I am developing an Desktop application in which I should be able to take
> mouse events on transparent window. But, transparent NSWindow does not take
> mouse events. So, I have set setIgnoreMouseEvents to NO which allows the
> transparent window to
On 31 May 2011, at 10:00, Alejandro RodrÃguez wrote:
> Hey Julius,
>
> The reason for using NSUInteger on such a high level framework as Cocoa may
> not seem relevant but for the sake of completeness let me go down a road less
> explored by many of the other answers. I think using NSUInteger v
Thanks for all your answers, they make complete sense.
I have one more related question. I have developed a custom, stateful
WebServiceInterface object, which manages all connection requests made to an
XML-RPC server. Being stateful, I initialise this object when the app
launches and at the moment
On 31/05/2011, at 7:36 PM, julius wrote:
>
> On 31 May 2011, at 10:00, Alejandro RodrÃguez wrote:
>
>> It's more than likely that it has to do with the underlying implementation
>> of NSArray which is surely based on C arrays.
>>
>> NSArray is toll-free bridged with CFArray which being par
Hi all,
I need to create a simple command line application that will stall (as in keep
running without exiting) until it receives a certain distributed notification
via NSDistributedNotificationCenter. What would be the best way to go about
doing this? I assume I'd have to have a separate threa
On May 31, 2011, at 9:03 AM, Indragie Karunaratne wrote:
> I need to create a simple command line application that will stall (as in
> keep running without exiting) until it receives a certain distributed
> notification via NSDistributedNotificationCenter. What would be the best way
> to go abo
How can I work with code completion in Xcode 4 when I create a new project
using a Template and have a static library.
I created a new template that uses static library but when I create a new
project the code completion doesn't work for static library. I can build and
run the new project well.
T
On Tue, May 31, 2011 at 8:00 AM, Guillermo Moral
wrote:
> How can I work with code completion in Xcode 4 when I create a new project
> using a Template and have a static library.
This is a tools question; it is more appropriate for the xcode-users list.
--Kyle Sluder
Dear Nick and all,
Thanks so much for your reply! I am still a new Cocoa developer so that I
need to improve during the programming procedure.
Now I modify the code and it works fine. The code is as follows.
But I still have a question. If the autoreleased data will keep alive until
the pool is
On May 31, 2011, at 9:32 AM, Bing Li wrote:
> But I still have a question. If the autoreleased data will keep alive until
> the pool is drained, what if the data is autoreleased in a Cocoa auto-created
> pool? It will keep alive unless the process is shutdown?
No. The framework makes and drain
The Cocoa-created autorelease pool is automatically drained at an unspecified
time, typically every few iterations of the run loops. You can trust it to do
the right thing.
-Matt
Sent from my iPhone
On May 31, 2011, at 8:32 AM, Bing Li wrote:
> Dear Nick and all,
>
> Thanks so much for your
Wondering if anyone knows of or has an Obj-C Class that can provide levels
of fuzzy string matching... looking for % match or something similar. I have
something now but it's returning results that aren't nearly accurate enough
for me to employ with confidence.
Thank you,
Eric
Google Voice: (
I've used this in the past with pretty good results:
http://weblog.wanderingmango.com/?pg=2
HTH,
Dave
Sent from my iPad
On May 31, 2011, at 9:32 AM, "Eric E. Dolecki" wrote:
> Wondering if anyone knows of or has an Obj-C Class that can provide levels
> of fuzzy string matching... looking for
Thanks - I'm not sure that's going to be flexible enough for me or not, but
I'll give it a go. Thanks again!
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
On Tue, May 31, 2011 at 12:47 PM, Dave DeLong wrote:
> I'
Thanks everyone! This has definitely helped.
Todd
___
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/Unsubscr
How about providing a singleton class method? Then you just include
WebServiceInterface.h where needed. No need to have a global variable.
@implementation WebServiceInterface
...
+ (WebServiceInterface*) sharedInterface
{
static WebServiceInterface* sharedInstance = nil;
if (sh
CLucene might be a bit heavy, but it works great for me.
-Heath
>From my iTouch4
On May 31, 2011, at 12:02 PM, "Eric E. Dolecki" wrote:
> Thanks - I'm not sure that's going to be flexible enough for me or not, but
> I'll give it a go. Thanks again!
>
>
> Google Voice: (508) 656-0622
> Twitter
Hi All,
I have a view that accepts input using UIKeyInput. The VC's
viewWillAppear: calls [myHiddenView becomeFirstResponder] which shows
the alphanumeric keyboard. I get input as expected through insertText:
and deleteBackwards:.
How does one change the keyboard type to UIKeyboardTypeNumberPad?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/31/11 12:23 PM, Jeffrey Walton wrote:
> Hi All,
>
> I have a view that accepts input using UIKeyInput. The VC's
> viewWillAppear: calls [myHiddenView becomeFirstResponder] which shows
> the alphanumeric keyboard. I get input as expected through i
On Tue, May 31, 2011 at 3:49 PM, Conrad Shultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 5/31/11 12:23 PM, Jeffrey Walton wrote:
>> Hi All,
>>
>> I have a view that accepts input using UIKeyInput. The VC's
>> viewWillAppear: calls [myHiddenView becomeFirstResponder] which sho
In my IOS app, I'm overriding -motionBegan:withEvent: in my view controller,
trying to receive shake events. But it's never called (iOS simulator, version
4.3).
Is there something else I need to do to specifically enable delivery of shake
events? I have scoured the docs but didn't find anything
On May 31, 2011, at 9:35 PM, Graham Cox wrote:
> In my IOS app, I'm overriding -motionBegan:withEvent: in my view controller,
> trying to receive shake events. But it's never called (iOS simulator, version
> 4.3).
>
> Is there something else I need to do to specifically enable delivery of shak
It's an iOS device, not a computer. No mouse, no keyboard.
I think you want,
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event
You make a subclass of UIView, instantiate it, and implement the above within
that subclass.
David
On May 31, 2011, at 8:42 PM, Eli Bach wro
On 01/06/2011, at 1:42 PM, Eli Bach wrote:
> Well, how hard did you shake your computer? You have to actually shake the
> computer, as neither your mouse nor your keyboard have a motion sensor.
>
> Eli
You're a funny guy. :)
I assume you are being funny: the simulator has a "shake" menu com
Hello,
I'm trying to display an NSOpenPanel that only allows to select plist files. I
have the following code in place:
> NSOpenPanel *openPanel= [NSOpenPanel openPanel];
>
> [openPanel setResolvesAliases:YES];
> [openPanel setCanChooseDirectories:NO];
> [openPanel setAl
That should be a subclass of UIResponder. You don't need a UIView, but I
suppose you could use an existing one.
D
On May 31, 2011, at 8:55 PM, David Rowland wrote:
> It's an iOS device, not a computer. No mouse, no keyboard.
>
> I think you want,
>
> - (void)motionEnded:(UIEventSubtype)moti
On 01/06/2011, at 1:55 PM, David Rowland wrote:
> I think you want,
>
> - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event
>
> You make a subclass of UIView, instantiate it, and implement the above within
> that subclass.
Hmm, thanks but it's still not called.
I have a
Is your uiresponder the first responder?
On Jun 1, 2011, at 11:35, Graham Cox wrote:
> In my IOS app, I'm overriding -motionBegan:withEvent: in my view controller,
> trying to receive shake events. But it's never called (iOS simulator, version
> 4.3).
>
> Is there something else I need to d
On May 31, 2011, at 21:00, Tito Ciuro wrote:
>>[openPanel setAllowedFileTypes:[NSArray arrayWithObject:@"plist"]];
>>[openPanel beginSheetForDirectory:NSHomeDirectory() file:nil
>> modalForWindow:window modalDelegate:self
>> didEndSelector:@selector(didEndImportSheet:returnCode:contextIn
On 01/06/2011, at 2:19 PM, Roland King wrote:
> s your uiresponder the first responder?
Aha! No, it wasn't :)
Thanks - it's working now.
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderat
Hi Quincey,
On May 31, 2011, at 9:35 PM, Quincey Morris wrote:
> On May 31, 2011, at 21:00, Tito Ciuro wrote:
>
>>> [openPanel setAllowedFileTypes:[NSArray arrayWithObject:@"plist"]];
>>> [openPanel beginSheetForDirectory:NSHomeDirectory() file:nil
>>> modalForWindow:window modalDelegate:se
31 matches
Mail list logo