Ah, right, 
setEditing<http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIViewController_Class/Reference/Reference.html>
isn't
a Twitter framework method, it's inherited from UIViewController. Its doco
states:

"Subclasses that use an edit-done button must override this method to
change their view to an editable state"

Since the TWTweetComposeViewController doesn't use 'edit-done' as its UI,
setEditing isn't used (I guess).




On Thu, Jun 7, 2012 at 6:39 AM, nphias <mas...@gmail.com> wrote:

>
>
> my Question refers specifically to monotouch.twitter API and the method
> TWTweetComposeViewController.setEditing(false,false) which by description
> does not appear to do what it says it should do.?
>
> I searched Miguels tweetstation code and there is no reference to
> monotouch.twitter and TWTweetComposeViewController
>
> if you read the Apple docs description on TWTweetComposeViewController :
>
> *The TWTweetComposeViewController class presents a view to the user to
> compose a tweet.
>
> Although you may perform Twitter requests on behalf of the user, you
> cannot append text, images, or URLs to tweets without the user’s knowledge.
> Hence, you can set the initial text and other content before presenting the
> tweet to the user but cannot change the tweet after the user views it. All
> of the methods used to set the content of the tweet return a Boolean value.
> The methods return NO if the content doesn’t fit in the tweet or if the
> view was already presented to the user and the tweet can no longer be
> changed. *
>
> Indeed the last sentence would indicate that even though the user can
> cancel the tweet entirely, they are still allowed the ability to modify it
> on the view.
> So perhaps I have misunderstood the intention of the method setEditing.
> Anyway sorry if this repeats previous remarks.. I hope it will help other
> new developers
>
> ------------------------------
> View this message in context: Re: Twitter without UI - only 
> code<http://monotouch.2284126.n4.nabble.com/Twitter-without-UI-only-code-tp3906383p4655226.html>
>
> Sent from the MonoTouch mailing list 
> archive<http://monotouch.2284126.n4.nabble.com/>at Nabble.com.
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to