sweetsnippets RSS

lifeandcodeby
sweetchili

elsewhere
appcorn
twitter
mynameise

Archive


Nov
1st
Sun
permalink

Long time in silence

Sooo… it’s been a while since last time I wrote on this blog. A lot of things have happend in my life.

cubeofcocoa

A studentproject started around August last year. Our focus was to develop our skills in Mac/iPhone development. When we begun our work on the thesis we got a big project. Blocket.se (Swedens biggest private sale market site). We understood that this was what we wanted to do after the school. One more guy joined the team. His focus was to develop the buisness parts of the project. And that’s only the beginning. That was the time we evolved our vision, Appcorn.

appcorn

Is a result of the cubeofcocoa studentproject. A company built by Me, Niklas Jonson, Martin Alléus and Magnus Johansson. We really got great start. Our first application (Blocket) took it to the first place in the category top 10 free apps on App store in less than 10 hours.

The next client we had was SvD (Svenska dagbladet, a Swedish newspaper). We develop and designed SvD Quiz, a quizzing application for iPhone. It has been fighting on the top paid list for a while. It has even been at the top for a several weeks. That is of course very fun and inspiring. Our focus in the company has always been quality in software and it feels great to get this great feedback from the users.

We even did a small iPhone project for Sweden social web camp. A event that took place at Tjärö in Sweden in August.

At this moment we’re working on an iPhone client for Ambadoo and our trainee working on the android client. Inspiring! A lot of things going on at the office and I looking forward to all these cool and fun project we got ahead.

-

I plan to write a serie in the couple of weeks by the subject ‘Learing by doing - Android development’. Follow the serie here on the blog and at github.

Happy coding!


Comments (View)
May
21st
Thu
permalink
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off
— Bjarne Stroustrup
Comments (View)
Mar
4th
Wed
permalink

Fix for "<Error>: user mobile has uid 501" while trying to install app on device.

Do you get: <Error>: user mobile has uid 501 while trying to install you application on the device? I found a solution (jailbroken)

1) Install openSSH from Cydia.

2) ssh root@you-iphone-ip

3) Type yes

4) default password is alpine (I strongly recommend you to change this by typing passwd new-password )

5) cd .. \ .. \ .. /private/var/mobile/Media/PublicStaging/

6) rm -r your-app-name.app/

7) Clean all targets from the Xcode build menu.

8) Build and go!

Comments (View)
Feb
20th
Fri
permalink
Comments (View)
Feb
17th
Tue
permalink
Comments (View)
Feb
13th
Fri
permalink

Integrate address book features in your application.

So if you want to integrate the address book into your app or maybe just learn how to do that? When I first tried to figure it out it was a bit complicated. That was then I promisied myself to write blog post about it.

Anyway, lets get started! Create a new navigation based project and name it to “AddressBook”. The first thing you have to do now is to add the frameworks we’ll need. Right click on the frameworks folder and navigate to add/add existing frameworks… Add both AddressBook and AddressBookUI. Navigate to your root view controller and import those two frameworks and also create a method - (ABRecordRef)personObject;


Allright. Our basic setup is done. Lets go ahead a make a cell for adding a contact. Dont forget to return at least 1 in tableView:numbersOfRowsInSection


Here comes the tricky part. Lets write some Address book code!


Now what? Thats not cool! Lets use the AddressBookUI to sweet things up a bit. All you really have to do is to create a new ABNewPersonViewController, set the delegate and push it into the navigation controller. Dont forget to implement the protocol in the header file.


Implement the ABNewPersonController and pop it back. The cool thing about this is that cocoa touch will automagical save the new contact if you tap the save button.


Happy coding!

Comments (View)
Feb
12th
Thu
permalink
There are two reasons why you have probably never heard of the SRV record:
1) No one use it.
2) Only a DNS server can advertise the service.
— Aaron Hillegass
Comments (View)
Feb
9th
Mon
permalink
Comments (View)
Feb
5th
Thu
permalink
Comments (View)
Feb
1st
Sun
permalink
Comments (View)