Recent Comments
Archives
Monthly Archives: October 2010
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
So… overclocking.
My main system is a Q6600 with 4GB of 400Mhz DDR2 (e.g. 800Mhz). This is slightly overclocked to 2.64Ghz (lit. 2637.7Mhz) and 439.6Mhz for the RAM. It used to be higher but I think I burnt out the ram and … Continue reading
iPad grouped tableview bug.
I can’t take any credit for the solution, which is from here: http://stackoverflow.com/questions/2688007/uitableview-backgroundcolor-always-gray-on-ipad That was annoying as the colour would set fine on the iPhone and the code was identical. It was the final thing that was making the app … Continue reading
Posted in Photography
Comments Off on iPad grouped tableview bug.
At last… combining the two approaches worked.
I had a problem originally getting things to work with a split screen view on the iPad. The main reason was due to the fact that I was porting over code and didn’t quite know yet how it would all … Continue reading
Posted in Programming
Comments Off on At last… combining the two approaches worked.
Delicious Library and Me
I’ve been cataloguing a lot of stuff that I have with a view to selling it. Having got the new mac I checked to see if my code for delicious library still worked, which it did. Since then I’ve realised … Continue reading
Posted in Miscellany, Programming
Tagged applescript, delicious library
Comments Off on Delicious Library and Me