Discussion Forums  >  Meetups, Hang Outs, and Events

Replies: 12    Views: 127

Warren Evans
Apple Fan
Profile
Posts: 277
Reg: Jan 28, 2012
Effingham IL
17,400
11/15/12 02:31 PM (13 years ago)

11/20/12 2:00 PM US Eastern - Webinar: Understanding JSON Data in your Plugin

Buzztouch Webinar: Understanding JSON Data in your Plugin Tuesday, November 20, 2012 2:00 PM US Eastern / 1:00 PM Central / Noon Mountain / 11:00 AM Pacific / 7:00 PM GMT https://attendee.gotowebinar.com/register/3630616328590437376 This 60 minute webinar "Understanding JSON Data in your Plugin" will be led by David Book and technical in nature. After registering, you will receive a confirmation email containing information about joining the webinar. Brought to you by GoToWebinar® Webinars Made Easy®
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/15/12 06:45 PM (13 years ago)
Thank you @Warren Evans as always. LA
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
11/16/12 12:38 AM (13 years ago)
If you check this thread you will see a little what this webinar will be about. https://www.buzztouch.com/forum/thread.php?tid=1A1D6471269D5490948AE0E In this case, I managed to solve this. But I think for those who want to learn to do some more advanced plugins. Is this good to know how Json works. And how to do to use childitems, NSMutableArray etc. It was hard to understand but once you understand then you have endless possibilities.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/16/12 02:29 AM (13 years ago)
Stoked about this. @Mackimack and I had good thread the other day (referenced above) but did have some trouble communicating some core concepts. A webinar makes perfect sense. We are spoiled to have @Warren Evans organizing these events...be sure to follow his registration instructions.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
11/16/12 08:36 AM (13 years ago)
awesome. following that thread and know @mackimack has been killing it with something there. nothing like tackling a real word issue and seeing it taken apart and explained. still getting great mileage from the last 2 webinars, but anticipating this more than most summer blockbusters that have come out in the last decade. almost Irish football level anticipation! thanks all 3 of you guys. seat reserved!!!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/18/12 07:51 AM (13 years ago)
Hello, looking forward to this Webinar. I have a few questions in case I will not be attending it in person: 1. How can we consume a set of JSON data that has an unknown breadth? For example, an Address Book that has People and Groups. Each Group has properties and each Person has properties. Of course, then some of the People belong to Groups. 2. How can we push a silent update of the JSON data onto the iPhone without the User having to take any action? The User should not have to respond to a "the data has changed" Notification nor should the User have to hit the Refresh arrow in the app. Nor should the User have to launch the App to download the updated JSON data. Yup, I desire silent background updating of the App's data! :-). Our data set changes on a weekly basis and the App must be usable in an Offline basis (airplane mode). Nor can we trust the User to respond to Push Notifications to launch the app for a data update-refresh. Thank you, should be an awesome seminar!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/18/12 08:32 AM (13 years ago)
Here is an example of how the JSON data would populate an "Address Book" or "Contacts" table. http://www.cocoacontrols.com/platforms/ios/controls/knmultiitemselector If you download and run the package from GitHub, it has a fully working demo project that pulls in your Facebook friends as the sample data.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
11/18/12 10:13 AM (13 years ago)
@MacBoy. Nice control. Looking to populate some tables myself with JSON and maniplate it. David's training is excellent. Excited for this webinar. The 'the data has changed' code is in the appdelegate file. You could probably remove some code and the UIAlert from displaying and have an auto updating app. There might be some other ways. GREAT QUESTION. Do submit that question to Warren now so David has time to digest it. He might be able to show you in the Q&A part, or a future video.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/18/12 11:04 AM (13 years ago)
Thanks for insight into how to get BT to "shut-up" :-) Following-up on @ATRAIN53's suggestion for an auto-updating app: Apple does not allow things to change within an App unless the User initiates that action or requests such an action. My app will only be within my own Company, it will not be published to the Apple App Store. Thus, my app will not be subject to Apple's review and approval. This means I can even exploit private APIs if I am that courageous (and stupid). I guess I am really asking if one of the background modes can be exploited to auto-update the App's data. Something like this: 1. The App is downloaded and ran for the first time. 2. User quits the App, but we want the App to snooze, not turn-off. 3a. The App never dies, it wakes up periodically (timer) to check with the Server for new data. 3b. The Server sends a (silent) Push Notification wake-up message to the App as a signal to fetch the updated data. 3c. The iPhone crosses a geofence causing the App to be awoken. The Geofence can be the perimeter of the User's residence. The Step 3 items are brainstorms of which I have not yet fully thought through. Suggestions and Ideas are welcome!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/19/12 02:05 AM (13 years ago)
Nice find @MacBoy.. very useful indeed! I'm looking forward to the json data webinar.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/19/12 12:36 PM (13 years ago)
@MacBoy: Building on your comments (which are awesome).... "Apple does not allow things to change within an App unless the User initiates that action or requests such an action" Not sure what you mean here...my Facebook apps doesn't ask me to update, my news app doesn't ask me to update, and my sports app doesn't ask me to update, it just shows the new content...right? I think you're referring to something else. Not sure. Content can absolutely change without user intervention. No worries...just a thought. Other neat stuff...you're numbers...and my thoughts.... 1. The App is downloaded and ran for the first time. OK, makes sense. 2. User quits the App, but we want the App to snooze, not turn-off. OK, running in the background is command and it basically does this already. Apps are not 100% terminated when they are moved to the "running apps task bar" in iOS. This appears when you double tap the home button. So far so good... 3a. The App never dies, it wakes up periodically (timer) to check with the Server for new data. OK, I get the idea. But, this timer functionality you're referring to for sure won't work on iOS. Jailbroken, maybe. I have zero experience with API's that are "not allowed." Anyway, the idea is that apps in the background cannot poll the network but can be sent messages from other apps. In this case, the Push Notification process sounds appropriate. Send the device a message, user taps message, app is notified, user sees new content (app downloaded it upon notification). 3b. The Server sends a (silent) Push Notification wake-up message to the App as a signal to fetch the updated data. Yup, see 3a above. 3c. The iPhone crosses a geofence causing the App to be awoken. The Geofence can be the perimeter of the User's residence. Yup, very very doable. This is totally within the rules of iOS. You can use CLLocationManager's startMonitoringForRegion methods to do exactly this. When device is in a region, magic happens. You decide what the magic is. Some of this is appropriate for the up-n-coming JSON webinar and some of it isn't. Maybe we should schedule another more interesting one :-)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/20/12 12:15 AM (13 years ago)
@David the JSON-to-Address Book would be a fine example by which to show the whole soup-to-nuts process by iterating through the "rows" of the data set: - Generating the data - Parsing the data into objects - Persisting the data - Displaying the data
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/20/12 07:14 AM (13 years ago)
@David, Can we get a webinar on windows with Eclipse please? LA
 

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.