One of my favorite sessions at WWDC was Advanced NSOperations. I've been attempting to run the Earthquakes App (XCode 7, IOS 9 Device) and it runs but nothing appears at the outset except for an empty UITableView. Dragging down to attempt to refresh the table brings up a network activity indicator but then the application crashes.The only changes I made to the demo code were to change the bundle identifier and check the box to allow it to run upside down (in order to eliminate a warning).Anyone have a similar ill-fated experience?
Search results for
show when run
112,803 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The WWDC App is not available but was dicussed in session 226 Advanced NSOperations.In a follow-up discussion I had at CloudKit Labs shortly after Session 715, CloudKit Tips and Tricks, I discovered there is no reference app for CloudKit. Instead, I was directed to refer to the Sample Code discussed in session 226 Advanced NSOperations. The Sample Code is called Earthquakes.Unfortunately, I've not been able to get that to run correctly using XCode 7 and IOS 9. It runs on my device but doesn't do anything upon launch except to show an empty UITableView. A refresh swipe results in a crash.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Update:I've been able to run in the Simulator. The App still opens to an empty UITableView but the drag to refresh gesture seems to run correctly. I am seeing the the Network Activity indicator is still active after the UITableView data has been loaded.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
On WatchOS, there is a notification that seems to go off about ten minutes until the hour that reminds you to stand up and move around some. I know we can schedule local notifications, but when the notification is triggered how is Apple checking if they actually need to present the notification or not? For example, if I have stood in the past hour and moved around, there's no need to show me the notification at 10 minutes until the hour.My app runs on iOS. Reaching a goal is dependent on a user's last known action and the time elapsed since that last action. Currently, the user can launch my app and logic will be run to let them know their progress in reaching their goal. What I would like is the ability to run this logic in the background while the app is backgrounded (or even if it is killed). The end result for the user would be their iPhone is in their pocket and my app notifies them when the goal has been reached.There is not a server component to my app. I am aware of
Update:I've been able to run the Earthquakes App in the Simulator. As I mentioned, it was recommended for some of the ways it uses NSOperation together with CloudKit.The App still opens to an empty UITableView but the drag to refresh gesture seems to run correctly. I am seeing the the Network Activity indicator is still active after the UITableView data has been loaded.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Google Chrome is labeling many websites I visit as insecure, due to sha-1 certificates.The problem isn't with the site, it's that i've got sha-1 versions of root certificates on my system keychain.Is anyone else seeing this?Here are related actions for this computer:Open new 12 macbook running 10.10.3login using apple id, enable keychain syncinstall 10.11 dev preview
Hi everyone,I'm having a doubt or an issue creating a simple CocoaTouch Framwork and measuring the code coverage.For test only purposes I just created one struct and one unit testing file. Before testing, in the scheme's Test phase I've already checked the Gather Coverage Data checkbox. All tests succeed but the code coverage for the Framework still 0% within the Report Navigator > Coverage tab. I just can get some coverage checking the Show Test Bundles option.Am I missing something? Do I have to include some code that uses the Framework to check the coverage?
Has anyone figured out how to get your backup onto your iPhone 6 plus after upgrading to IOS 9 beta? Seriously, Ive not been able to use my phone is the last 5 days because it's constantly join a state of doing nothing but freezing. I have let it sit for over 13 hours one time and still nothing. When I open the force quit window it shows iTunes stopped working, so I am forced to restart over and over and over. I am currently on restart 47. I'm not kidding.I have tried using my iPhone 6 plus back up - freezesI've tried using my business partners backup - freezesI got desperate and tried using my iPad Air 2 - it started, it actually dumped my 630 APPs randmanly onto pages (no longer in assigned folders) and I thought I can deal with that I'll just reassemble the folders manually - I'm not picky at this point, but sadly after a 13 hour wait only one APP transferred.HELP! Any suggestions?
Don't bother with a clean install. After 5 days of attempting backups from any version I could find, I finally gave up and decided to do a new iphone restore. The same problem. As soon as I try to bring over even 1 APP it freezes and I'm forced to restart.Has anyone figured out how to get your backup onto your iPhone 6 plus after upgrading to IOS 9 beta? Seriously, Ive not been able to use my phone is the last 5 days because it's constantly join a state of doing nothing but freezing. I have let it sit for over 13 hours and still nothing. When I open the force quit window it shows iTunes stopped working, so I am forced to restart over and over and over. I am currently on restart 47. I'm not kidding.I have tried using my iPhone 6 plus back up - freezesI've tried using my business partners backup - freezesI got desperate and tried using my iPad Air 2 - it started, it actually dumped my 630 APPs randmanly onto pages (no longer in assigned folders) and I thought I can deal with that I'll just reassemble t
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Has anyone figured out how to get your backup onto your iPhone 6 plus after upgrading to IOS 9 beta? Seriously, Ive not been able to use my phone is the last 5 days because it's constantly join a state of doing nothing but freezing. I have let it sit for over 13 hours and still nothing. When I open the force quit window it shows iTunes stopped working, so I am forced to restart over and over and over. I am currently on restart 47. I'm not kidding.I have tried using my iPhone 6 plus back up - freezesI've tried using my business partners backup - freezesI got desperate and tried using my iPad Air 2 - it started, it actually dumped my 630 APPs randmanly onto pages (no longer in assigned folders) and I thought I can deal with that I'll just reassemble the folders manually - I'm not picky at this point, but sadly after a 13 hour wait only one APP transferred.Finally this morning I did the unthinkable (if you own 1700 APPs it's unthinkable - trust me <lol>) and did a clean install. Guess what? Same e
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Its not El Capitan. It's IOS 9. Ive been trying to sync to my backup for 5 days now. Today I got desperate, I took my itunes library HD to a computer NOT running El Capitan and did NOT have any backups, did a clean install and choosing only 2 APPs to sync it freezed up 5 more times. So I can ease your mind on the El Capitan issue. That's working great. It's IOS that's causing the freezing colored beacjnall from ****
Topic:
App & System Services
SubTopic:
Core OS
Tags:
But the problem is that I wanna show my own barcode not a pass. So Apple should allow us using there api like they did with passbook or heartbeat glance
Topic:
App & System Services
SubTopic:
Core OS
Tags:
for me it was the restore from backup that was keeping running over days. Stoping the restore bettered the battery issue here.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have an app that publishes a service over TCP and uses an NSNetServiceBrowser to browse for the service on th elocal domain.I have the app running on 3 devices: an iPhone 6 Plus, an iPad Retina, and an iPhone 5S simulator.Here's the odd part:When I publish the service like this; [server publishWithOptions:NSNetServiceListenForConnections] ;each of the three instances of the app can find the other two.However, when I publish the service like this: [server publish] ;the instance on the simulator can see the other two instances, but the instances running on the iPhone and iPad can see one another, but neither can see the instance running on the simulator.Can anyone explain that?Thanks
It'd be helpful if you could show a code fragment with the code you've tried.Note that you don't load [a] Nib in a custom view. Rather, you load a nib which contains a custom view — or, perhaps, contains views that you want to add to an existing custom view as subviews. The nib that you load contains an array of top-level objects, which would typically be the views in question. So, after (say) using 'NSBundle.loadNibNamed:owner:topLevelObjects:' to load the nib and instantiate its contents, you would retrieve the views from the topLevelObjects array, and add them to your view hierarchy.Alternatively, you can create an instance of the NSNib class directly, then use an instantiate method to get the top level objects. You'd follow this approach, for example, if you wanted to keep the NSNib object in memory so that you can re-instantiate views often and quickly. Otherwise, the simpler NSBundle method above is preferable.
Topic:
Programming Languages
SubTopic:
Swift
Tags: