Re: preventing bad memory access

2011-10-20 Thread Wilker
Thanks for the answers guys. I mean I will use the f* operations. But they are really safe? There is anything that I can do for extreme situations in case to avoid bad memory access? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu, Oct 20, 2011 at 12

test on device using company registration

2011-09-07 Thread Wilker
about it... How can I make this to test on device? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

trying to make mouse cursor changes when hover an NSImageView

2011-08-25 Thread Wilker
; - (void)mouseDown:(NSEvent *)theEvent { [super mouseDown:theEvent]; if (targetURL) { [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:targetURL]]; } } @end --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600

Re: Crash Reporter for Lion

2011-08-21 Thread Wilker
Nice to now about it Graham, But in my case its a beta-version of my software, so, It will be out of App Store (at least for now). The FeedbackReporter worked well here :) Thanks Sean. --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Sun, Aug 21, 2011 at 7

Crash Reporter for Lion

2011-08-19 Thread Wilker
Hi Guys, I'm trying to setup a crash reporter on my Mac Application. I tried the UKCrashReporter, but it seems to not be working here (compiling with 10.7 target, 64 bits). You have any recommendations on what I could use for that? Thanks, --- Wilker Lúcio http://about.me/wilkerlucio/bio

Safe way to convert C String to NSString

2011-08-18 Thread Wilker
and convert property? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Safe way to convert C String to NSString

2011-08-18 Thread Wilker
about just skipping unknown chars, they are not part of extension, so, don't matter). I did some hacks on it, using the [NSString stringWithFormat:%s, theString] and it worked as I needed :) Thanks you guys --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu

Re: recomendations for creating a beta with date to expire

2011-08-16 Thread Wilker
time to expire. But if it runs ok, I will just release and sell the official version. That's the current idea. --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Tue, Aug 16, 2011 at 1:14 PM, Scott Ribe scott_r...@elevated-dev.comwrote: On Aug 16, 2011, at 10:00

recomendations for creating a beta with date to expire

2011-08-14 Thread Wilker
to see if the software is expired (and close the software in this case). You have any other hints for doing this? Maybe any encryption on code to make it harder to crack or other things like this? Thanks --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600

Re: recomendations for creating a beta with date to expire

2011-08-14 Thread Wilker
or harder way...). --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Sun, Aug 14, 2011 at 8:29 PM, Gideon King gid...@novamind.com wrote: I agree, and would like to add that I have done this, and did encounter an issue where people had an expired beta

connections appears to be not closing

2011-08-11 Thread Wilker
... Anyone has any idea of what could be happening? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: connections appears to be not closing

2011-08-11 Thread Wilker
Hi, I discovered the problem... Is not my issue, the problem is with a third service that the server users... Its limiting the request and server is responding bad because of that... At least my code is fine, just need to update server :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi

drop folders on dock

2011-08-11 Thread Wilker
Hi, I'm trying to accept folder drops on dock icon, but I can't find how to do it... I'm already receiving some file types (I just had to declare them on Document Types), but I can't find where I configure it for accepting folders too... Any thoughts? --- Wilker Lúcio http://about.me/wilkerlucio

how to get response code on HTTP request synchronous

2011-08-10 Thread Wilker
the HTTP response code. There is any way to get this information? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: how to get response code on HTTP request synchronous

2011-08-10 Thread Wilker
Thanks Andy :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu, Aug 11, 2011 at 12:46 AM, Andy Lee ag...@mac.com wrote: I think instead of NSURLResponse you want to use NSHTTPURLResponse, which has a statusCode method. --Andy On Aug 10, 2011

UI like Transmission BT

2011-07-28 Thread Wilker
color cycle. I was looking on Collection View, but after reading doc it don't really seems to feet for me, I just need something simpler, one below the other, scroll when its bigger than screen. Any hints please? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600

Re: UI like Transmission BT

2011-07-28 Thread Wilker
Thanks guys, I mean I will take the NSTableView + NSView solution, Mac users migrate fast and my software will still on first release, I mean its ok for me for early adopting it :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu, Jul 28, 2011 at 6:15 AM

Re: UI like Transmission BT

2011-07-28 Thread Wilker
But it don't explains too much... I created an xib file for my view, but I don't know how to load it to be cell of the view... The doc says to use a CustomView component inside cell, I dropped one, but I can't see how to link it with my xib. You have any good tutorial about it guys? --- Wilker Lúcio

Re: UI like Transmission BT

2011-07-28 Thread Wilker
growl or reduce)? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu, Jul 28, 2011 at 8:14 PM, Wilker wilkerlu...@gmail.com wrote: I'm trying a lot to make the NSTableView + NSView but I just can't make it work... I don't know the way to go, I was reading

