Thursday, October 13, 2011

new iphone Tutorial 7


new iphone Tutorial 6

new iphone Tutorial 5


new iphone Tutorial4


new iphone Tutorial3


new iphone Tutorial2


new iphone Tutorials

NSUndoManager

Undo/redo capabilities are provided by the NSUndoManager class. The class, documented here, works by keeping a stack of messages that, if sent, would serially undo the last action, the penultimate action, and on back until arriving at the initial state.
Let’s use an example to illustrate how this works: our city, concerned with a perceived increase in the number of trucks plying our streets, has commissioned a census. City workers will tally truck traffic using an iPhone app. See a truck, tap a button. Oops! Mistook that Subaru Forester for a truck? Shake to undo.
We’ll start with working code that lacks undo/redo and add those capabilities. Grab the code to follow along:
Source/GitHub
The code for this tutorial is available on GitHub. To download a copy for yourself, clone the repository:
  1. Open a terminal and change to the directory where you want the code
  2. Clone the repo by typing git clone git://github.com/dcgrigsby/TallyTrucks.git

Wednesday, October 12, 2011

Old iphone Tutorials 1


Factory Unlocked iPhone 4 Prices


Factory Unlocked iPhone 4 Prices

factory-unlocked-iphone4
The prices of factory unlocked iPhone 4 haven’t been announced yet by Apple. At the time of writing this post, Apple has announced iPhone 4 for five countries alone, and none of them have factory unlocked iPhone 4. Apple is expected to announce iPhone 4 in 55 more countries in July 2010 which might include countries like Hong Kong, Australia, Belgium etc which will definitely get legally unlocked iPhone 4 versions.
If we go by the prices of iPhone 4 in US, which are exactly same as those for iPhone 3GS models (whose prices were reduced after the launch of iPhone 4), we expect the cost of factory unlocked iPhone 4 in Hong Kong to be-
iPhone 4 – 16GB (factory unlocked): HK$ 5,388 i.e USD 695 (or 570 Euro) *approx*
iPhone 4 – 32GB (factory unlocked): HK$ 6,288 i.e USD 812 (or 667 Euro) *approx*
Beside HK, Apple stores in NZ and Australia might also get iPhone 4 but at not-so-cheap prices, as the service providers are only authorized to unlocked iPhone 4. The approximate expected prices of iPhone 4 are
iPhone 4 16 GB (factory unlocked):
New Zealand 1,150.00 NZD = 655.033 EUR = 791 USD
Australia 879.00 AUD, 617.287 EUR, 746.991 USD
iPhone 4 32 GB (factory unlocked):
New Zealand 1,349.00 NZD, 928.172 USD, 768.422 EUR
Australia 1,040.00 AUD, 882.469 USD, 730.121 EUR
Keep a tab on this post for updates as and when official prices of iPhone 4 factory unlocked versions are announced.
Update 1: Surprise!! surprise!! Apple has announced unlocked iPhone 4 in UK, France and Canada at not so pleasing prices
Factory Unlocked iPhone 4 16GB in UK – £499
Factory Unlocked iPhone 4 32GB in UK – £599
Factory Unlocked iPhone 4 16GB in France – €629
Factory Unlocked iPhone 4 32GB in France – €739
Factory Unlocked iPhone 4 16GB in Canada – $649
Factory Unlocked iPhone 4 32GB in Canada – $749

Apple iPhone 4 launched in KOLKATA


Apple iPhone 4 launched in KOLKATA

May 27, 2011, 11.38am IST
KOLKATA: Eleven months after Apple's next-generation smartphone hit stores worldwide, the iPhone 4 was launched on Friday in India, the world's second biggest market for mobile phones.
Mobile phone carrier Aircel launched the iPhone 4 with a new pricing model, allowing customers to recover the upfront cost of the smartphone on select plans over 24 months, the company said in a press release. Aircel will charge Rs 34,500 for iPhones with a 16 GB capacity and Rs 40,900 for the 32 GB model, it said.
Declaring the roll-out of one of the most expected smartphones in the world by Bharti airtel here and in 34 other cities in India, Airtel CEO (West Bengal and Orissa) P D Sharma told media the iPhone 4 will create a separate space from the clutter of smartphones in the market, many of them having copied Apple features.
"iPhone 4 will stand out for its original applications and cater to the middle segment as well, with attractive pricing which will not create a pinch both in the long and short term," Sharma said on the sidelines of the launch here.
Asked about the delay of almost one year in the product arriving in India after its June launch in the US, Sharma said, "With third generation ( 3g) mobile networks only coming of age in recent times in India, there was no other option but the iPhone 4 to wait."
"The handset will be priced at Rs 34,500 with 16-GB capacity and Rs 40,900 with 32-GB capacity, which is attractive considering the long-term use. The set is powered by Apple's A4 (operating system), boasts of a retina display, FaceTime for video chat, 5-MP rear facing camera with LED flash and HD video recording," he said.
The iPhone 4 boasts a higher-quality screen and longer battery life than the previous model, he said, adding that Bharti already sells earlier models of the iPhone in India.
"With the high number of mobile users, smartphone market will grow in the country," he said.
The iPhone 4 was launched way back in June in the US, followed by other countries.
To the question if the pricing would offset the buying of the model at inflated rates over and above the $ 1500 price tag from the grey market, Sharma said that stage seems to have been over.
The iPhone 4 was launched in the city by Tollywood actress Paoli Dam, who was among the 35 celebrities in different cities of the country gifted a handset on the occasion of the launch.
"I am happy to possess one iPhone 4 from today. I have also been given a favourite number by Airtel, which I can memorise very easily. I am sure this handset will become a part of my accessory," Dam told media.
About whether she had been using Apple products earlier, the actress said, "I had been using Apple Mac."

