June 2010

Part 5: File System stuff and path to Documents directory – A .net developer learns objective-c for iPhone iPad

Some quick info for the file system on the iOS. Documents – persists data and is backed up when you connect itunes. tmp – used for your temp app stuff. Not to persist data and you should clean up that directory whenever possible by your app. Library/Caches – persists app specific data between launches of the app. Not backed up. Library/Preferences – app specific preference settings data (but use CFPreferences API), Gets backed up. More info at apple’s site here.   Quickly get the path to your Documents directory here: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0];// get a file called foo.xmlNSString *filePath = [documentsDirectory stringByAppendingPathComponent:@”foo.xml”]; Getting the tmp directory is a bit easier: NSString *tmpDir = NSTemporaryDirectory();

Part 4: Talking to an asmx web service – A .net developer learns objective-c for iPhone iPad

So here i am reading up on how the cocoa touch framework doesn’t have support for working with xml too easily and its not an easy task to undertake in manually parsing a soap xml… when along comes something so amazing i may have wee’d my pants a little. Behold http://sudzc.com SudzC is an amazingly helpful website where you simply pass it a url to an asmx or upload a wsdl file, it spits you out a fully fledged example project along with reference documentation and the source code you’ll need to include to make webservice communication as easy as… Important stuff is the: [service … line and the Completed action (or event in .net speak) it returns. I simply just spat some stuff out to the log to see some results. What’s is awesome and worth mentioning (again) is what is in ws.iPhone.zip\Source\Examples. From within the zip you get… Read More »Part 4: Talking to an asmx web service – A .net developer learns objective-c for iPhone iPad

IIS 7 WordPress permissions Could not create Temporary file