can't build iPhone apps, certificate error

2011-07-25 Thread Wilker
official, not beta/preview release). --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: can't build iPhone apps, certificate error

2011-07-25 Thread Wilker
working for my company, so, they will buy a licence, I'm waiting for them, later I will get one for me, just not now ;) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Mon, Jul 25, 2011 at 3:43 PM, Conrad Shultz con...@synthetiqsolutions.com wrote

Re: Does anyone else dislike Xcode 4?

2011-07-24 Thread Wilker
was released. I really prefer XCode 4 than 3, its awesome. --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Sun, Jul 24, 2011 at 8:08 PM, Kevin Bracey ke...@ilike.co.nz wrote: I also had concerns re the changes, no-one likes their main work apps changed

problem with dataWithContentsOfFile on Lion

2011-07-21 Thread Wilker
). Anyone have an ideia on why its happening now? And how to make it works as before on Snow Leopard? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: problem with dataWithContentsOfFile on Lion

2011-07-21 Thread Wilker
Thanks guys, I changed to NSDataReadingMappedAlways, since I will read just a little piece of data (which is generally really fast) is that ok, the crash risk is really low, so, I mean my software can live with that. --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81

simple multipart upload implementation

2011-07-16 Thread Wilker
want's to make it better, I will be really happy to accept pull requests to make this library better :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

book about Cocoa testing

2011-07-14 Thread Wilker
Hi fellows, I'm trying to find good material on how to test with XCode 4 default engine, you have any recommendations? Any books or articles that does good explanation will be nice. Thanks --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600

getting path for files in test bundle

2011-07-14 Thread Wilker
mainBundle] pathForResource: @dexter ofType:@mp4]; But it always returns (null) Any ideas on how to make it work? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: getting path for files in test bundle

2011-07-14 Thread Wilker
Thanks a lot Fritz :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Thu, Jul 14, 2011 at 8:30 AM, Fritz Anderson fri...@manoverboard.orgwrote: On 14 Jul 2011, at 2:11 AM, Wilker wrote: I'm trying to do some tests here, but in case my tests have some

problem with applying md5 to data

2011-06-29 Thread Wilker
Hi guys, I need to generate a hash from a file, the hash algorithm is here: http://thesubdb.com/api/ I'm trying to implement it on Objective-C but I'm having really trouble on it... This is my current implementation: // // SMSubdbSource.m // Subtitle Master // // Created by Wilker Lúcio da

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
] withLength:(unsigned int)[fileData length]]; } You said the way I readed the file is bad... But I don't need to read the entire file, just 64kb of first, and 64kb of last, are you sure that will be better to read it entirely? Thanks for the support :) --- Wilker Lúcio http://about.me/wilkerlucio/bio

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
Thanks Quincey, these things for sure will be a lot helpful, Im still pretty new to Objective-C, but I will look in all of those things that you said, thanks :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jun 29, 2011 at 5:13 AM, Quincey Morris

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
, digest[i]]; } return [ret lowercaseString]; } Any other tip for improving it? (I know, I still need to handle the errors, hehe, but anything else?) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jun 29, 2011 at 10:31 AM, Wilker wilkerlu

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
, byteLength); in the sum buffer + byteOffset, in case, adding a number to an array pointer will change it offset? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jun 29, 2011 at 2:53 PM, Quincey Morris quinceymor...@earthlink.net wrote: On Jun 29, 2011

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
with Airport Extreme), and it's blazing fast :) Thanks a lot --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jun 29, 2011 at 4:18 PM, Quincey Morris quinceymor...@earthlink.net wrote: On Jun 29, 2011, at 11:32, Wilker wrote: Just for curiousity, if I do

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
Thanks :) I will make the conversion to CC_LONG to be more clear, but about the bug, I mean it will be impossible to happen on this case, since the max length will be always 64kb :) About the remote thing, I mean its more low level things, the HD is just mounted as an Volume (on /Volumes/Wilker

Re: Good and updated book for iPhone development

2011-06-05 Thread Wilker
Thanks guys, I bought the: Beginning iPhone 4 Development: Exploring the iOS SDK Kindle Version It seems cool, but I will sure I will look for others later :) Thanks for you suggestions. --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Sat, Jun 4, 2011

Good and updated book for iPhone development

2011-06-03 Thread Wilker
book is a nice intro and cover the basics nice, but after I finish it I wanna get some book for iPhone specific stuff, if possible some updated book for XCode 4 and iOS 4. What you guys can recommend to me? Thanks --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600