This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SpotifyTabAdapter.m | |
// BeardedSpice | |
// | |
// Created by Dennis Lysenko on 4/4/15. | |
// Copyright (c) 2015 Tyler Rhodes / Jose Falcon. All rights reserved. | |
// | |
#import "SpotifyTabAdapter.h" | |
#import "runningSBApplication.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)fubar | |
{ | |
[self fubarWithViews:self.view.subviews]; | |
} | |
- (void)fubarWithViews:(NSArray *)views | |
{ | |
for (UIView *view in views) { | |
CGFloat hue = ( arc4random() % 256 / 256.0 ); // 0.0 to 1.0 | |
CGFloat saturation = ( arc4random() % 128 / 256.0 ) + 0.5; // 0.5 to 1.0, away from white | |
CGFloat brightness = ( arc4random() % 128 / 256.0 ) + 0.5; // 0.5 to 1.0, away from black |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Spotify.h | |
// BeardedSpice | |
// | |
// Created by Dennis Lysenko on 4/4/15. | |
// Copyright (c) 2015 Tyler Rhodes / Jose Falcon. All rights reserved. | |
// | |
/* | |
* Spotify.h |
NewerOlder