When hosting wordpress on iis 7, the ability to upload images from blog post tools like Live Writer and the ability to automatically update plugins is controlled by the permissions set both within IIS and within the directory structure that IIS accesses. The account that holds the key to the success is the “Users” account, unlike other versions of IIS. WordPress 3.5 Manual Fix Below is the manual fix you can apply to be able to get your WordPress 3.5 install working correctly, there are two options that should work. 1) In the file wp-config.php, add the following line before “That’s all, stop editing” define( ‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’ ); or 2) In the file /wp-includes/class-http.php comment out lines 144 and 145, which look like the following: if ( ! is_writable( dirname( $r[‘filename’] ) ) ) return new WP_Error( ‘http_request_failed’, __( ‘Destination directory for file streaming does not exist or is not… Read More »IIS 7 WordPress permissions Could not create Temporary file

Part 2: Nappies and training wheels – A .net developer learns objective-c for iPhone iPad

Just going through some early podcast videos from the Cocoa Touch Netcast www.cocoatouchnetcast.com (search cocoatouch netcast in the itunes store). The first video is good going off the back of the videos mentioned in my last post. The 2nd video ep 2: Slider is also helpful. It clearly explains Class inheritance (a class is your code, classes can be inherited from super classes bringing with it certain functionality), actions and outlets (the way which the UI interacts back and forth with the code) and a good demo of a basic slider control flinging left to right adjusting with it the text in a label of the sliders current position. A good hello world (without the text hello world). Have a good pause at 11mins into it for a good screen explaining actions and outlets. [ViewController] outlet -> points to label action -> references a slider’s event So the code in… Read More »Part 2: Nappies and training wheels – A .net developer learns objective-c for iPhone iPad

Part 1: Baby steps – A .net developer learns objective-c for iPhone iPad

What is this? A series of blog posts about a staff member at InteractiveWebs (.net developer since .net went 1.0) taking on the challenge of transitioning to iPhone and iPad development. Brief context: Every day we live with "Object not set to an instance of an object" or "modify the web.config" this or "I’m not a xaml designer" that. Hang on a second, if I am frustrated by using Microsoft technology well developing for it is equally frustrating. But if using Apple technology is the equivalent to geek crack, then I wonder if developing for Apple and its devices are an equally enjoyable experience. Where am I at? Had a play with Monotouch http://monotouch.net and it seems like a logical step for someone like me. However it did dawn on me that I’m trying to move away from the .net way of life so in a way monotouch seems a… Read More »Part 1: Baby steps – A .net developer learns objective-c for iPhone iPad

DotNetNuke Email Marketing Module

Bulk Emailer – Advanced DNN Email Bulk Emailer is the most advanced fully featured email manager module for DotNetNuke. Use Bulk Emailer to deliver rich personalised and dynamic content to DNN users, custom lists, and integrated CRM contacts. Automatically track who clicks on a link in your campaign, and send them a follow up email about the product or service. Run a regular newsletter and provide an opt-in option to new customers who will then receive past campaigns at a defined acceptable rate. Allow recipients to auto unsubscribe to your lists automatically, meeting international SPAM laws on e-mail. Automatically monitor how successful a campaign is, and many more advanced features all explained in a 90 page colour manual. Rock Solid Reliability Our entire engine is SQL database driven. Host processes, server services, and even server reboots will not interrupt the send process. The DNN scheduler process will pickup where it… Read More »DotNetNuke Email Marketing Module

DotNetNuke Video Library – Silverlight 4 Released

DotNetNuke (DNN) Silverlight Video Library 4.0 This custom module from InteractiveWebs is the most advanced Video module for DNN. Taking advantage of Silverlight 3.0 and offering advanced Silverlight features and rich end user experience. The speed and experience with the client side application is second to none as a video player. Full screen, chapter browsing, and streaming download experience is remarkable. This is the first DotNetNuke module to offer this advanced Silverlight functionality and is a taste of things to come in Custom DotNetNuke Module Development form InteractiveWebs. Rock Solid Reliability Built on top of years of DNN Custom Module development experience. This module uses the proven DNN Silverlight Video Module and adds many new Silverlight UI features. Easy to Use Using the power of Silverlight 3.0 we have designed a user interface that is smooth and intuitive to end users. You can pass this module to your most inexperienced… Read More »DotNetNuke Video Library – Silverlight 4 Released


HSV GTO & GTS Coupe (December 2001) GTS Rim HSV believes the GTO and GTS Coupe, based on the Holden Monaro coupe, will turn the high performance luxury market on its head The Coupes, officially unveiled at HSV’s state of the art new headquarters in Clayton, VIC, will sell for $73,750 and $94,750 respectively. And HSV managing director John Crennan believes it’s the high-end Europeans that should be worried. "I believe that, if the HSV Coupe was released as is but with BMW badges, the price would be $150,000-plus." He sites BMW’s M3 coupe and M5 sedan, as well as high performance metal from Mercedes-Benz, as potential victims at the altar of HSV’s first ever two-door. Bold stuff, indeed. Whether mentioning the HSV Coupe range in the same breath as established supercars from Germany is a clever marketing association, or an honest appraisal of the Coupe’s ability remains to be… Read More »GTS RIM

iPhone 4 has Video Call – Announced WWDC 2010

Thanks to http://www.engadget.com "So in 2007 when we launched the iPhone, it was my privilege to make a call to Jony Ive… and I’m going to do the same thing now." Boom, video call.   Now the iPhone 4G running on the iOS4 has built in video call “You know I grew up with the Jetsons… and video calls… and now it’s real. What about you?" Jony: "I grew up with the same thing, and it’s real now!" Steve: "It is real… especially when people turn off their WiFi." Jony: "We’ve had to wait an awful long time for this to become reality." Steve: "Okay, let’s have lunch soon." It’s called FaceTime. WiFi only. iPhone 4 to iPhone 4. No setup. 11:38AM Wow — very cool. Two people speaking in sign language on the phone. We’re getting a little choked up! That’s a pretty cool use. 11:38AM Wow. You can… Read More »iPhone 4 has Video Call – Announced WWDC 2010

iBooks for the iPhone 4 on iOS4 with the new Apple iPhone 4G

Thanks to www.engadget.com – almost as good as being there! “iBooks. We are bringing it to the iPhone with the iPhone 4." "We’ll have it on the iPhone, the iPad, and the iPod touch. What can we do with these together? First, you can purchase and download a book. It will download wirelessly. You can download the same book to all your devices at no extra charge. Buy it on your iPad, download to your iPhone. And iBooks will automatically and wirelessly sync your current place, all your bookmarks, and all your notes." No extra charge? We’ll take it.     With notes able to be added!

What is iPhone 4 Retina Display?

Thanks to www.engadget.com at WWDC   10:36AM "Second one, this is a biggie. Something we call the Retina Display. What’s that? In any display there are pixels. We dramtically increased the pixel density, Four times the amount." 10:37AM "Why is that important? Let’s say we want to draw the letter A — as you can see, we can get far more precision. And we play all sorts of tricks." He’s showing anti aliasing. 10:37AM "Because we have four times as many pixels, we get really, really sharp text. Now the retina display as 326 pixels per inch." Wow.