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

preventing bad memory access

2011-10-17 Thread Wilker
orts, by bad memory access, I mean it should be the map got unavailable (maybe removed the drive or something), and the software crashes... There is any way to handle it? Any kind of try/catch that I can do while reading the bytes, so, I can recover from the error? --- Wilker Lúcio http://about.me/wil

test on device using company registration

2011-09-07 Thread Wilker
thing 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 t

trying to make mouse cursor changes when hover an NSImageView

2011-08-25 Thread Wilker
esize targetURL; - (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

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/wilkerluci

Re: Safe way to convert C String to NSString

2011-08-18 Thread Wilker
don't care 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 Consul

Safe way to convert C String to NSString

2011-08-18 Thread Wilker
rs? Or a good way to guess the encoding 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 th

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 wrote: > On Aug 16, 2011, at 10:00 AM, Shawn Bakhti

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 wrote: > I agree, and would like to add that I have done this, and did encounter an > issue where people had an expired beta and therefore co

recomendations for creating a beta with date to expire

2011-08-14 Thread Wilker
time 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 825

Re: drop folders on dock

2011-08-12 Thread Wilker
Thanks dude, That worked for me (but I will never figure out by myself...). --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Fri, Aug 12, 2011 at 12:39 PM, Fritz Anderson wrote: > On 12 Aug 2011, at 12:29 AM, Wilker wrote: > > > I'm trying

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://

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

connections appears to be not closing

2011-08-11 Thread Wilker
onnections seems to not be closing... Any ideas on how to fix that? I tried do some analysis but I got no luck... Anyone has any idea of what could be happening? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 ___

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 wrote: > I think instead of NSURLResponse you want to use NSHTTPURLResponse, which > has a statusCode method. > > --Andy > > On Aug

how to get response code on HTTP request synchronous

2011-08-10 Thread Wilker
spond that has 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 request

Re: UI like Transmission BT

2011-07-28 Thread Wilker
table 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 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

Re: UI like Transmission BT

2011-07-28 Thread Wilker
00026i-CH15-SW2 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 a

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

UI like Transmission BT

2011-07-28 Thread Wilker
round 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 8

Re: can't build iPhone apps, certificate error

2011-07-25 Thread Wilker
:P This iPhone app Im 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...@s

can't build iPhone apps, certificate error

2011-07-25 Thread Wilker
again? I'm on Lion, with the most recent XCode (latest 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 a

Re: Does anyone else dislike Xcode 4?

2011-07-24 Thread Wilker
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 wrote: > I also had concerns re the changes, no-one likes their main work apps > changed, for unknown r

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

problem with dataWithContentsOfFile on Lion

2011-07-21 Thread Wilker
tire file... instead of just read 128kb (start and end). 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 ma

simple multipart upload implementation

2011-07-16 Thread Wilker
if some expert here 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.

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 wrote: > 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

getting path for files in test bundle

2011-07-14 Thread Wilker
th = [[NSBundle 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 ___

book about Cocoa testing

2011-07-13 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 825

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: problem with applying md5 to data

2011-06-29 Thread Wilker
8.5GB, stored on external drive (at wifi 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 wrote: > On Jun 29, 2011, at 11:32, Wilker wrote:

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
fset, 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 wrote: > On Jun 29, 2011, at 07

Re: problem with applying md5 to data

2011-06-29 Thread Wilker
appendFormat:@"%02x", 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, 20

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
ileData bytes] 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.

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 Wilke

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 at

Good and updated book for iPhone development

2011-06-03 Thread Wilker
q/cocoa-programming>This 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 Ka