Dec 6, 2009
Download counter and iWEB
Nov 28, 2009
1password Pro app is for free
Sep 2, 2009
iPhone 3Gs synchronization crashed iTunes
- I tried to restart iPhone/laptop.
- I tried to reinstall iTunes - was a stupid idea I guess, but I was seeking for any help...
- I tried to remove all podcasts - I read somewhere that it could be a problem for sync (google for that). Since today in the train I was watching/deleting some of my podcasts, I thought this could somehow make it happen, I mean the crash of iTunes :D
- I also tried different USB ports and so on and so on... I tried many times and always result was the same...
- I disconnected iPhone from the laptop,
- opened iTunes and in its settings I checked "Devices"->"Disable automatic syncing for iPhones and iPods",
- after that I connected the iPhone,
- and in the settings of sync I switched of a sync of podcasts (just in case),
- than it could successfully process the synchronization. After that I checked both changed settings to a previous states and it works now! In the automatic mode as well.
Jul 22, 2009
How to merge two independent git repositories
Jul 1, 2009
iPhone SDK 3.1 beta and iPhone OS 3.1 beta
iPhone SDK 3.1 beta and iPhone OS 3.1 beta are now posted to the iPhone Dev Center. These versions are for development and testing only and should be installed on devices dedicated to iPhone OS 3.1 beta software development.
In terms of API there are a number of new methods added to AudioToolbox, OpenGLES, QuartzCore and UIKit (UIImagePickerController and UIVideoEditorController were updated).
Release Notes:
Known Issues and Fixes
Xcode/Developer Tools
Xcode only searches for codesigning certificate identities in the default keychain as selected in Keychain Access.
You may only use
.png
files for application icons for the device.The iPhone SDK is designed for Intel-based Macs and is not supported on PPC-based Macs.
Xcode and the iPhone SDK only work in 32-bit mode; 64-bit mode is not supported.
When running and debugging on a device, be sure to turn off Passcode lock.
Trying to debug two applications at the same time on the same device fails with a broken pipe error in the debugger console.
Interface Builder
FIXED: If you use Interface Builder's
UITabBarController
inspector to add aUINavigationController
to a tab bar controller, the navigation controller will be set up to show its toolbar. The toolbar won't be visible in Interface Builder, but will be visible at runtime, which is surprising. The workaround is to select theUINavigationController
and uncheck "Shows Toolbar" in the inspector.In some upgrade scenarios from beta SDK releases, Interface Builder may be left with duplicate files, which causes errors such as: "Two plug-ins both integrate a class description for the class X." Removing
/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface\ Builder
and re-installing corrects the issue.AddressBook
Image thumbnails are not displayed when
ABPersonSetImageData()
is called before[ABPersonViewController setDisplayedPerson:]
.MessageUI
The Message UI framework exports class names without prefixes, which can cause namespace confusion. If you are using the Message UI framework, watch for compiler warnings about duplicate symbols. To avoid namespace issues, you can add prefixes to your own class names.
iPhone Simulator
iPhone Simulator does not support network home directories.
UIImage
You have to specify the image extension to
-imageNamed:
to get results.UILabel
UILabel
ignores itscontentMode
property.UIPasteboard
UIPasteBoardNameFind
is not populated automatically, nor is the value in the pasteboard used when displaying a search field.UIScrollView
After zooming, content inset is ignored and content is left in the wrong position.
UIScrollView
can be confused by overlapping touches in separate subviews.UIStringDrawing
UILineBreakModeTruncateHead
andUILineBreakModeMiddleTruncation
do not work properly for multiline text.UITableView
FIXED:
UITableView
can generate an exception when the data model changes during animation.
UITableView
no longer ignoresseparatorColor
.separatorStyle
is still ignored.A
UITableView
with sections cannot reorder a row to the bottom of the last section unless it started in that section.Applications linked on iPhone OS 3.0 or later will get the new table view cell layout.
It is very, very expensive to customize row heights (via
tableView:heightForRowAtIndexPath:
).Unable to resize table wider than the screen.
UITableViewCell
’saccessoryAction
property is deprecated. Instead, implement-tableView:accessoryButtonTappedForRowWithIndexPath
in your table view delegate.UITextField
No way to select all the text in a field if it exceeds the text field's visible area.
UITextField
cannot be made to resign first responder once offscreen.UITextView
Setting
UITextView.editable
toYES
should not automatically show the keyboard.UITouch
UITouch
is not adjusted when a layer has a transform applied to it.An application will not receive
UITouchPhaseBegan
if a swipe begins on or above the status bar.UIView
Many UIKit controls cannot be resized properly if initialized with a
CGRectZero
frame.
animationDidEnd
fires too soon and can cause animations to stutter if you do too much work in the callback.If a view subclass implements
-drawRect:
then the background color for that view subclass cannot be animated.UIViewController
A full-screen modal navigation controller doesn't display under the status bar in a non-full-screen window.
For applications linked prior to 2.2, view controllers within a navigation controller will only underlap a translucent navigation bar if their view is a scroll view. For applications linked to 2.2. or later, view controllers within a navigation controller will always have their view positioned to underlap a translucent navigation bar.
FIXED:If a
UITabBarController
has more items than can be displayed onscreen and the selected item on startup is within the More collection, changing the title of that item's view controller changes that view controller's title and the title of that item'sTabBarItem
. It also has the erroneous result that that item'sTabBarItem
is overlaid on the firstTabBarItem
.FIXED:View controllers added to a tab bar controller don't behave correctly when
hidesBottomBarWhenPushed
is set toYES
.FIXED: When view controllers are pushed onto the stack, toolbars with their translucency changed now hide correctly.
FIXED: Navigation controllers now respond correctly when popping from landscape view to portrait view.
UIWebView
UIWebView
does not make public itsUIScrollView
.
May 18, 2009
Swipe Delete From UITableView
-(void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
{
}
When a user hits DELETE you can process it:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
{
// If row is deleted, remove it from the list.
if (editingStyle == UITableViewCellEditingStyleDelete)
{
// delete your data item here
// Animate the deletion from the table.
[self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
}
}
May 12, 2009
Andrei Alexandrescu: "Iteratos Must Go"
Apr 15, 2009
Development under Mac OS X
- A terrible SVN support. For example, I didn't find a way to set SVN properties on files. Also SVN plug-in sometimes living its own live and could be doing something, which blocks all version control operations on files in XCode. I didn't find a better way to just stop that plug-in by restarting XCode.
- No way to define custom formating rules. Formating preferences are very weak: a couple of checkboxes and that's it... If you do Objective-C development, then in a couple of weeks you will used to default formating and syntax coloring XCode does. But anyway, I would prefer to have a bit more flexible formating settings.