Merge lp:~mikemc/ubuntuone-ios-music/back-to-5.1 into lp:ubuntuone-ios-music
Proposed by
Mike McCracken
Status: | Merged |
---|---|
Approved by: | Paul Hummer |
Approved revision: | 261 |
Merged at revision: | 259 |
Proposed branch: | lp:~mikemc/ubuntuone-ios-music/back-to-5.1 |
Merge into: | lp:ubuntuone-ios-music |
Diff against target: |
64 lines (+18/-5) 3 files modified
Music/View Controllers/AlbumViewController.m (+7/-1) Music/View Controllers/ArtistViewController.m (+8/-1) Music/View Controllers/UOIndexedViewController.m (+3/-3) |
To merge this branch: | bzr merge lp:~mikemc/ubuntuone-ios-music/back-to-5.1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Review via email: mp+154126@code.launchpad.net |
Commit message
A couple of minor changes to build correctly with 5.1 SDK.
Description of the change
A couple of minor changes to build correctly with 5.1 SDK.
As far as I could tell, the extra indexpath arg on the dequeue function is just an optimization.
The other change is just syntax.
To post a comment you must log in.
I wonder if there's value in putting this in conditionals, like:
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0f) {
// Do iOS 5 stuff
} else {
// Do iOS 6 stuff
}
Then we've clearly marked places where a bump to minimum iOS 6 could clear out some easy code.