Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-10-2011, 06:41 PM   #26 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

Release the tempSharer as soon as you assign it to the property, otherwise, like in the case where the sharer isn't authorized, the method will return and the tempSharer will never get released.
Code:
SHKSharer *tempsharer = ...
self.sharer = tempsharer;
[tempsharer release];
harrytheshark is offline   Reply With Quote
Old 08-10-2011, 06:45 PM   #27 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Thanks, you are a GOD!

Anyways, so back to #3 here, just to clarify, I should just delete those lines correct.

And for #1, instead of self.whatever, it is like helper.whatever so how should I apply your strategy of fixing these warnings to that?

And for #6, that is a completely different type of warning I am not sure about.

Only 3 more warnings!

Thanks!
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 08-10-2011, 08:13 PM   #28 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Ok so I just deleted the line where it was value is never read and that got rid of that warning. So now only 2 left which I explained in my post above.
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 09-01-2011, 04:02 PM   #29 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
Never is on a distinguished road
Question one more leak

Good post, i wasted a lot of hours trying fix this!
One more question. Leak in SHKSharer.m

- (id)init
{
if (self = [super initWithNibName:nil bundle:nil])
{
self.shareDelegate = self;
self.item = [[[SHKItem alloc] init] autorelease];

if ([self respondsToSelector:@selector(modalPresentationStyl e)])
self.modalPresentationStyle = [SHK modalPresentationStyle];

if ([self respondsToSelector:@selector(modalTransitionStyle)])
self.modalTransitionStyle = [SHK modalTransitionStyle];
}
return self;
}

can't find the way to fix this. please, help
Never is offline   Reply With Quote
Old 09-01-2011, 06:08 PM   #30 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Feel free to download my 'Beta ShareKit' - ios - ShareKit beta problem? - Stack Overflow

This includes most of the warnings and leaks fixed. It also has some improvements like Speed because of those fixes, etc... Keep in mind, there are still lots of bugs though. There is a added SMS Functionality in it, but it does not working properly just yet. If one of the commenters puts out some fixes for the community ill update the post there. So keep checking back!

Also the reason why I made my own ShareKit beta is because the developer got lazy and decided not to update it anymore. I even emailed him/tweeted him with no response. :/
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 09-02-2011, 01:34 AM   #31 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
Never is on a distinguished road
Default Beta ShareKit

Quote:
Originally Posted by Objective Zero View Post
Feel free to download my 'Beta ShareKit' - ios - ShareKit beta problem? - Stack Overflow
/
Thanks for response, but

filesavr.com/BA3NJSDBC61C4GC file not found
Never is offline   Reply With Quote
Old 09-08-2011, 11:01 PM   #32 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Look at the official "ShareKit Beta Official" thread I made.
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Reply

Bookmarks

Tags
sharekit warning

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 402
16 members and 386 guests
7twenty7, blasterbr, chiataytuday, cristofercolmbos, dedeys78, dre, fiftysixty, gmarro, HemiMG, jimmyon122, jonathandeknudt, LEARN2MAKE, pungs, raymng, tymex, UMAD
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,669
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, dedeys78
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:06 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0