Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • Koke 8:49 am on May 30, 2013 Permalink  

    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

     
    • Eric 7:15 pm on June 3, 2013 Permalink | Reply

      Reblogged this on テストブログ.

    • forrestcs 8:24 am on June 19, 2013 Permalink | Reply

      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..

  • Eric 7:05 pm on April 8, 2013 Permalink
    Tags: patch   

    Making a note for us to review the patch from MarcoZ at:

    http://ios.trac.wordpress.org/ticket/1601

     
    • MarcoZ 7:17 pm on April 8, 2013 Permalink | Reply

      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.

  • Koke 1:59 pm on March 25, 2013 Permalink
    Tags: 3.5.2   

    Submitting 3.5.2, did I miss something for the “What’s new?”

    • Disabled autosaves until they are more stable
    • Fixed bug where the editor would stay on portrait when using iOS5
    • Fixed credential issues for WordPress.com blogs with custom domains
    • Fixed previews when email was used to log in
    • Improved Jetpack setup process
    • Improved Notification settings
    • Multiple crashes fixed
     
    • Koke 5:08 pm on March 25, 2013 Permalink | Reply

      • Liu Xin 5:23 pm on April 3, 2013 Permalink | Reply

        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.

  • Paolo 11:57 pm on February 26, 2013 Permalink
    Tags: 3.5.1   

    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.

     
  • Dan 6:39 pm on February 26, 2013 Permalink
    Tags: ,   

    Can I get a code review of r4126? Want to make sure I’m not breaking something else with the sidebar :)

     
    • Koke 2:25 pm on February 27, 2013 Permalink | Reply

      Looks good to me, but I’m not at my best today

  • Koke 7:08 pm on February 7, 2013 Permalink  

    3.4.1 has been submitted:

    • ~70% of crashes fixed
    • Notification related bugfixes
    • Better previews and remote autosaving

    Full changelog

    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

     
  • Koke 1:21 pm on January 25, 2013 Permalink
    Tags:   

    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];
    
     
  • Koke 1:20 pm on January 7, 2013 Permalink
    Tags: 3.3.1,   

    Getting ready for 3.3.1, full changelog

    Fixed crashes:

    • Crash on KVO (25% of crashes)
    • Crash: -[WPTableViewController viewWillAppear:] (10.28% of crashes)
    • Crash on Jetpack notifications (4.28% of crashes)
    • Crash: -[Media setProgress:] (0.89% of crashes)

    Fixed issues:

    • Don’t play sidebar sound if there’s a modal controller on top
    • Toolbar overlaps Remove Featured Image cancel button
    • Better upload cancels, specially for quick photo
    • Show an alert if user tries to post with failed media
    • Show an alert when adding a blog if credentials are good but user doesn’t have access to any blogs
    • Add a blog screen is too tall when logged in and you have no blogs
    • Shows a non-ui-blocking message when there are no results for posts, pages, or comments
    • Try to authenticate in order to show featured images in post settings for blogs marked private
    • Make sure we keep custom more text
    • If geotagging is enabled but location services are disabled prompt the user to enable them
    • Fixes toolbar button enabled states after picking media
    • Fix a problem on blogs with posts imported from tumblr, where posts have high IDs
    • Enable update button after removing media
    • If post is geotagged, continue to show the map information when geotagging is turned off
    • Give the video player a flexible height so we don’t loose the controls when we rotate
    • Post editor eats non breaking spaces and spits out semi-colons
    • Comments list can show wrong status
    • Avoid crashing on empty responses (0.41% of crashes)
    • App can show the sign up page instead of the create new blog page
    • Tapping on a long post doesn’t open editor
    • Typekit fonts not shown in Preview

    Updated translation originals at http://translate.wordpress.org/projects/ios/dev

    I’ll be testing today and submit real soon

     
  • Koke 12:54 pm on January 3, 2013 Permalink
    Tags: notifications, oauth2   

    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 ;)

     
  • Koke 11:41 am on December 13, 2012 Permalink
    Tags: , UITableViewController   

    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:

    • No need to create a .xib or the table view if the view only contains a table
    • Automatically sets delegate and dataSource to self
    • When the table view is about to appear the first time it’s loaded, the table-view controller reloads the table view’s data.
    • Clears table selection every time the table view is displayed.
    • When the table view has appeared, the controller flashes the table view’s scroll indicators.
    • It implements the superclass method setEditing:animated: so that if a user taps an Edit|Done button in the navigation bar, the controller toggles the edit mode of the table.

    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
    
     
    • Koke 11:41 am on December 13, 2012 Permalink | Reply

    • Robert 4:53 pm on December 13, 2012 Permalink | Reply

      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.

      • Koke 5:27 pm on December 13, 2012 Permalink | Reply

        But that’s taken care of in the .xib.

        But you don’t need the .xib :)

        • Robert 5:59 pm on December 13, 2012 Permalink | Reply

          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.

          • Koke 6:01 pm on December 13, 2012 Permalink | Reply

            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

            • Robert 6:06 pm on December 13, 2012 Permalink | Reply

              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.

          • Dan 6:11 pm on December 13, 2012 Permalink | Reply

            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.

            • Robert 6:15 pm on December 13, 2012 Permalink | Reply

              Yeah, that’s the same issue I had, specifically for the note header view.

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
Follow

Get every new post delivered to your Inbox.

Join 78 other followers