From now on, posts about WordPress for iOS will go to http://make.wordpress.org/mobile/tag/ios/
This blog is going to migrated over there soon so please start following/participating there
From now on, posts about WordPress for iOS will go to http://make.wordpress.org/mobile/tag/ios/
This blog is going to migrated over there soon so please start following/participating there
Submitting 3.5.2, did I miss something for the “What’s new?”
Full changelog: https://gist.github.com/koke/5238734
3.4.1 has been submitted:
Will keep testing it while it’s on review, and planning to submit 3.4.2 next week with fixes for Jetpack/Stats and credentials problems. Hopefully for good this time
Just a tip for working with XIB files: if you need a different XIB file for iPad don’t do this:
NSString *nibName; if (IS_IPAD) nibName = @"MyViewController-iPad"; else nibName = @"MyViewController"; MyViewController *vc = [[MyViewController alloc] initWithNibName:nibName bundle:nil];
Just name the xib files:
* MyViewController~iphone
* MyViewController~ipad
And initialise with
MyViewController *vc = [[MyViewController alloc] init];
Getting ready for 3.3.1, full changelog
Fixed crashes:
Fixed issues:
Updated translation originals at http://translate.wordpress.org/projects/ios/dev
I’ll be testing today and submit real soon
When the user removes access to the app via wp.com settings we can use the username/password to get a new token, so I did that in ff3988a091.
But, since I can’t think of another scenario for an “invalid_token” error than the user tapping that “Remove Access” button, I’m wondering if the expected behaviour would be to sign out and remove that account’s blogs from the app.
Another one of those things that would be easier once we have an account model
Table reminder: if a view controller defines it’s own table, it’s probably doing it wrong. If a view controller uses tables, almost every time it should be a subclass of UITableViewController. Doing that, you get a few things for free, in summary:
There are a few places with potentially unnecessary code:
~/automattic/WordPress-iOS (notifications-wptable ✘)✭ ᐅ grep -rl --exclude-dir=Vendor '^@property.*UITableView\b' * Classes/AddUsersBlogsViewController.h Classes/EditSiteViewController.h Classes/JetpackSettingsViewController.h Classes/NotificationsCommentDetailViewController.h Classes/NotificationsFollowDetailViewController.h Classes/NotificationsTableViewDatasource.h Classes/PostMediaViewController.h Classes/SidebarViewController.h Classes/XMLSignupViewController.h
I don’t think NotificationsTableViewDatasource.h is actually being used so that can be deleted. NotificationsCommentDetailViewController.h doesn’t really use a UITableView in the “standard” way. For one, the UITableView is not the root view of the controller. The only bullet item it would benefit from seems to be:
Automatically sets delegate and dataSource to self
But that’s taken care of in the .xib.
But that’s taken care of in the .xib.
But you don’t need the .xib
Subclassing UITableViewController only works if the view is also the tableView. I just gave it a go and it complains about the root view not being a UITableView and then crashes. The way NotificationsCommentDetailViewController is set up, the view is not a UITableView.
Yeah, this seems to be one of those few cases ![]()
I remember having to ditch UITableViewController somewhere else because tableHeaderView wasn’t enough to do the custom UI
If there where a [UITableView tableHeaderViewDoesNotScroll] property that would allow you to fix the tableHeaderView to the top of the table I think it would take care of most of those customizations.
I did the same for NotifcationsFollowDetailViewController because it needs a custom header that doesn’t scroll, but also has another header view that should scroll with the content. I couldn’t get it to work properly using a UITableViewController.
Yeah, that’s the same issue I had, specifically for the note header view.
I added support for self-signed/invalid SSL certificates in [3700]
Does anyone have a device with 4.3 to test that it works there too?
Never mind, current deployment version is 5.0
Bummer that iOS won’t remember the approval of the cert, but this is better than nothing. Thank you!
Yeah, we don’t get any kind of certificate identifier, but we can get the raw DER data. Processing that is probably too much, but maybe we can store a hash and check that on the next session
Looking for trac workflow ideas. Since we’re moving to a feature based development, how should we manage tickets and milestones?
Current problems:
In summary, considering that 3.3 is going to be Sounds + bugfixes, I’m having a hard time figuring out what’s important by looking at http://ios.trac.wordpress.org/query?status=assigned&status=new&status=accepted&status=reopened&group=status&milestone=3.3
How do we manage this better for future releases/features?
Trac has no bulk ticket management, so it’s a pain to move them one by one every time a feature is pushed back
There’s a bulk ticket management plugin you can install. We have it for VIP Review Trac. @nbachiyski knows more.
Until we get bulk management, I got this user style: https://gist.github.com/4130919

I’m thinking of replacing the priorities list with this:
Not sure about what kind of ‘defects’ would go into wishlist, but it’d be the priority for enhancement tickets.
Thoughts?
Not opposed to doing these, but we should change them across all the mobile projects if we do. It would probably make more sense to keep calling the lowest priority items “trivial” if we’re keeping “major” and “minor” though – but it’s just wording. Doesn’t matter all that much.
I think there should still be a “blocker for release” priority. Then we should make sure all blocker priority items are closed before a release.
Some new reports after the 3.3 milestone cleanup:
Just released 3.2.1
Version 3.2.1 is out, fixes for Jetpack stats and crashes. itunes.apple.com/us/app/wordpre…—
WordPress for iOS (@WordPressiOS) November 12, 2012
What’s new:
Eric 7:15 pm on June 3, 2013 Permalink |
Reblogged this on テストブログ.