-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refreshing feeds on restore from background? #8
Comments
HI - I have no code knowledge but have been very grateful for being able to customise this app for our use - I also would be interested in any update that updates the feeds other than re-starting the phone. |
I noticed this as well and was going to try and implement a "pull to refresh" on the media pages. An example (that I haven't looked at yet) can be found here: https://github.com/enormego/EGOTableViewPullRefresh |
I implemented it on the first tab and, once there is an update on Monday, I will test it out. I'll post code over the weekend with examples of changes to include the pull to refresh functionality. |
Matthew (cooldaddybeck), Just sent me the code and it is looking good. He is going to setup a pull request and I will commit it to the master repository!. Thanks for the work Matthew. Rick |
I finally figured out how to use git and have uploaded my changes. Just be careful which files you grab or you'll get a lot more changes than you want. EGO_._ and ViewController. should do it. |
You can download source files here as well, until they are integrated into the project: http://cl.ly/1P3H261V05363t3r2O2F |
HI I finally got some time to downloaded the code from the links below etc and opened it in XCODE and just altered the RSS feeds in communiqueAppDelegate.m The app (on the simulator and iPhone) links to my podcast and news feed rss OK - and now shows the PULL DOWN TO REFRESH wording etc - and has the small progress wheel spinning - but then doesn't actually refresh - - If I turn off the phone and on again (or kill it in the multitasking bar) it loads again with the updated RSS info - WHat might I be doing wrong> Is there some extra code I need to download and install? Sorry for my ignorance Chris On 05/05/2011, at 2:57 PM, cooldaddybeck wrote:
|
I'll poke around at it. What version of iPhone and iOS are you using? Sent from my iPhone On May 15, 2011, at 2:21 AM, [email protected] wrote:
|
hi iphone 3gs and IOS4.3.2 - it also has the problem in the IOS simulator with Xcode 4.3 I had changed nothign else in the files I downloaded from the link expect for the 3 RSS feed URLs... Cheers Chris On 15/05/2011, at 11:49 PM, cooldaddybeck wrote:
|
I just realized, I believe I added a framework (quartz.core I think). :0) Sent from my iPhone On May 15, 2011, at 3:23 PM, [email protected] wrote:
|
Hi Seem to have that OK - they were RED so I fixed that hey now appear black but still nto working HOWEVER the file in Other Sources Thanks Chris On 19/05/2011, at 5:41 AM, cooldaddybeck wrote:
|
I had an issue losing the pch file once, make sure it's referenced correctly in the build settings and re-add to the project if necessary. That should correct that issue. Matthew Sent from my iPhone On May 18, 2011, at 7:50 PM, [email protected] wrote:
|
Hi matthew I've been busy with various projects (a large relocation of our church facility!) and have only just tried once more to get the pull to refresh to work on the iphone App - Still no go.. I even grabbed my wifes laptop and put a fresh install of XCode and the iphone SDK on it and while I can get the code from this link to run and display the pull to refresh wording and arrow animation etc, it wont actually update the rss feed info (either news blog or mp3 files) I have tried using the raw files from the download at http://cl.ly/1P3H261V05363t3r2O2F with JUST the rss feed lines changed in communiqueAppDelegate.m to static NSString *const CreativeMediaFeed = @"http://www.true2life.org.au/appfeeds/appmediaclips.xml"; (the appnewsfeed is a redirect to a word press blog feed) My frameworks all seem to be linked OK etc Do you have any ideas for me? Or any more recent version of the app code that you know work with the pull to refresh OK? Thanks - if you;re too busy for this thats fine - I understand :-) Thanks again Chris Rowney On 19/05/2011, at 1:01 PM, cooldaddybeck wrote:
|
Chris, I'll do some testing this week to try and sort it out and see if I can reproduce. I'm busy, but never too busy to help. :0) I'll try setting up an identical feed (cant remember my feed sources and not on my computer) to see if there is something about the word press source related to the refresh. I would be surprised if so. We'll get it worked out! Matthew Sent from my iPhone On Jun 26, 2011, at 3:23 AM, [email protected] wrote: Hi matthew I've been busy with various projects (a large relocation of our church facility!) and have only just tried once more to get the pull to refresh to work on the iphone App - Still no go.. I even grabbed my wifes laptop and put a fresh install of XCode and the iphone SDK on it and while I can get the code from this link to run and display the pull to refresh wording and arrow animation etc, it wont actually update the rss feed info (either news blog or mp3 files) I have tried using the raw files from the download at http://cl.ly/1P3H261V05363t3r2O2F with JUST the rss feed lines changed in communiqueAppDelegate.m to static NSString *const CreativeMediaFeed = @"http://www.true2life.org.au/appfeeds/appmediaclips.xml"; (the appnewsfeed is a redirect to a word press blog feed) My frameworks all seem to be linked OK etc Do you have any ideas for me? Or any more recent version of the app code that you know work with the pull to refresh OK? Thanks - if you;re too busy for this thats fine - I understand :-) Thanks again Chris Rowney On 19/05/2011, at 1:01 PM, cooldaddybeck wrote:
Reply to this email directly or view it on GitHub: |
Thanks I tried today with a freshly made .xml file - still no joy so dont realyl think it has anythgin to do with the wordpress generated feed Do you have a Xcode project other than the files you sent earlier on the link - even one totally customised for your church that works on pull to refresh that you could send me and I could just alter the xml feed in it to see if it works, maybe there is something I ma not doing right or something I am testign by buidling and runnign in simulator - then adding some etra new feed netries and doign the pull to refresh to see if it updates on the simultair - also tried by putting a build on the device as well Cheers Chris On 27/06/2011, at 4:41 AM, cooldaddybeck wrote:
|
Since the app always runs in the background on iOS4 the feeds never update unless the app is killed. Any thoughts on adding the feature to refresh the feeds on restoring form background, like the applicationWillEnterForeground method? I have been working on this for a few days and it works but the tableViews will not reload the images for the rows that are in view. I have tried many different things to no avail, but still working on it. Any ideas for this new feature?
This is my added code to CommuniqueAppDelegate.m...
[self applicationDidFinishLaunching: application];
}
Thanks,
Clark
The text was updated successfully, but these errors were encountered: