fault

How can I detect problems with the instantiation of a WebService ?

Hello, I instantiate a WebService with a couple of operations that return an asyncToken. Then receivers get assigned this token and in turn call the fault handlers when the token prompts a fault. I wanted to handle the case where there's a problem at the WebService instantiation stage, e.g. when it goes to read the WSDL and it can't re...

Malloc, free and segmentation fault

Hi, I don't understand why, in this code, the call to "free" cause a segmentation fault: #include <stdio.h> #include <string.h> #include <stdlib.h> char *char_arr_allocator(int length); int main(int argc, char* argv[0]){ char* stringa = NULL; stringa = char_arr_allocator(100); printf("stringa address: %p\n", stringa);...

Core data Relation Fault (not lazy loading) problem. Relations dissaper

Hello Everyone, I have a core data database which has (for now) 2 entities Product and CompetingProduct, CompetingProduct relation is set to-many with products. I create 2 mock Products and 2 mock Competing products and set relation between them .. everything works files.. Saved to database, also NSlog, "po" them.. all is good. Now.. ...

Can a managed object with unmanaged properties fault?

The Core Data documentation says that objects may fault to save memory if needed. What happens if you have an object that has a property that is not a managed property? For example, say you have a Department class, that is a subclass of NSManagedObject. It has a location iVar + accessors. The location property is not an attribute of Dep...