Recent Comments
Archives
Author Archives: diziet
One problem with objects being so closely tied to the underlying DB in Core Data.
Why does the following code throw an exception and immediately sig kill on the second iteration at [e nextObject]: for (NSManagedObject *current in categories) { if ([lowercaseName isEqualToString:[current.name lowercaseString]] && category != current ) { // Move all the recipes. … Continue reading
Posted in Programming
Tagged Core-Data, objective-c
Comments Off on One problem with objects being so closely tied to the underlying DB in Core Data.
Why Fable 3’s 360 bugs piss me off but New Vegas’s PC ones didn’t.
A lot of it, possibly, can be attributed to the platform. On the PC I could, as far as possible, do things about the problems that vexed me. Although I never had a problem with slow down I did install … Continue reading
Posted in Games
Comments Off on Why Fable 3’s 360 bugs piss me off but New Vegas’s PC ones didn’t.
Camera issues!
I’ve known since the start that the UIImagePickerControllerDelegate code I was using was deprecated so I’ve finally gone through and updated it. The changes were implemented to allow support for video I believe not that I’ll be needed those extensions. … Continue reading
Posted in Programming
2 Comments
Progress doesn’t always feel like progress.
So many changes have been made, which doesn’t always feel like you’re getting anywhere. I’ve made it so that Recipes sent in any form are transmitted as JPEG’s at 50% quality, it seems you can set the quality level of … Continue reading
Posted in Cooking, Games, Programming
Tagged Cooking, ipad, iphone, New Vegas, Programming
Comments Off on Progress doesn’t always feel like progress.
I should of known it would be the relationships causing trouble.
Converting the JSON messages back into managed objects should be quite simple. You loop around your dictionary converting stuff back. A useful shortcut is provided by the managed object function setValuesForKeysWithDictionary. Given that the dictionary came from a managed object … Continue reading
Posted in Programming
Tagged Core-Data, NSManagedObject, setValuesForKeysWithDictionary
Comments Off on I should of known it would be the relationships causing trouble.
iPad rotation problems, an update.
So having created a separate test app which does not exhibit the problem I ported some of that code into my app which then starts to exhibit the issue I conclude that the problem lies within the view containing the … Continue reading
Posted in Programming
Tagged ipad, objective-c, SplitViewController, TableView
Comments Off on iPad rotation problems, an update.
Some quick math about the app store.
If we image the following, slightly unrealistic, scenario: 1) That I’d like to recoup the cost of my Mac. 2) That I’d like to recoup the cost of the developer program for 1 year. 3) That I’d like to draw, … Continue reading
Posted in Miscellany
Tagged App Store, Apple, Profit Margins
Comments Off on Some quick math about the app store.
A few iPad differences/bugs to squish.
Whilst working on the code to email recipes as PDF’s and whatnot I’ve had the opportunity to give the iPad version of the code a thorough going over. I’ve encountered a few bugs. Some are technically present in the iPhone … Continue reading
Posted in Programming
Comments Off on A few iPad differences/bugs to squish.
That’s quite enough of that for the day.
So in conclusion we have established the following: 1) Recipes with all the photos embedded could be quite epic in size. 10-20 MB perhaps. 2) Bluetooth will only send around 100kB in one call. 3) You can implement a state … Continue reading
Posted in Programming
Comments Off on That’s quite enough of that for the day.
Should have read the Gamekit docs.
Damnit. Got everything working and then got errors during the first tests: 2010-10-19 18:34:14.969 Cooking Companion[1369:207] AGPSessionBroadcast failed (801c0001) It would appear that I’m limited to 95kB. Sadly I am trying to send: (gdb) print (NSUInteger)[data length] $4 = 387339 … Continue reading
Posted in Miscellany, Programming
1 Comment