Category: Objective-C

Galton Board in ObjectiveC

Target was to build an application to simulation a “Galton Board“. Galtonsches_Brett.h 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #import   @interface Galtonsches_Brett : NSObject { @private   }   – (void)Calculate:(double)numBalls field0:(NSProgressIndicator**)field0 field1:(NSProgressIndicator**)field1 field2:(NSProgressIndicator**)field2 field3:(NSProgressIndicator**)field3 field4:(NSProgressIndicator**)field4 field5:(NSProgressIndicator**)field5;   – (int)RandomField; @end Galtonsches_Brett.m 1 2 3 [...]



CoreData Model Migration

If you are working on your project in XCode you will mostly use CoreData to handle the whole Data stuff. For this you designed a DataModel. Especially in the beginning of your project you need to change Attributes etc. very often in your DataModel. After changing something in your DataModel and build the project you [...]