Monday, September 7, 2009
Core Data save hiba es NSError Array (1560) kiiratasa
UIImage betoltese bundle-bol
[UIImage imageWithContentsOfFile:
[[NSBundle mainBundle]
pathForResource:@"thefilename"
ofType:@"jpg"]];
Glyphysh - 120 icons for iPhone applications
UIImage trukkok
NSData *imageData = [[NSData alloc] initWithContentsOfFile:filePath];
UIImage *img = [[UIImage alloc] initWithData:imageData];
UIGraphicsBeginImageContext(CGSizeMake(75.0,75.0));
[img drawInRect:CGRectMake(0.0, 0.0, 75.0, 75.0)];
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
NSData *thumbData = UIImageJPEGRepresentation(newImage, 0.5);
[thumbData writeToFile:thumbPath atomically:YES];
- Combine 2 UIImages
- Create a UIImage from a part of another UIImage
- Save UIImage to Photo Album
Thursday, September 3, 2009
UITableViewCell beszurasa UITableView-ba
[self.tableView insertRowsAtIndexPaths:myObject withRowAnimation:UITableViewRowAnimationFade];
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];
Wednesday, September 2, 2009
Saturday, August 29, 2009
UIActivityIndicatorView
Fontos, hogy a hidesWhenStopped property default YES, tehat ha nem inditjuk el a porgest a startAnimating-gal es nem allitjuk be a hidesWhenStopped-et NO-ra akkor hiaba pakoljuk ki valahova a View-t, nem fogjuk latni.
Tuesday, August 25, 2009
Monday, August 24, 2009
Kepek leszedese iPhone-rol
With familiar System Preference functionality, Cameras allows you to manage what happens when you connect your:
- Digital camera
- iPhone
- Digital media reader
- Any photo device
In addition to launching a specific application when you connect a camera, you can also have your images download automatically. Never again spend time launching the right app or quitting apps that you didn't want to launch.
Friday, August 14, 2009
Maximum hossz beallitas UITextField-ben es UITextView-ban
- A View implementalja aUITextViewDelegate vagy UITextFieldDelegate protokollt.
- UITextView eseten a textView:shouldChangeTextInRange:replacementText method-ban, UITextField eseten pedig a textField:shouldChangeCharactersInRange:replacementString method-ba kell tenni az ellenorzest
Wednesday, August 12, 2009
thumbnail betoltese UITableViewCell-be
IBOutlet UIImageView *image;
...
@property (nonatomic, retain) IBOutlet UIImageView *image;
NSString *filePath = ...;
[[cell image] setImage:[[UIImage alloc] initWithContentsOfFile:filePath]];
Tuesday, August 11, 2009
Hova teszi a Simulator a kepeket es a thumbnaileket
Monday, August 10, 2009
Video lejatszasa iPhone-on
nehany cikk a UIImagePickerController-rol
- airsource: Views of UIImagePickerController
- Lajos Kamocsay: custom UIImagePicerController camera view
- Life in The Clouds: Recorded video from iphone 3gs
dot notation vagy bracket notation
- Hasznaljunk @property deklaraciot az object state-jeinel es ezeket dot notation-nel hivjuk.
- Hasznaljunk method deklaraciot az object behavior-jainal es ezeket bracket notation-nel hivjuk.
Tuesday, July 21, 2009
Mark Johnson az iPhone memoriakezeleserol
Friday, July 17, 2009
Hova ment UIImageWriteToSavedPhotosAlbum Simulator-ban
Wednesday, July 15, 2009
Adatatvitel lite versionbol fizetosbe
UIView atmeretezes az IB-ben
Monday, July 13, 2009
Introduction to Property Lists
Memory Management Programming Guide for Cocoa
ketujjas muveletek az iPhone Simulatorban
Thursday, July 9, 2009
UITableView
Loggolas XCode-ban
Logs an error message to the Apple System Log facility.
void NSLog (NSString *format, ... );
Discussion
Simply calls NSLogv, passing it a variable number of arguments.
Availability
- Available in iPhone OS 2.0 and later.