Re: [iPhone] Data protection clarification needed.

2010-08-02 Thread Graham Lee
. -- Graham Lee http://blog.securemacprogramming.com/ Author - Professional Cocoa Application Security http://www.amazon.co.uk/gp/product/0470525959?ie=UTF8tag=thaeofer-21linkCode=as2camp=1634creative=6738creativeASIN=0470525959 ___ Cocoa-dev mailing list

Re: CCCrypt()

2010-06-24 Thread Graham Lee
_CCCryptorCreateFromData 00106446 T _CCCryptorFinal 00106466 T _CCCryptorGetOutputLength 0006fb93 T _CCCryptorRelease 00106486 T _CCCryptorReset 0006f06d T _CCCryptorUpdate Which SDK are you linking against? Graham. -- Graham Lee http://blog.securemacprogramming.com/ Author

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Graham Lee
. Good people fix 'em. Cheers, Graham. -- Graham Lee http://blog.securemacprogramming.com/ Coming soon - Professional Cocoa Application Security http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470525959.html ___ Cocoa-dev mailing list (Cocoa-dev

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Graham Lee
On 25 Feb 2010, at 01:41, Greg Parker wrote: On Feb 24, 2010, at 5:27 PM, Graham Lee wrote: On 24 Feb 2010, at 22:57, Michael A. Crawford wrote: Part of your response suggests that if there was an existing framework that was openly available, it wouldn't do me any good because the bad guys

Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .

2010-02-24 Thread Graham Lee
either :-( Graham. -- Graham Lee http://blog.securemacprogramming.com/ Pre-order now! - Professional Cocoa Application Security http://www.amazon.co.uk/gp/product/0470525959?ie=UTF8tag=thaeofer-21linkCode=as2camp=1634creative=6738creativeASIN=0470525959

Re: Re : Proper way to initialize application support file

2010-02-18 Thread Graham Lee
this ? You could _distribute_ them in the app bundle, then copy the files to ~/Library/Application Support/com.yourcompany.yourapp/ when it is first launched. Use and change the deployed copies from then on. Cheers, Graham. -- Graham Lee http://blog.securemacprogramming.com/ Coming soon

Re: KVO on Distributed Objects with exception handling.

2009-09-08 Thread Graham Lee
On Sep 7, 2009, at 21:45 , Edward Chan wrote: Great... How long ago did you ask the Apple engineers? I haven't tried this piece of code with Snow Leopard actually... This was back in February, I was probably testing on Leopard. The difference between what you and I tried was that I used -

Re: KVO on Distributed Objects with exception handling.

2009-09-08 Thread Graham Lee
On Sep 7, 2009, at 20:02 , Edward Chan wrote: Hello, I'm using KVO on a Distributed Object, and I am binding my UI controls based on the observer. Hi, not much of constructive help from me I'm afraid, just a warning. I also did the same thing once, and the reaction from Apple engineers

Re: what is this currency symbol?

2009-07-21 Thread Graham Lee
$ back as the default? That's the generic currency symbol. Cheers, Graham. -- Graham Lee Senior Mac Software Engineer tel: +44 1235 540266 SOPHOS - simply secure Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348

Re: Clarification on accessors? (was: Yet another memory management question)

2009-07-08 Thread Graham Lee
or is transitioning out of its final state). If your accessors rely on the internal state of the object being normal, they could blow up when called in these methods. Cheers, Graham. -- Graham Lee Senior Mac Software Engineer tel: +44 1235 540266 SOPHOS - simply secure Sophos Plc, The Pentagon

[meet] cocoaheads Swindon tonight!

2009-07-06 Thread Graham Lee
about WebKit. As always there'll also be general NSDiscussion, and the occasional pint of beer. http://cocoaheads.org/uk/Swindon/index.html Hope to see you there, Graham. -- Graham Lee Senior Mac Software Engineer tel: +44 1235 540266 SOPHOS - simply secure Sophos Plc, The Pentagon, Abingdon

