Permalink
Browse files

Remove SSSegmentedControl

  • Loading branch information...
1 parent c893cb4 commit b5d35092b1865ee1302f7a6830beee45bd5f3ff1 @soffes soffes committed May 8, 2012
Showing with 0 additions and 487 deletions.
  1. +0 −8 SSToolkit.xcodeproj/project.pbxproj
  2. +0 −58 SSToolkit/SSSegmentedControl.h
  3. +0 −420 SSToolkit/SSSegmentedControl.m
  4. +0 −1 SSToolkit/SSToolkit.h
@@ -57,8 +57,6 @@
B2453A1D1394AE5000275B6B /* DictionaryCategoryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B23910A71357DED300ADE21B /* DictionaryCategoryTest.m */; };
B2453A1E1394AE5000275B6B /* StringCategoryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B23910A81357DED300ADE21B /* StringCategoryTest.m */; };
B2453A1F1394AE5000275B6B /* URLCategoryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B23910C31357E08E00ADE21B /* URLCategoryTest.m */; };
- B247ABAE1300930200971EC0 /* SSSegmentedControl.h in Headers */ = {isa = PBXBuildFile; fileRef = B247ABAC1300930200971EC0 /* SSSegmentedControl.h */; };
- B247ABAF1300930200971EC0 /* SSSegmentedControl.m in Sources */ = {isa = PBXBuildFile; fileRef = B247ABAD1300930200971EC0 /* SSSegmentedControl.m */; };
B24E9E43121DC29A0085F81E /* NSArray+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B24E9E05121DC29A0085F81E /* NSArray+SSToolkitAdditions.h */; };
B24E9E44121DC29A0085F81E /* NSArray+SSToolkitAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B24E9E06121DC29A0085F81E /* NSArray+SSToolkitAdditions.m */; };
B24E9E45121DC29A0085F81E /* NSData+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B24E9E07121DC29A0085F81E /* NSData+SSToolkitAdditions.h */; };
@@ -208,8 +206,6 @@
B23910BF1357E07A00ADE21B /* ArrayCategoryTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ArrayCategoryTest.m; sourceTree = "<group>"; };
B23910C11357E08600ADE21B /* DataCategoryTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DataCategoryTest.m; sourceTree = "<group>"; };
B23910C31357E08E00ADE21B /* URLCategoryTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = URLCategoryTest.m; sourceTree = "<group>"; };
- B247ABAC1300930200971EC0 /* SSSegmentedControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSSegmentedControl.h; sourceTree = "<group>"; };
- B247ABAD1300930200971EC0 /* SSSegmentedControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSSegmentedControl.m; sourceTree = "<group>"; };
B24E9E05121DC29A0085F81E /* NSArray+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+SSToolkitAdditions.h"; sourceTree = "<group>"; };
B24E9E06121DC29A0085F81E /* NSArray+SSToolkitAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+SSToolkitAdditions.m"; sourceTree = "<group>"; };
B24E9E07121DC29A0085F81E /* NSData+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+SSToolkitAdditions.h"; sourceTree = "<group>"; };
@@ -587,8 +583,6 @@
B24E9E2F121DC29A0085F81E /* SSTextView.m */,
B28219DB12FA8EB500BAF3C6 /* SSRatingPicker.h */,
B28219DC12FA8EB500BAF3C6 /* SSRatingPicker.m */,
- B247ABAC1300930200971EC0 /* SSSegmentedControl.h */,
- B247ABAD1300930200971EC0 /* SSSegmentedControl.m */,
);
name = Controls;
sourceTree = "<group>";
@@ -718,7 +712,6 @@
B28C6D0712FBE5C400667755 /* SSRatingPickerViewController.h in Headers */,
B279539912FC67E300FFE28D /* UIScreen+SSToolkitAdditions.h in Headers */,
B279539E12FC6C6F00FFE28D /* SSRatingPickerScrollView.h in Headers */,
- B247ABAE1300930200971EC0 /* SSSegmentedControl.h in Headers */,
B2E241541301C71400F7DC3B /* SSAddressBarTextField.h in Headers */,
B2E241561301C71400F7DC3B /* SSAddressBarTextFieldBackgroundView.h in Headers */,
B2E241581301C71400F7DC3B /* SSAddressBarTextFieldBackgroundViewInnerView.h in Headers */,
@@ -946,7 +939,6 @@
B28C6D0812FBE5C400667755 /* SSRatingPickerViewController.m in Sources */,
B279539A12FC67E300FFE28D /* UIScreen+SSToolkitAdditions.m in Sources */,
B279539F12FC6C6F00FFE28D /* SSRatingPickerScrollView.m in Sources */,
- B247ABAF1300930200971EC0 /* SSSegmentedControl.m in Sources */,
B2E241551301C71400F7DC3B /* SSAddressBarTextField.m in Sources */,
B2E241571301C71400F7DC3B /* SSAddressBarTextFieldBackgroundView.m in Sources */,
B2E241591301C71400F7DC3B /* SSAddressBarTextFieldBackgroundViewInnerView.m in Sources */,
@@ -1,58 +0,0 @@
-//
-// SSSegmentedControl.h
-// SSToolkit
-//
-// Created by Sam Soffes on 2/7/11.
-// Copyright 2011 Sam Soffes. All rights reserved.
-//
-
-// Limitiations:
-// - Removing and inserting items is not supported
-// - Setting item width is not supported
-// - Setting item content offset is not supported
-
-enum {
- SSSegmentedControlNoSegment = UISegmentedControlNoSegment
-};
-
-@interface SSSegmentedControl : UIControl
-
-@property (nonatomic, assign, readonly) NSUInteger numberOfSegments;
-@property (nonatomic, assign) NSInteger selectedSegmentIndex;
-@property (nonatomic, getter=isMomentary) BOOL momentary;
-
-@property (nonatomic, retain) UIImage *buttonImage;
-@property (nonatomic, retain) UIImage *highlightedButtonImage;
-@property (nonatomic, retain) UIImage *dividerImage;
-@property (nonatomic, retain) UIImage *highlightedDividerImage;
-
-@property (nonatomic, retain) UIFont *font;
-@property (nonatomic, retain) UIColor *textColor;
-@property (nonatomic, retain) UIColor *disabledTextColor;
-@property (nonatomic, retain) UIColor *textShadowColor;
-@property (nonatomic, assign) CGSize textShadowOffset;
-@property (nonatomic, assign) UIEdgeInsets textEdgeInsets;
-
-- (id)initWithItems:(NSArray *)items;
-
-//- (void)insertSegmentWithTitle:(NSString *)title atIndex:(NSUInteger)segment animated:(BOOL)animated;
-//- (void)insertSegmentWithImage:(UIImage *)image atIndex:(NSUInteger)segment animated:(BOOL)animated;
-//- (void)removeSegmentAtIndex:(NSUInteger)segment animated:(BOOL)animated;
-//- (void)removeAllSegments;
-
-- (void)setTitle:(NSString *)title forSegmentAtIndex:(NSUInteger)segment;
-- (NSString *)titleForSegmentAtIndex:(NSUInteger)segment;
-
-- (void)setImage:(UIImage *)image forSegmentAtIndex:(NSUInteger)segment;
-- (UIImage *)imageForSegmentAtIndex:(NSUInteger)segment;
-
-//- (void)setWidth:(CGFloat)width forSegmentAtIndex:(NSUInteger)segment;
-//- (CGFloat)widthForSegmentAtIndex:(NSUInteger)segment;
-
-//- (void)setContentOffset:(CGSize)offset forSegmentAtIndex:(NSUInteger)segment;
-//- (CGSize)contentOffsetForSegmentAtIndex:(NSUInteger)segment;
-
-- (void)setEnabled:(BOOL)enabled forSegmentAtIndex:(NSUInteger)segment;
-- (BOOL)isEnabledForSegmentAtIndex:(NSUInteger)segment;
-
-@end
Oops, something went wrong.

0 comments on commit b5d3509

Please sign in to comment.