GithubHelp home page GithubHelp logo

sstoolkit's Introduction

SSToolkit

SSToolkit was a grab bag of iOS goodies. It was a giant collection of classes that I started in 2008. This was getting out of hand. That version is completely deprecated. (Read more on that.)

Now SSToolkit is made up of several libraries you can use independently. SSToolkit is now just a header file and a podspec with dependencies for each library. I don't recommend using the SSToolkit pod.

Here’s what’s included:

Several of these libraries have had big improvements since their abstraction from SSToolkit.

sstoolkit's People

Contributors

a2 avatar alloy avatar atetlaw avatar calebd avatar cbrauchli avatar cspickert avatar daikini avatar dorshorst avatar evanlong avatar fictorial avatar fji8ejfijai83r avatar greenisus avatar hanneskaeufler avatar hramos avatar inamiy avatar jjchoy avatar jsy avatar jyap808 avatar keith avatar kvnsmth avatar ma11hew28 avatar marlonandrade avatar mattbischoff avatar mps avatar myell0w avatar plu avatar sethfri avatar soffes avatar steipete avatar vladg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sstoolkit's Issues

Document SSPickerViewController

This class needs to be documented. The demo in SSCatalog should probably be mentioned since it is highly driven by how the subclass overrides methods.

Document SSWindow.

Documentation is needed for SSWindow. An example would be nice as well since it's functionality isn't super clear.

Fix color space issue in SSGradientView

SSGradientView will not display the gradient correctly if the colors are in different colorspaces. They will need to be converted so CGGradientCreateWithColors can properly create the gradient.

SSGradientView's startColor and endColor must be in the same colorspace. The colorspace of the first color is used to draw the gradient. If you did a gradient from white to blue, it would look like a gradient from white to black because the first color, white, is in the gray color space, not the RGB color space. If you did it from blue to white, it would look like blue to black because white in the gray colorspace isn't a valid color in the RGB colorspace (because there are only 2 components in the gray colorspace and 4 in the RGB colorspace). Automatic colorspace conversions are planned for the future.

Create SSOperationStack

Throughout development, there have been many times when I've needed an operation stack.

I'll use a network related example: Say you're loading data on a particular screen that takes a long and the user switches to another screen and wants to see data from that screen. It sucks to wait for the first screen to finish. I would be great if there was some way to suspend the current operation and start the new one we care about, then come back to the other one when we are finished with the more pressing matter.

Obviously, for network related tasks, this is difficult since you can't actually suspend network activity. The only solution I've thought of for that is to still use an operation queue and just make new threads. For iOS stuff, that isn't ideal since there is only one slowish core.

For other stuff that can be suspended, I think an operation stack would be pretty useful.

dateFromISO8601String category doesn't support anything but GMT

+[NSDate dateFromISO8601String:] doesn't work with strings that include a timezone as anything other than "Z" like this one "2011-02-01T10:57:55-08:00".

If you an make the test pass with a solution in C, I will literally mail you a box of cookies! (See the "Date Stuff" section of this post if you're curious about the C requirement.)

Write tests for categories

A lot of the categories should be tested to ensure correct functionality. (I'm looking at you ISO 8601 NSDate additions.)

SSHUDView animations are upside down for some orientations

For portrait upside down and landscape right (I think, maybe it's left) the HUD comes in from the top and goes out to the top instead of the bottom like the other orientations. Kind of annoying to fix. Not hard, just annoying.

Anyone want to be awesome and fix it? :)

Create SSWebBrowserViewController

View for simple in app browsing. Design considerations need to be made for various styles.

I'd love to make one similar to Twitter for iPhone that is quite simple and only toolbar based.

I'd also love to make one that is full featured with an address bar, etc.

Make SSLineView more flexible

Currently it only draws the line 1 point high. It would be great if it auto-sized and and options for the inset direction.

Add Xcode 4 instruction

I need to update the readme with instructions on how to install SSToolkit in Xcode 4 since a lot has changed.

"Property 'text' not found on object of type 'SSBadgeView *'"

This one's a little weird... after:

    SSBadgeTableViewCell *cell = (SSBadgeTableViewCell *)[tableView dequeueReusableCellWithIdentifier: tableCellId];
    if( nil ==  cell )
        cell = [[[SSBadgeTableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: tableCellId] autorelease];

    cell.badgeView.text = @"0";

... I get the LLVM/clang error message:

    Property 'text' not found on object of type 'SSBadgeView *'

... although GCC 4.2 produces a similar error.

However, Xcode is happy to auto-complete the final line above, and the following does work:

    [cell.badgeView setText: @"0"];

... any thoughts?

Update:

Ah - it's because both "SSBadgeTableViewCell.h" and "SSBadgeView.h" have to be included. Is there not any way to ensure that only the first of these suffices?

SSHUDView doesn't work correctly in 4.2

It looks like Apple changed the implementation of UIAlertView and now it doesn't hide blue background.

Another sign that I need to reimplement it and not use UIAlertView hackery.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.