Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 91

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
12/08/13 01:56 PM (11 years ago)

Scringo working with 3.0 Core... BUT...

With the new version of the plugin, I was able to get Scringo working with 3.0 core for iOS, and when I load the scringo code in my viewdidlaunch event, scringo comes up perfectly. But, when I add the sidebar code to BT_loadConfigDataViewController.m, as described in the tutorial I get an error. I'm adding this: [Scringo addSidebar:self.window toLeft:YES]; and get this: Property of "window" not found on object of type 'BT_loadConfigDataViewController' Ideally I'd like to figure out how to add a BT screen that loads the scringo menu, so I can assign it to a right-button nav bar context menu instead of a swipe-in menu, but I'm guessing I have to get past the above error first anyways.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/09/13 08:29 AM (11 years ago)
Anyone? I'm sure it's just a matter of the view not being set or something, but I'm not good enough at xcode to figure it out. I also tried appDelegate.window, as described in a different version of the Scringo tutorial, but get the same error. Also, has anyone noticed the view for the chat rooms plugin on ipad is still formatted for iphone, only taking up the upper left quadrant of the screen when tapping on the chat room itself? All other views of the scringo chat room plugin look fine on ipad, and every view looks fine on iphone. It's just the one view on ipad that didn't get formatted. Anyone find a fix for that yet?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/14/13 12:46 PM (11 years ago)
Look by line 369 and add this [Scringo addSidebar:appDelegate.window toLeft:YES];
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
01/09/14 06:29 AM (11 years ago)
Thank You!!
 

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.