Wednesday, July 27, 2011

Road to devLink: Services & App Store

I am writing this post after pushing the following commits:


iOS App: 1cb26d2

Server: e2d8d02


In this commit, I have set up the first redimentary calls from the iOS app to my web service. The web service is written in node.js with a couchdb backend. I think I am going to make this one short, as the content here is more stuff that I am learning that it is stuff that I plan to cover at devLink.


iOS App

I added a lot of code I have been building up over time. I added some categories that I find helpful. I also added some stuff to manage asynchronous NSURLConnection calls. I parse the json to NSDictionarys and NSArrays using this code by Stig Brautaset.


I wrote some unit tests to validate the communication between the iOS app and the service. I was able to sort-of sleep the main thread for the tests for an arbitrary amount of time while it waits for the web call to return. It works, but it feels klunky. At any rate, these are probably more integration tests than real unit tests. Whatevs, I am not too concerned. It gets the job done.


Services

I created a README.md file, you can see that in the github branch here. That has links to the things you will need to install (node.js, npm, and couchbase). It also has some example documents that refer to the Candy Store products for sale from the App Store.


In-App Purchase Items

In iTunes Connect, I created the IAP items that will be used by Candy Store. Though it was a rather tedious effort of entering data in web forms, it was not very difficult. The best resource to guide you through the process is the iTunes Connect Developer Guide. There is also an excellent video from this year’s WWDC on In-App Purchases. Pretty much, these two things are helping me fumble through my app. Both of these resources require you to be registered in the Apple Developer Program.

53 comments:

Logan Jack said...

I was suggested this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my trouble. You are wonderful! Thanks!Nice blog here! Also your web site loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol iphone psd

Yousufzai said...

When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Many thanks! device mockup

MtomSEO said...

Top post Genachowski’s less than artful weaving of net neutrality and consumer privacy | Law and Politics of Broadband you’ve surely influenced all of us FYI have you read Middle East amazing headlines! Enjoy your day ! Flash Website Design tablet mockup

jhone than said...

Rattling excellent info can be found on web blog . android phone template

MtomSEO said...

I am really loving the theme/design of your web site. Do you ever run into any browser compatibility problems? A few of my blog readers have complained about my website not working correctly in Explorer but looks great in Chrome. Do you have any tips to help fix this issue? apple app store mockup

MtomSEO said...

Loving the information on this web site , you have done great job on the posts . app screenshot

mtom said...

"We are a friendly bunch. We assure you that you will find our team professional and understanding. We are committed to providing you a great service, one that you will remember.
Website:https://www.alizasolutions.com/
Address:1st Floor Alperton House, London, UK, HA0 1EH.
Phone:0044 7449 186 664" logo services in usa

Stream Line said...

Thank you for such a fantastic blog. Where else could anyone get that kind of info written in such a perfect way? I have a presentation that I am presently working on, and I have been on the look out for such information imac mockup free

sdexter said...

You created some excellent tips at this time there. I did searching around the topic and discovered most everyone will recognize in your web site. imac mockup png

khanabaaz said...

Hi there, just became alert to your blog through Google, and found that it’s really informative. I am gonna watch out for brussels. I’ll be grateful if you continue this in future. Numerous people will be benefited from your writing. Cheers! imac mockup

James jones said...

You could certainly see your enthusiasm in the work you write. The world hopes for more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart. imac mockup free

Unknown said...

Excellent blog right here! Also your site a lot up very fast! What web host are you the use of? Can I am getting your associate link to your host? I want my site loaded up as quickly as yours lol desktop mockup

jhon said...

Thank your for share. I hope you will share again. imac template

khanabaaz said...

Nowhere on the Internet is there this much quality and clear information on this subject. How do I know? I know because I’ve searched this topic at length. Thank you. watch mockup

jhone than said...

just couldn’t leave your web site before suggesting that I really loved the standard information a person provide for your visitors? Is gonna be again ceaselessly to check up on new posts apple watch mockup psd

Walkeaz said...

Good job on this article! I really like how you presented your facts and how you made it interesting and easy to understand. Thank you. app development company

Stream Line said...

Thank you, I’ve just been searching for information about this topic for a while and yours is the greatest I’ve discovered till now. But, what in regards to the conclusion? Are you sure concerning the supply? top app developers

Unknown said...

Dude.. My group is not considerably into looking at, but somehow I acquired to read several articles on your blog. Its fantastic how interesting it’s for me to visit you fairly often. website tips

khanabaaz said...

Spot on with this write-up, I truly assume this website wants much more consideration. probably be again to read much more, thanks for that info. top web design agencies

