I have started developing (mainly) iPhone apps late 2009 and I feel like I have some experience on iOS platform that I can share. I won’t be doing tutorial serias but just some tips and tricks.
Let’s start with some ui tips, there are 2 ways to make rounded views in iPhone. One is using layers which is inefficient way, second is using quartz in drawRect.
Using layers is really simple;
YourView *vw = [[YourView alloc] initWithFrame:CGRectMake(20, 20, 80, 80)];
vw.layer.cornerRadius = 16;
vw.layer.masksToBounds = YES;
simple. The right way is to handle in drawRect;
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:self.bounds byRoundingCorners:UIRectCornerAllCorners cornerRadii:CGSizeMake(16.0, 16.0)]; //Add a bezier path
[path addClip]; // and clip
Both two will same view.
I see my blog turns into iPhone Blog but I like this device This weekend I took some photos from my new toy new photos are taken in a cloudy day. I’ll try to take samples from different light conditions.
Here is a sample video take by iPhone 4S.
You have to visit this link to see it in full HD.
Here some photos taken by iPhone 4S.
There are hundreds of posts & thousands of page views about iPhone 4S Batter Life at Apple Support Forums. A few days, I’ve faced same problems a few days like I had no sim and sim failure errors, network losses and a few hours with full charge ! It seems problem is related directly with Apple but still there are solutions, at least two things worked for me;
1 – Changing SIM card with new one ( currently 64Kb micro sim ) solved network loss and sim failure errors.
2 – Turning off a few location based services;
- Settings -> Location Services On -> Siri Off
- Settings -> Location Services -> System Services -> Cell Network Search & Compass Calibration is On and everything else Off.
The result is surprising, my iphone batter is 70 % with 1 day standby and 1 hour usage.
You can still have 2 days standby with a few hours usage.
New iPhone’s camera is much better than expected, still I’m playing with camera. So, Its too early to evaluate and compare with other devices. What I want is to share two photos taken through this device.
Yesterday, my new iPhone App (extended version of Istanbul Guide) has been approved for sale on the App Store. New App provides more and rich content with additional features such as public transportation lines (metro & trams for now) and weather information for Istanbul.
So far, your ideas helped me to improve the application to be more useful. Thank you for sharing your ideas with me. I’d be happy to see feedbacks.
A few days ago Apple approved my iPhone Application and Istanbul Guide is available to download for free on App Store since 14 January 2010. So far, feedbacks are positive and I’ve decided to go on and improve it, actually I’m going to put the things that I have removed and also, implement some new features.
The first app is developed to learn about platform and the application approval process which was a real pain. I’m hopping the next time, it will be easier to publish an app on app store.
I want to share some data about the app, despite it has been online for 6 days, the application is downloaded almost 1K, yes, almost 1000 times. Most of the downloads come from Turkey and followed by european countries like Denmark, Netherlands and those are followed by the US.
I want to thank everyone who downloaded the app.
I have played most of the popular application development platforms available today from Microsoft’s .Net to open source platforms on unix/linux with python/php/java/c++ … etc. However, I couldn’t had a change to develop for Mac OS X platforms till having a Mac.
Spending a few weeks (not full time) for learning and developing for Mac OS X is enough and fun. Learning Obj-c is not a big issue but it takes some time to get familiar with the libraries and frameworks. I made my choice to build an iPhone application as a start point and made a simple hello iphone world application and called it “Istanbul Guide”.
Application contains some popular places in Istanbul for the tourists and also, provides some basic information like text, photo and the current distance about locations. As I said app is not a big deal (some screens shown below), wait for the killer ones …
Also working on a page to provide my iPhone App statuses.