Here's what I did to get things working.
Yep, over at: https://developer.apple.com
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
| // Model | |
| // OAStack.m | |
| @protocol OAStack | |
| - (void) pushData:(id)data; | |
| - (id) popData; | |
| @optional | |
| - (void) purgeStack; |
| <a href="#" class="scroller" data-section="#about"><span lang="EN">About</span><span lang="ES">Acerca De</span></a> | |
| <script> | |
| $('.set_lang_EN').click(function(){ | |
| $("[lang]").each(function () { | |
| if ($(this).attr("lang") == "EN") | |
| $(this).show(); | |
| else | |
| $(this).hide(); | |
| }); |
| textViewer.SelectionStart = textViewer.Text.Length; | |
| textViewer.ScrollToCaret(); |
| /* | |
| GrabControlBitmapImage | |
| Created on 2013/05/28 by Afrael Ortiz | |
| Grabs the content of a Windows Control and returns its bitmap image | |
| -- "do whatever you want with this" license -- | |
| */ | |
| public static Bitmap GrabControlBitmapImage(Control control) | |
| { | |
| var controlBounds = control.Bounds; |
| // | |
| // UIImage+Additions.h | |
| // Sparrow | |
| // | |
| // Created by Shilo White on 10/16/11. | |
| // Copyright 2011 Shilocity Productions. All rights reserved. | |
| // | |
| #define COLOR_PART_RED(color) (((color) >> 16) & 0xff) | |
| #define COLOR_PART_GREEN(color) (((color) >> 8) & 0xff) |
| NSURL *originalFileName = [NSURL alloc]; | |
| NSURL *RecordingPath =[NSURL fileURLWithPath:[appDelegate.RecordingPath stringByAppendingPathComponent: | |
| [NSString stringWithFormat:@"RecordingFile.wav"]]]; | |
| NSLog(@"LocalRecoding Path :%@",RecordingPath); | |
| originalFileName=RecordingPath; | |
| NSURL *temporaryFileName = [NSURL alloc]; |
| #define RADIANS_TO_DEGREES(__ANGLE__) ((__ANGLE__) * 57.29577951f) // PI * 180 | |
| -(float32) getRotatingAngle : (CGPoint)firstPoint secondPoint:(CGPoint)secondPoint | |
| { | |
| float dx = firstPoint.x - secondPoint.x; | |
| float dy = firstPoint.y - secondPoint.y; | |
| float angle = RADIANS_TO_DEGREES(atan2(dy, dx)); | |
| return angle; | |
| } |
| //Source http://stackoverflow.com/questions/4538598/drawing-line-on-touches-moved-in-cocos2d | |
| //CCLayer | |
| -(void) ccTouchesMoved:(NSSet *)touched withEvent:(UIEvent *)event | |
| { | |
| UITouch *touch = [touched anyObject]; | |
| CGPoint currentTouchArea = [touch locationInView:[touch view] ]; | |
| CGPoint lastTouchArea = [touch previousLocationInView:[touch view]]; | |
| currentTouchArea = [[CCDirector sharedDirector] convertToGL:currentTouchArea]; |