Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 13    Views: 104

Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
01/19/16 01:46 PM (8 years ago)

Replacement plugin for MacImage Gallery

Hi, I was using MacImage Gallry plugin but my App crashes while rotating MacImage Gallery. It is a fantastic plugin but unfortunately i did not get any help in solving the issue in spite of several emails. Anyhow, I am now looking for Replacement plugin for MacImage Gallery. Kindly suggest me any if you know. Best Regards, Adnan
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
01/19/16 03:02 PM (8 years ago)
Mosaic plugin and flickr plugin
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/19/16 03:46 PM (8 years ago)
I havever used the MacImage plugin, but I have used this javascript solution in the dim and distant past: http://photoswipe.com/ It worked pretty well and I believe others have used it with Bzztouch too. And its free! Cheers, Alan
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
01/19/16 10:39 PM (8 years ago)
What does the console say is causing the crash. Could help you debug it
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
01/20/16 02:15 AM (8 years ago)
It Says: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '[<Mac_image_gallery 0x1368d8750> setNilValueForKey]: could not set nil as the value for the key rotating.' *** First throw call stack: (0x1822f5900 0x181963f80 0x1822f5848 0x182c7e96c 0x182beff74 0x187357f1c 0x1000b7f3c 0x1870eb044 0x187118484 0x187117294 0x18763e798 0x1872fc840 0x18763e73c 0x187023394 0x187022e90 0x187022d18 0x1849f9c00 0x10045dbb0 0x100463658 0x1822acbb0 0x1822aaa18 0x1821d9680 0x1836e8088 0x187050d90 0x1000c3b9c 0x181d7a8b8) libc++abi.dylib: terminating with uncaught exception of type NSException
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/20/16 07:56 AM (8 years ago)
I use like Alan, photo swipe, it does what you want. ive tried all the other image plugins, had problems with them all, heres the photoswipe file, just unpack them , upload to your server, ie whatever your apps called, make a directory, ulpoad these files to it, then use the url plugin and direct to your apps directory. https://www.dropbox.com/s/ud9hzhokp73g0ve/galleries.7z?dl=0
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/20/16 07:57 AM (8 years ago)
o ps, just drop your images into the images file in your directory
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
01/20/16 11:25 AM (8 years ago)
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
01/21/16 09:23 AM (8 years ago)
I have been using the PDF reader plugins for photo galleries. A bit of a hack, but I need everything to work on Android.
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
01/21/16 01:28 PM (8 years ago)
@susan how do you do it with pdf reader?
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
01/21/16 03:39 PM (8 years ago)
I had to pull all of my pictures into a PDF--on image per page.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/21/16 04:10 PM (8 years ago)
Susan, now that's what I call that lateral thinking!
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
01/27/16 07:28 AM (8 years ago)
Hi Adnan, The fix found by David 3 years ago (see CMCOFFEE link) is ok but things have changed a bit! Here is the updated fix: In BT_Layout, modify BT_tabBarController.m check the snippet starting at line 164 and comment it out: /* //if this view controller has a property named "rotating" set it to false... SEL sel1 = NSSelectorFromString(@"rotating"); if([theViewController respondsToSelector:sel1]) { [theViewController setValue:0 forKey:@"rotating"]; } */ (Just insert /* on the line before, and */ on the line after to comment out these lines of code and the image gallery will not crash anymore on orientation change.) Cheers Jack
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
02/01/16 05:55 AM (8 years ago)
@fusionsch It still crashes...!
 

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.