khanabaaz said...

Maximize your by how a large amount of gear are employed internationally and will often impart numerous memory using that your is also fighting that is a result from our team rrnside the twenty first centuries. daily deal livingsocial discount baltimore washington website design company

Walkeaz said...

I am glad to be a visitor of this consummate web site! , appreciate it for this rare info ! . interface designer

Unknown said...

I was recommended this blog by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my problem. You’re incredible! Thanks! ui/ux designer

khanabaaz said...

Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates. ui ux design

Unknown said...

Hmm it appears like your website ate my first comment (it was super long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but I'm still new to everything. Do you have any points for novice blog writers? I'd certainly appreciate it. front end developer

Unknown said...

I like this blog so much, saved to my bookmarks . front end website developer

Gexton Apps said...

Your blog is informative ad helpful for others. Keep sharing it.mobile app development company

uzairalighori said...

I found your blog on yahoo and can bookmark it currently. carry on the nice work. CROSS COUNTRY CAR SHIPPING SERVICE IN JACKSONVILLE FL

bar glass cleaner spray said...

A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. A-1 Auto Transport - Virginia Interstate Long Distance Movers Near Me

uzairalighori said...

I am glad to be one of many visitors on this outstanding web site (:, thanks for posting . A-1 Auto Transport - Car Transport California Near Me

fzlseo said...

What is great respecting is dealing with instead of depending on. Dysport

beth dutton jacket said...

Get your hands on our timeless Western outerwear at The Yellowstone jackets for men women with Free Shipping Worldwide Easy Returns

fzlseo said...

We guarantee authentic brands avoiding inferior commercial imitations, or even dangerous counterfeits. Monopoly Go Free Dice Links

fzlseo said...

I genuinely treasure your work , Great post. instagram pro 2

fzlseo said...

Hmmm, I am not therefore ‘ consider every little thing the following, but you do offer a important information with this make a difference. I’ll instruct me personally plus revisit at a later date. bhutan teer result

fzlseo said...

Thanks for this post, I am a big fan of this website would like to go on updated. Private Instagram Viewer

UFABETแทงบอลบนมือถือที่ดีที่สุด said...

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. UFABETแทงบอลบนมือถือที่ดีที่สุด

captain said...

I really treasure your piece of work, Great post. nexus slot

blog comments said...

I will build 500 manually high da pa blog comments link building blog comments

Wellness said...

Empower yourself with evidence-based health advice, workout routines, and nutritional insights from our fitness experts"

fzlseo said...

Thank you for your very good information and respond to you. used car san jose Remington Coconut Smooth Hair Dryer D5901

Personalized learning said...

"Framewreck" aptly describes the dismantling of traditional education models in favor of personalized learning. This shift recognizes each student's uniqueness, fostering tailored learning experiences that empower them to thrive.

Muscle gain said...

FreakToFit is a platform for readers who want to motivate to live a fit and healthy lifestyle. Here we hold your hand in your fitness journey. Muscle gain

Candle Molds Silicone said...

Discover the best collection of candle molds and supplies for candle making. Choose from a wide selection of silicone molds, metal molds, and more! Candle Molds Silicone

SMM Experts said...

Thanks for sharing such a useful insight and you visit Social Media Marketing Service for the latest trends

Anonymous said...

"Great post! I've been following this blog closely and I must say, it's been impressive! The insights provided, especially in the final section, are incredibly valuable. I've been on the lookout for this kind of information for quite a while. Thanks a ton and best of luck!" cheap best sewing machines

Haider11 said...

thank you for your interesting infomation. trump vs the illuminati

Anonymous said...

Do you sometimes feel that even after spending a lot of money, your sewing machine is not working as accurately as you wanted it to be? Have you ever thought of learning about the best sewing machine under 150? There is no harm in investing in one such machine with advanced features, but it is also affordable. best sewing machine under 150

cheap best sewing machines said...

Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading.
cheap best sewing machines

Anonymous said...

This shuttle service offers a stress-free and hassle-free travel experience, allowing you to sit back, relax, and enjoy the ride! You'll be picked up from your

PerkasaJitu said...

This article was a delightful read! The depth of research and the clarity of expression made it truly engaging

login perkasajitu

driveway installer near me said...

Elevate your home's curb appeal. As expert walkway paver and contractor in Grapevine, we specialize in creating stunning outdoor spaces. Contact us today! driveway installer near me

bizzehub said...
This comment has been removed by the author.
prabujitu said...

This article was a joy to read. The insights and clarity provided on the topic were second to none. Excellent job by the writer!

prabujitu
prabu jitu