samedi 29 novembre 2014

Xcode 6.1 , Storyboard, Ctrl+Drag doesnt work, not even blue line


I just upgraded to XCode 6.1


I started to create a Mac, Cocoa application.


In story board, i put a button on view controller, and tried to CTRL+DRAG it to the source code.


Problem is that it doesn't work, at least i have to see the blue line despite of where im going to drop it, but nothing happens at all and blue line doesnt appear and control stays put :-s


What am i doing wrong?





How do I prevent Music app from using 1 GB of cellular data in less than 10 minutes?


I received 3 text messages within 10 minutes from my cellular carrier as I was driving in my car with iTunes Radio streaming music. The first message said I used up 65% of my 1 GB plan. The next said 90%. The last said 100% and I would be charged $20 for going over.


I went into Settings > Celluar to find the culprit. It was indeed caused by the Music app, so I immediately switched off its cellular usage. It had used up 1 GB in 10 minutes (this was the first time I attempted music streaming while driving). It was most likely the iTunes Radio inside the Music app. I have zero music files in my collection, so the data usage couldn't have arisen from synching with iTunes.


In all the articles that I've read, they say iTunes Radio should only use 28 MB per hour - much less than what I just experienced. So what caused my meteoritic rise in data usage?


enter image description here





How to reorder contact info in Contacts.app


I'm a hoarder of contact info in Contacts.app. I always keep people's old contact info in Contacts.app entry so that, for example, their pic will show up in Mail.app on even old emails from them.


This leads to a lot of contact info building up, and I would like to reorder such contact info so that older ones are lower on the list. There doesn't seem to be an in-app way to do this, outside of manually putting everything in again in the order that you want them. That is particularly annoying because I'd like the newest contact info at the top and each time anyone changes anything I'd have to redo the order, and also it's not feasible to implement it over a large contact database, which I have.


So:



  1. Contrary to my assumption, is there an easy in-app way to do this?

  2. If not, is there any third-party product that will do this?

  3. If not, is there a way that I can just go into the database and do this?





Screensaver settings reverts


I have my screen saver set to display images from a folder in my ~/Pictures directory, and the "Shuffle slide order" box is checked. In Yosemite, I find that occasionally one or both of those settings will revert to the defaults; the "Source" menu will revert to "National Geographic", the "Shuffle slide order" box will be unchecked, or both.


Is there any reason these settings should be changing without my intervention? Is there any way I can monitor the settings (such as in a system log somewhere) to find out more about when this happens and why?





Mail Password Bug


I have been having an issue with Mail.app.


After I create an account, even if i do define the password (whether it be via programmatically doing so using applescript OR manually), after I save my changes and close the "Preferences" frame for Mail in which the password can be changed, the password text box resets to be blank. NONE of the other properties change (the username, email, servers etc all are saved and do not reset to be blank text boxes). Here's a visual of the preferences frame with the blank password box issue:


As you can see, the password box is blank and even if i manually change the password and save changes, when I re-open the same preferences window after closing it, the password box is blank once again.


As you can see, the password box is blank and even if i manually change the password and save changes, when I re-open the same preferences window after closing it, the password box is blank once again.


Here is a screenshot of the "Advanced" settings pane: enter image description here


I have tried: -Deleting the com.apple.mail.plist file in ~/Library/Preferences -Deleting any trace of the account in the keychain -Restarting my computer


None of the above works. Any suggestions?





Yosemite freezing/lagging constantly on 13" MacBook Pro (Mid 2012)


I'm running OS X Yosemite 10.10.1 on a mid 2012 13" MacBook Pro with the 2.5 GHz Intel Core i5 processor and 4GB of RAM. The hard drive (the 500 GB, regular HDD) was replaced about a year ago (close to 10 months after purchase) following a failure.


One morning, after waking up and waking the computer from sleep mode I encountered a strange amount of lag. It was bizarre because I was using the machine the night before without any problems, and now it was constantly stuttering while trying to play a movie on Netflix. Sound would play while the video froze every few seconds.


I restarted the computer, and the problem persisted. Moreover, it lags no matter what I do. iTunes can't make it through a song without freezing up 6-7 times, VLC constantly stutters too. The rainbow wheel pops up and spins any time I load a new page in Safari or Chrome, search with Spotlight, change pages in SimpleComic, change tabs in Finder, try and drag a file from one folder to another, etc.


It's constantly stuttering, freezing, and hanging any time I try and do just about anything. It usually only lasts 10-20 seconds, but it happens repeatedly. I've tried every remedy I know: restarting, repairing disk/permissions, turning off transparency, reinstalling OS X, restoring a Time Machine backup from before the problem, even clean reinstalling OS X. Nothing seems to work, there are no error messages, and I'm really annoyed.


I'd think it's a hardware problem, since a clean reinstall didn't work, but I ran the Apple Diagnostic Test and it found no problem. Moreover, everything works, just with crazy lag system-wide.


I'm wondering if anyone else has this problem, knows what it is, or if there's anything I can try that I haven't.





Why don't my icloud.com contacts download to my iPhone?


I've manually imported my Google Contacts into icloud.com (via a vCard file). Now I'd like to have these contacts available on my iPhone. My iCloud is property set up (Settings > Mail, Contacts, Calendars > iCloud). "Fetch New Data" is set to Push, "Contacts" switch is turned on.


Nevertheless the contacts don't sync. How can I analyze and fix this?