Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2f9145727a
Fetching contributors…

Cannot retrieve contributors at this time

file 31 lines (26 sloc) 0.655 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
//
// CLCGTogglerView.h
// PostalChess
//
// Created by Ettore Pasquini on 9/29/12.
// Copyright (c) 2012 Cubelogic. All rights reserved.
//

#import <UIKit/UIKit.h>

enum CLCGTogglerState {
  CLCGTogglerFirstView,
  CLCGTogglerSecondView,
};

/**
* A view that toggles between 2 subviews depending on state.
* the 2 subviews take up the whole space (frames coincide).
*/
@interface CLCGTogglerView : UIView
{
  UIView *mFirstView;
  UIView *mSecondView;
  enum CLCGTogglerState mState;
}

@property(nonatomic,retain) UIView *firstView;
@property(nonatomic,retain) UIView *secondView;
@property(nonatomic,assign) enum CLCGTogglerState state;

@end
Something went wrong with that request. Please try again.