nicklockwood / AutoCoding

AutoCoding is a category on NSObject that provides automatic support for NSCoding and NSCopying to every object.
Other
1.07k stars 131 forks source link

A nil member variable will cause a crash when saving it. #2

Closed c0diq closed 12 years ago

nicklockwood commented 12 years ago

I don't think this is the case. Can you provide a code sample that demonstrates the problem?

c0diq commented 12 years ago

I copied your ToDoListItem and I have an nil NSString member variable. It crashes when I save the equivalent to your ToDoList.

-s

On Oct 14, 2012, at 4:31 AM, Nick Lockwood notifications@github.com wrote:

I don't think this is the case. Can you provide a code sample that demonstrates the problem?

\ Reply to this email directly or view it on GitHub.

nicklockwood commented 12 years ago

The AutoCoding library doesn't include a TodoList example. Was it the AutoTodoList in the BaseModel project or the HRCoder project that you copied?

nicklockwood commented 12 years ago

I'm unable to recreate this issue in the AutoTodoList example. Please email the modified project to support at charcoaldesign dot co dot uk and I'll investigate.

c0diq commented 12 years ago

Is it charcoaldesign @ co dot uk?

-s

Sylvain Rebaud Plutinosoft LLC

On Sunday, October 14, 2012 at 10:08 AM, Nick Lockwood wrote:

I'm unable to recreate this issue in the AutoTodoList example. Please email the modified project to support at charcoaldesign dot co dot uk and I'll investigate.

— Reply to this email directly or view it on GitHub (https://github.com/nicklockwood/AutoCoding/issues/2#issuecomment-9422338).

nicklockwood commented 12 years ago

No, support @ charcoaldesign dot co do uk.

nicklockwood commented 12 years ago

I'm not sure why you raised this against AutoCoding, as it's clear from your screenshot that it's an issue with HRCoder, but thanks for raising it. This is now fixed in HRCoder version 1.1.2.

c0diq commented 12 years ago

Sorry my bad.

-s

On Oct 14, 2012, at 3:24 PM, Nick Lockwood notifications@github.com wrote:

I'm not sure why you raised this against AutoCoding, as it's clear from your screenshot that it's an issue with HRCoder, but thanks for raising it. This is now fixed in HRCoder version 1.1.2.

\ Reply to this email directly or view it on GitHub.

c0diq commented 12 years ago

Btw, thank you for these great libraries of yours!

-s

On Oct 14, 2012, at 3:24 PM, Nick Lockwood notifications@github.com wrote:

I'm not sure why you raised this against AutoCoding, as it's clear from your screenshot that it's an issue with HRCoder, but thanks for raising it. This is now fixed in HRCoder version 1.1.2.

\ Reply to this email directly or view it on GitHub.

nicklockwood commented 12 years ago

You're welcome ;-)

c0diq commented 12 years ago

It still crashes for me, this time when used in conjunction with AutoCoding.
http://cl.ly/image/2b3d012i2S1D

-s

Sylvain Rebaud Plutinosoft LLC

On Sunday, October 14, 2012 at 3:24 PM, Nick Lockwood wrote:

I'm not sure why you raised this against AutoCoding, as it's clear from your screenshot that it's an issue with HRCoder, but thanks for raising it. This is now fixed in HRCoder version 1.1.2.

— Reply to this email directly or view it on GitHub (https://github.com/nicklockwood/AutoCoding/issues/2#issuecomment-9428581).

nicklockwood commented 12 years ago

Whoops, missed a case. Try it now.