Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 61

AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
02/19/15 12:36 PM (9 years ago)

Mac Image Gallery arm64 issue

Hi all, I'm getting recurring problem since updating to arm64 - When I scroll through the Mac Image Gallery images it keeps showing the same two pictures over and over again. Has anybody else had this problem?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
02/19/15 01:20 PM (9 years ago)
I personally switched plugins all together. There are others that work perfectly with arm64. Good luck
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/19/15 07:29 PM (9 years ago)
Lots of people had a great run for their 3 or 4 dollars that they paid for this. I had an update all but ready to push out and was trying to add a few new features with David. mysps - apologies. You know I have always been one of the most responsive on here and the gallery has been flawless for 3 years. Glad you found an alternative that enabled you to ditch this one. AppOne - Rest assured it will be fixed soon, have had other things going on and I do owe a few others an update. My opinion? For the price and the use that many 100's have had from this it has been pretty solid, has issues right now but a fix will be pushed shortly.
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
02/19/15 10:23 PM (9 years ago)
Thanks for the update MacApple!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
02/20/15 12:33 AM (9 years ago)
hey mac! i definitely understand and we surely got our moneys worth. but of course keeping those app users from being unhappy and providing a good experience i had to switch. i prefer your plugin because its more flexible to add extra code such a socialize and scringo in the past. i'm looking forward to the update :) patience has never been one of my strong points nor is emailing and worrying anyone. i knew/hoped you'd get around to updating! is it possible to add the tweak to this post to fix the arm64 issue while we drull over the new features that will come soon? thanks for the reply!
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
02/20/15 12:39 AM (9 years ago)
Was having this problem myself for a long time, but I managed to figure out the solution - it's actually a very easy fix: Go to the Mac_zoomingScrollView.m file in your project. If you have added arm64 to your architectures then you should have a few warnings in this file. One of the warnings will be inside of the - (void)setIndex:(int)value method (around line 82). This is the line of code that is causing the problem: if (value == NSNotFound) All you need to do is change that line to the following: (value == (int)NSNotFound) So the only change that you are making is adding (int) before NSNotFound. Run your app and the image gallery should now be working perfectly
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
02/20/15 03:40 AM (9 years ago)
Thanks Absentia! You're always on time :)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/20/15 04:57 AM (9 years ago)
Yay for Absentia! I've not looked at the code for the purpose of the "value" variable. Wondering if the designation should be an integer or a long integer? Unsigned or signed? Just wondering without a computer with me ... :-) Glad to have Absentia back in the mix! Thanks! -- Niraj
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
02/20/15 05:32 AM (9 years ago)
Nice one, Absentia - - thanks it works!!
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/20/15 05:20 PM (9 years ago)
Some of the updates I had been adding to plugin came directly from Absentia. Nobody knows it like he does and I assumed anyone with the plugin had already put this line in to fix it. Live and learn.
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
01/17/16 03:23 AM (8 years ago)
Thanks Absentia!
 

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.