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
Making a note for us to review the patch from MarcoZ at:
http://ios.trac.wordpress.org/ticket/1601
Thanks Eric!
Note that I am currently also struggling with another issue that warrants a separate ticket I think, and which I would definitely need some help on. That is that the side bar leaks through to VoiceOver from the background. On the iPhone, for example, in-between the controls when viewing a comment. On the iPad, too, once the comments or article list slides to the left to make room for the actual comment or similar on the right.
On the iPad, there is also even more of a problem there because there is no obvious way for a blind person to slide the list back to the right. I will file issue tickets for these and would need advice or even help in coding this.
Submitting 3.5.2, did I miss something for the “What’s new?”
Full changelog: https://gist.github.com/koke/5238734
Hello,I am a WordPress user of China.
My website is http://www.19920505.com
I have installed the WordPress,but now i want to use WordPress on ipad APP.
I downloaded the App ,but when I connected my site on the app(add self-hosted blog),it shows “sorrry, Your login information is correct,But do not have the access rights of any blog.”
Could you mind do me a favor?Thanks.
Just a heads-up that after updating to 3.5.1 everything was working fine excepted the reader, remaining blank. I had to log out and log in again into my WordPress.com account to get it working again.
Can I get a code review of r4126? Want to make sure I’m not breaking something else with the sidebar 🙂
Looks good to me, but I’m not at my best today
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.
Eric 7:15 pm on June 3, 2013 Permalink |
Reblogged this on テストブログ.
forrestcs 8:24 am on June 19, 2013 Permalink |
Hi, May I ask a question about running wordpress for ios in xcode. (I struggled a long time for this problem). I am a student learning about wordpress for my course project. I downloaded and built the source code, but failed to login. I used my wordpress id and secret. The error msg is about the grant type: client cannot use \”password\” grant_type. I would really appreciate your help. Thanks..