iPhone 4 unveiled

Videos pertaining to breaking tech news or focusing on newsworthy happenings, such as keynote addresses and interviews, as it pertains to the world of tech. These videos are intended to be viewed by those looking for video on news.com or news videos on CNET TV.

Apple iPhone 4 16GB Software Unlocked


Specifications

Dual Sim
Frequency Band850/900/1800/1900
Color DisplayYes
Screen Size
Resolution960 x 640
Touch ScreenYes
BluetoothYes
Camera PhoneYes
Camera Pixel5.0
Camera FlashYes
Dual CameraYes
Video RecorderYes
FM RadioNo
MP3 PlayerYes
MMSYes
Web BrowserYes
3GYes
GPRSYes
EDGEYes
Handsfree SpeakerYes
Internal Memory16 GB
Expandable MemoryNo
WLAN/ Wi-FiYes
GPSYes
Full KeyboardNo
USBYes
Talk Time7 h 20 min
Standby TimeUp to 300 h
Dimension115.2 x 58.6 x 9.3mm
Weight137g

Features


iPhone 4. In so many ways, it`s a first.
While everyone else was busy trying to keep up with iPhone, we were busy creating amazing new features that make iPhone more powerful, easier to use, and more indispensable than ever. The result is iPhone 4. The biggest thing to happen to iPhone since iPhone.
Face Time
  • People have been dreaming about video calling for decades. iPhone 4 makes it a reality. With just a tap, you can wave hello to your kids, share a smile from across the globe, or watch your best friend laugh at your stories iPhone 4 to iPhone 4 over Wi Fi. And it works right out of the box. No other phone makes staying in touch this much fun.
Two Cameras Two Views
  • iPhone 4 has two cameras: One on the front, which focuses on you. And one on the back, which focuses on everything else. FaceTime lets you switch back and forth between them at any time during a video call. All you have to do is tap a button.
Retina Display
  • The Retina display on iPhone 4 is the sharpest, most vibrant, highest resolution phone screen ever, with four times the pixel count of previous iPhone models. In fact, the pixel density is so high that the human eye is unable to distinguish individual pixels. Which makes text amazingly crisp and images stunningly sharp.
Multitasking
  • iPhone 4 introduces a whole new way of multitasking. Now you can run your favorite third party apps and switch between them instantly without slowing down the performance of the foreground app or draining the battery unnecessarily.1 This smarter approach to multitasking is available only on iPhone.
HD Video Recording and Editing
  • Shoot your own movies in high definition. Capture impressive video even in low light settings, thanks to the advanced backside illumination sensor and built in LED light. Then edit and create your own mini masterpiece right on iPhone 4 using the new iMovie app with Apple designed themes, titles, and transitions.
5 Megapixel Camera with LED Flash
  • Take beautiful, detailed photos with the new 5 megapixel camera with built in LED flash. The advanced backside illumination sensor captures great pictures even in low light. And the new front facing camera makes it easy to take self portraits.
iPhone 4 Technical Specifications
Cellular and wireless
  • UMTS/HSDPA/HSUPA (850, 900, 1900, 2100 MHz)
  • GSM/EDGE (850, 900, 1800, 1900 MHz)
  • 802.11b/g/n Wi Fi (802.11n 2.4GHz only)
  • Bluetooth 2.1 + EDR wireless technology
Location
  • Assisted GPS
  • Digital compass
  • Wi Fi
  • Cellular
Power and battery
  • Built in rechargeable lithium ion battery
  • Charging via USB to computer system or power adapter
Talk time:
  • Up to 7 hours on 3G
  • Up to 14 hours on 2G
Standby time:
  • Up to 300 hours
Internet use:
  • Up to 6 hours on 3G
  • Up to 10 hours on Wi Fi
Video playback:
  • Up to 10 hours
Audio playback:
  • Up to 40 hours
Mac system requirements
  • Mac computer with USB 2.0 port
  • Mac OS X v10.5.8 or later
  • iTunes 9.2 or later
  • iTunes Store account
  • Internet access
Windows system requirements
  • PC with USB 2.0 port
  • Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
  • iTunes 9.2 or later
  • iTunes Store account
  • Internet access
Environmental requirements
Operating temperature:
  • 32 F to 95 F (0 to 35 C)
Nonoperating temperature:
  • 4 to 113 F ( 20 to 45 C)
Relative humidity:
  • 5% to 95% noncondensing
Maximum operating altitude:
  • 10,000 feet (3000 m)
Capacity
  • 16GB or 32GB flash drive
Color
  • White and black
Display
  • Retina display
  • 3.5 inch (diagonal) widescreen Multi Touch display
  • 960 by 640 pixel resolution at 326 ppi
  • 800:1 contrast ratio (typical)
  • 500 cd/m2 max brightness (typical)
  • Fingerprint resistant oleophobic coating on front and back
  • Support for display of multiple languages and characters simultaneously
Audio playback
  • Frequency response: 20Hz to 20,000Hz
  • Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV
  • User configurable maximum volume limit
TV and video
Video formats supported:
  • H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG 4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
  • Support for 1024 by 768 pixels with Dock Connector to VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)
Languages
  • Language support for English (U.S.), English (UK), French (France), German, Traditional Chinese, Simplified Chinese, Dutch, Italian, Spanish, Portuguese (Brazil), Portuguese (Portugal), Danish, Swedish, Finnish, Norwegian, Korean, Japanese, Russian, Polish, Turkish, Ukrainian, Hungarian, Arabic, Thai, Czech, Greek, Hebrew, Indonesian, Malay, Romanian, Slovak, Croatian, Catalan, and Vietnamese
  • Keyboard support for English (U.S.), English (UK), French (France), French (Canadian), French (Switzerland), German, Traditional Chinese (Handwriting, Pinyin, Zhuyin, Cangjie, Wubihua), Simplified Chinese (Handwriting, Pinyin, Wubihua), Dutch, Italian, Spanish, Portuguese (Brazil), Portuguese (Portugal), Danish, Swedish, Finnish, Norwegian, Korean, Japanese (Romaji), Japanese (Kana), Russian, Polish, Turkish, Ukrainian, Estonian, Hungarian, Icelandic, Lithuanian, Latvian, Flemish, Arabic, Thai, Czech, Greek, Hebrew, Indonesian, Malay, Romanian, Slovak, Croatian, Bulgarian, Serbian (Cyrillic/Latin), Catalan, and Vietnamese
  • Dictionary support (enables predictive text and autocorrect) for English (U.S.), English (UK), French, German, Traditional Chinese, Simplified Chinese, Dutch, Italian, Spanish, Portuguese (Brazil), Portuguese (Portugal), Danish, Swedish, Finnish, Norwegian, Korean, Japanese (Romaji), Japanese (Kana), Russian, Polish, Turkish, Ukrainian, Hungarian, Lithuanian, Flemish, Arabic, Thai, Czech, Greek, Hebrew, Indonesian, Malaysian, Romanian, Slovak, Croatian, Catalan, and Vietnamese
Camera, photos, and video
  • Video recording, HD (720p) up to 30 frames per second with audio
  • 5 megapixel still camera
  • VGA quality photos and video at up to 30 frames per second with the front camera
  • Tap to focus video or still images
  • LED flash
  • Photo and video geotagging
External buttons and controls
  • Sleep/wake
  • Ring/silent
  • Volume up/down
  • Home
Sensors
  • Three axis gyro
  • Accelerometer
  • Proximity sensor
  • Ambient light sensor
Connectors and input/output
  • 30 pin dock connector
  • 3.5 mm stereo headphone minijack
  • Built in speaker
  • Microphone
  • Micro SIM card tray
Headphones
  • Apple Earphones with Remote and Mic
  • Frequency response: 20Hz to 20,000Hz
  • Impedance: 32 ohms
In the box
  • iPhone 4
  • Apple Earphones with Remote and Mic
  • Dock Connector to USB Cable
  • USB Power Adapter
  • Documentation
Environmental Status Report
  • iPhone 4 embodies Apple`s continuing environmental progress. It is designed with the following features to reduce environmental impact:
  • PVC free handset
  • PVC free headphones
  • PVC free USB cable
  • Bromine free printed circuit boards
  • Mercury free LCD display
  • Arsenic free display glass
  • Majority of packaging made from post consumer recycled fiberboard and biobased materials
  • Power adapter outperforms strictest global energy efficiency standards
Mail Attachment Support
  • Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)
Size and weight
Height:
  • 4.5 inches (115.2 mm)
Width:
  • 2.31 inches (58.6 mm)
Depth:
  • 0.37 inch (9.3 mm)
Weight:
  • 4.8 ounces (137 grams)