English 中文(简体)
Monotouch - Turk/Path Application Master-Detail Swipe 表1
原标题:Monotouch - Twitter/Path Application Master-Detail Swipe Table View

Any clue on how to create the twitter ipad application or path application swipe master-detail table view effect using MonoTouch?

问题回答

我们的好朋友Clancey有一个称为“FlyOutNavigation”的C#港。 它在PiandiPad两处工作。 然而,他有一个习俗。 Dialog项目没有列入邮袋。 因此,我设立了一个习惯的DialogViewController, 您可以略微下降(见下文)。

守则:

Custom View

public class NavigationDvc : DialogViewController
{
    public Action<NSIndexPath> OnSelection { get; set; }

    public NavigationDvc(UITableViewStyle style, RootElement root)
        : base(style, root)
    {   
    }

    public override void Selected(NSIndexPath indexPath)
    {
        base.Selected(indexPath);

        if(OnSelection != null) {
            OnSelection(indexPath); 
        }
    }
}




相关问题
Write to a File in Monotouch

How would I create and write to a file in a Monotouch iPhone app? The file should persist between application launches, so I guess it has to be placed somewhere in the App bundle ( documents or ...

MonoTouch debugger never connects to app

I have an issue where the MonoDevelop debugger refuses to connect to the simulator. MonoDevelop pops a box saying "Waiting for debugger to connect on 127.0.0.1:10000..." but never connects. I have ...

montouch detect when sound finished playing

In objective C is a method called AudioServicesAddSystemSoundCompletion which allows to add a handler for "audio done notification". So I add the handler call AudioServicesPlaySystemSound and when the ...

Web Services Build Error in Monotouch

My project and web services work fine in the simulator but crash when uploading to an iPhone. It had been working fine before I updated Monotouch from 1.1. Can I revert back to earlier versions of ...

Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a null exception : file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("...

Is MonoDevelop s editor slow for you?

I m using the evaluation version of MonoTouch and MonoDevelop to check out writing iPhone app in C#. However, MonoDevelop s editor is very slow for me. I mean really really slow. I have to type and ...

C# Class Definition

In XCode and objective c, if I want to use a UIGlassButton in interface builder, I put the following line in my header file: @class UIGlassButton; I am now using monotouch c#. Is there a similar ...

热门标签