Recent Comments

There are a total of 575 comments on this site.
Below are the most recent 30 of them, newest at the top.

keith on How to fix “no rule to process file” warning in Xcode

Wednesday, 18th April 2018

thank you!

Jay Versluis on How to concatenate strings (i.e. print several at a time)

Saturday, 24th March 2018

Alternatively, we can format a string with another string, like this:

NSString *combined = [NSString stringWithFormat@"%@%@", stringOne, stringTwo];

kunal kishore on How to kill your app when it enters background mode

Wednesday, 21st March 2018

Excellent article!! one more info which I am looking for is, whether the iOS app can be killed on pause programatically, i.e based on app's condition (like what it is doing at the moment). Can this be done?

Fhd on How to use Swift classes in Objective-C

Tuesday, 20th March 2018

Nice tutorial but this not working with xcode 9.2

Vikko on How to add touch events to a UITableViewFooter (or header)

Tuesday, 13th March 2018

Thank you for this

Kevin on How to create Popovers in iOS 9

Thursday, 1st February 2018

it does not work, the two buttons always open the controller in full screen

Jay Versluis on How to build a UICollectionView in iOS 8

Saturday, 27th January 2018

Thank you, Mark :-)

mark on How to build a UICollectionView in iOS 8

Tuesday, 16th January 2018

This was one of the best tutorials I have seen - very clear and patient instructor!

Jay Versluis on How to read Command Line Input on macOS

Sunday, 31st December 2017

Not to my knowledge, Ali. Perhaps there's a way to create a template or some such. Xcode changes too quickly for me to keep up these days.

Jay Versluis on How to use Version Control since Xcode 9

Sunday, 31st December 2017

:-) That's indeed what I mean (frigging auto correction is driving me bananas here...). Thanks, Indi!

Indi Kernick on How to use Version Control since Xcode 9

Saturday, 16th December 2017

"Note that any changes we’ve made are not autistically committed to the new branch until we manually commit" I think you mean "automatically".

Pedro Viana on How to avoid WAL files in Core Data

Friday, 15th December 2017

Thanks!

Ali on How to read Command Line Input on macOS

Tuesday, 28th November 2017

Thank you so much, it was so helpful But is there any way to save this changes as a default?

ansh on Xcode crashes every time you open it – and how to fix it

Tuesday, 21st November 2017

worked for me :)

Laura Weaver on Xcode crashes every time you open it – and how to fix it

Monday, 13th November 2017

For those who are still struggling: Add a possible restart to your steps. After trying the above multiple times, adding the restart after made the difference.

HappyMan on How to share things with a UIActivityViewController

Wednesday, 8th November 2017

Thank you for the article, let me complete the sharing feature quickly :D

Jay Versluis on How to change the header in an NSTableView

Sunday, 5th November 2017

Great, thanks for sharing.

Vitauct on How to change the header in an NSTableView

Friday, 3rd November 2017

At my end it worked with 'setNeedsDisplay' instead of 'setNeedsLayout' which makes more sense to me.

Jay Versluis on How to share things with a UIActivityViewController

Saturday, 9th September 2017

Hi Tux, I did some investigating, and the demo code runs fine as is on my iOS 9 device, sharing an image to the camera roll without a hitch. On iOS 10 however, I got a crash with the following explanation:

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
After fixing that, it shared the image as it should. I've explained how to add this key here: http://pinkstone.co.uk/what-is-the-nsphotolibraryusagedescription-key/. I've also updated my Demo Project to include this key now, it should work fine with iOS 10 now.

TuxLR on How to share things with a UIActivityViewController

Saturday, 9th September 2017

Hy, Using Xcode 8.3.3 and iPad (10.3.3), the image sharing does not work at all (there is just no image .. even not a blank or corrupted image ..) If you have any idea ? Anyway, thank you for your code ! Tux

Jay Versluis on How to use Swift classes in Objective-C

Tuesday, 15th August 2017

:-)

Chris Pa on How to use Swift classes in Objective-C

Sunday, 13th August 2017

Thanks! Best tutorial for this topic out there <3

Jay Versluis on Tip: How to download apps again after changing the region of your Apple ID (for free)

Thursday, 3rd August 2017

Indeed, In-App purchases that you've previously bought in another country will also work.

Jared on Tip: How to download apps again after changing the region of your Apple ID (for free)

Tuesday, 1st August 2017

Hi, any chance you tried to redownload any in-app purchases?

Jay Versluis on How to create infinite loops in Objective-C and C

Tuesday, 18th July 2017

Very good point Jayesh! You can exit loops at any time using the break statement. For example:

for ( ; ; ) {
    if (i == 47) {
        break;
    }
}
This works for finite loops as well of course.

Jayesh lathiya on How to create infinite loops in Objective-C and C

Tuesday, 18th July 2017

How to exit from infinite loop?

Jay Versluis on How to use Swift classes in Objective-C

Friday, 28th April 2017

Hi Param, you can change your Avatar picture anytime by heading over to gravatar.com and associating the email with which you leave comments.

Param on How to use Swift classes in Objective-C

Wednesday, 26th April 2017

didn't liked the picture next to comment

Param on How to use Swift classes in Objective-C

Wednesday, 26th April 2017

Great tutorial :)

Jay Versluis on How to fix "Couldn't communicate with a helper application" in Xcode 7

Saturday, 22nd April 2017

Excellent, thank you for sharing!