Re: C string constant-NSString constant without defining twice?

2009-04-28 Thread Graham Lee
? Both apps are using the same temporary data... Cheers, Graham. -- Graham Lee Senior Mac Software Engineer tel: +44 1235 540266 SOPHOS - simply secure Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20

Re: One IBAction, multiple results from multiple methods

2009-02-26 Thread Graham Lee
: ... case IDC_COPY: ... case IDC_PASTE: ... } You could call it a SELector. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP

Re: Question about the Foundation Framework

2009-02-19 Thread Graham Lee
, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. ___ Cocoa

Re: Security With Show Package Contents?

2009-01-12 Thread Graham Lee
sure that while it's possible people will do it, even if the pay-off were to disappear :-( Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg

Re: Security With Show Package Contents?

2009-01-12 Thread Graham Lee
operations. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20

Re: Using the security framework

2009-01-07 Thread Graham Lee
. These are still all good ideas. Another thing to do is to convert the Auth Services rights structure into an external form, and pass it to the helper - the helper then only performs privileged operations if it agrees that it has received the authorisation. Cheers, Graham. -- Graham Lee Senior Macintosh

Re: More - Safari Download Security Alerts

2008-12-17 Thread Graham Lee
documentation for installer packages to restrict which volumes the package can be installed to. In general, you'll have more luck with installer questions in installer-...@lists.apple.com. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com

Re: More - Safari Download Security Alerts

2008-12-16 Thread Graham Lee
resources (software license agreements, for example) to a disk image. Hope that helps, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom

Re: More - Safari Download Security Alerts

2008-12-15 Thread Graham Lee
the 'udifrez' command. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20

Re: Number of Files on Volume

2008-11-26 Thread Graham Lee
is -1, as some filesystems don't support telling you that stuff. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Plc. +44 1235 540266 http://www.sophos.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Lack of Initializers or Factory Methods

2008-11-03 Thread graham . lee
. File bugs :-) Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) Web: http://www.sophos.com Sophos - Security and Control Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg

Re: Mutable arrays

2008-10-20 Thread graham . lee
. Rather than see what we could eke out of our solution, we went back to the whiteboard and optimised the design. In that case, this was not a foolish thing to do. Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) Web: http://www.sophos.com Sophos

[meeting] Swindon, UK: upcoming cocoaheads

2008-08-28 Thread graham . lee
Hi all, September's CocoaHeads Swindon will be at the Glue Pot pub, at 20:00 BST on Monday 1st September. As ever, the website for more information is: http://cocoaheads.org/uk/Swindon/index.html See (some of) you there! Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos

Re: Design Question: Bindings Custom Views

2008-08-28 Thread graham . lee
them, you can add a category to the model class which is decorating via ObjC magic. It still lets you separate the UI code into the view package, but also means you directly use the model class. An example of that approach is NSAttributedString(AppKitAdditions). Cheers, Graham. -- Graham

[meeting] CocoaHeads Swindon, Monday August 4th

2008-07-30 Thread graham . lee
://cocoaheads.org/uk/Swindon/index.html See you* there! * [cocoaDevSubscribers intersectSet: peopleLivingNearSwindon]; Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) Web: http://www.sophos.com Sophos - Security and Control Sophos Plc, The Pentagon

Re: Running a daemon

2008-06-18 Thread Graham . Lee
);, but as this is a daemon I can't call this. The bit of NSApplicationMain() which you need to replicate is the run loop. Timers get scheduled in run loops. Have a look at the NSRunLoop documentation (you probably want [[NSRunLoop currentRunLoop] run]). Cheers, Graham. -- Graham Lee Senior

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread Graham . Lee
Cheers, Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) Web: http://www.sophos.com Sophos - Security and Control Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20

Re: How is Apple + Ctrl + D implemented?

2008-04-28 Thread Graham . Lee
. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) 01235 559933 (Reception) Web: http://www.sophos.com Sophos - security and control Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg