Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 121

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
01/29/14 09:42 AM (10 years ago)

BT30 - Day 25 - Scringo Right Bar Button

BT30 is my personal project to contribute to buzztouch: https://www.buzztouch.com/forum/thread.php?fid=2348BA49BA5737C92E3D9B5&tid=2348BA49BA5737C92E3D9B5 Day 25 - Scringo Right Bar Button ------------- DESCRIPTION ------------- This is a fun one for those using Scringo. Put a button in the navbar to call Scringo by not swipping, but clicking the button on the nav bar. Big thanks to Kittsy and Pancho for instructions and code changes. I was trying to post unknown tweaks for BT30, but this is so useful, I've used this so many times I can't count it. Anyone using Scringo should check it out. Enjoy! ------------- CODE ------------- In the .m plugin file you want the button to appear at the top right do: 1. add this import: #import <Scringo/ScringoAgent.h> 2. add this line in the view will appear method: self.navigationItem.rightBarButtonItem = [ScringoAgent scringoActivationBarItem]; Done! There is also an excellent post by Pancho that shows you how to make Scringo non-coflicting for the buzz carousel plugin: https://www.buzztouch.com/forum/thread.php?tid=681636B7BC24E3D1091BD52 ------------- Hope this helps someone. David.
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
01/29/14 10:15 AM (10 years ago)
Yip. Good man. I don't use the swipe at all in new apps, just the nav button and a menu button.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
01/29/14 11:38 AM (10 years ago)
excellent. Thanks.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/29/14 04:03 PM (10 years ago)
Thanks :-) d.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/30/14 09:20 PM (10 years ago)
Nice! Saved the tip for a rainy day :-) With Sharon and David alongside, feels like a Buzzday! -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.