Here is how to set the text in an NSTextField programatically in Xcode while developing applications for OSX?

Here is step wise how to set text in NSTextField programatically,

 
First,
If you are using storyboards for app development.
Connect button storyboard to code class file i.e. .h header & .m method file or incase of swift class file of source code

 
Second,
Let assume that you have connected your NSTextField / Label as:

 

@property (nonatomic, assign) IBOutlet NSTextField *namedTextField;

 
Third,
So you will use dot operator called .stringValue & Here is how it can be done two ways:

Continue reading “Here is how to set the text in an NSTextField programatically in Xcode while developing applications for OSX?” »

Continue Reading Post

How to Fix Xcode Organiser error, ‘ERROR ITMS-4238: “Redundant Binary Upload. There already exists a binary upload with build version ‘1.0.1’ for train ‘ 1.0.1’” at SoftwareAssets/PreReleaseSoftwareAsset’

With updated new iTunesConnect for Apple Developers comes with many features one which is prerelease or TestFlights for External Testers. It allows App Developer to distribute it’s unreleased app to selected beta testers so that developer can get reviews & bug reports from them. One of this feature is that you can upload multiple copies of same app to iTunesConnect i.e. ITC.

 
When you try to do that you get following error

 
xcode organiser ERROR ITMS-4238 Redundant Binary Upload. There already exists a binary upload with build version

Continue reading “How to Fix Xcode Organiser error, ‘ERROR ITMS-4238: “Redundant Binary Upload. There already exists a binary upload with build version ‘1.0.1’ for train ‘ 1.0.1’” at SoftwareAssets/PreReleaseSoftwareAsset’” »

Continue Reading Post

How to fix Xcode error ‘Unable to boot iOS Simulator’

Xcode is one stop shop development app for OSX & iOS devices including all Macintosh Desktops & Laptop, iPhone, iPad & iPod touch.

 
Note: I Assume you are on OSX Yosemite 10.10.3 or Latest Operating System & Xcode 6 or later installed.

 
With release of Xcode 6 & later while developing & running your iOS app in iOS Simulator on your Mac you face with this bug something like this ‘Unable to boot iOS Simulator’ with blank screen.

 
Unable to boot iOS Simulator in Xcode

 
Here is how to fix it

 

Solution 01:

Continue reading “How to fix Xcode error ‘Unable to boot iOS Simulator’” »

Continue Reading Post

How to fix error ‘Safari can’t open page – because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy.’

Safari can’t open page - because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy

 
This happens to most of WordPress blogs when you sign in to your website’s Admin (wp-admin) page & whenever you try to navigate to different page or open a new page this error get displayed every time you do it.

 
Error: Safari can’t open page – because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.

 
Here is how to fix this,

Continue reading “How to fix error ‘Safari can’t open page – because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy.’” »

Continue Reading Post

How to manage startup items on Macintosh OSX, Add / delete startup items for optimising OSX for faster boot time.

Startup items are the Apps that automatically start or launch when OSX finishes booting up,

 
Startup items on OSX are called ‘Login Items’.

 
This feature is helpful when you want to launch app automatically without you doing anything at OSX boot time. Apps like Safari or iTunes would be helpful when you want to listen to music or browse the website without manually launching the app after OSX finishes booting up.

 
Here is how to manage Startup items or Login items:

 
Step 01: Launch ‘System Preferences’

Continue reading “How to manage startup items on Macintosh OSX, Add / delete startup items for optimising OSX for faster boot time.” »

Continue Reading Post

How to make current Time Capsule, Airport Extreme or Airport Express Wi-Fi network hidden for all new wi-fi enabled devices including Macintosh, iPhone, iPad & iPod touch

airport-express-extream-time-capsule-wi-fi-hidden-network-osx-ios

 
As Wi-Fi speed is increasing & popularity is on high it is important to secure your network from evil eyes. And one step forward is to hide your network from scanning brains & eyes of Wi-Fi enabled devices including computers, tablets & phones.

 

Background about hidden or closed network:
When you create a hidden network with an AirPort Base Station or Time Capsule, the name of the network remains hidden from computers scanning for wireless networks. Users must enter the exact network name to join the network, and they may be asked to enter a password. Both the name of the network and the password are case-sensitive. A hidden network can provide additional security for your network.

Continue reading “How to make current Time Capsule, Airport Extreme or Airport Express Wi-Fi network hidden for all new wi-fi enabled devices including Macintosh, iPhone, iPad & iPod touch” »

Continue Reading Post

How to Stop SPAM by blocking SPAM sender’s IP Address, An ultimate solution to block SPAM forever by using order allow deny ip in .htaccess

Before Moving Forward Read Important Note Below:

 
.htaccess deny rules are meant to block web requests (HTTP, HTTPS) to the directory in which the .htaccess is placed. Spam messages are sent via SMTP, and this protocol is not affected by the .htaccess file on your website. The .htaccess file will only work to prevent these IP’s from visiting your website, but will not have any effect on their ability to send you e-mail via SMTP.

 
If they are using a form on your website to send the spam messages, this might still be a valid solution. Otherwise, it is extremely unlikely that this will resolve your problem. If you are unsure of how the spam messages are being sent, you can refer to the message headers of the spam you are receiving. Now note down IP address from where SPAM is being sent to your E Mail ID & then block those IP under SMTP block list inside your Mail Server settings.

 
Gone were the days when you have to read & reply only 2 to 3 emails a day. In today’s technology age if you are from IT (Information Technology) related company you may be receiving 50 emails a day & replying & writing same & 50 additional emails to peoples & colleagues.

 
But it gets worst when Spammer starts to send you 50 SPAM mails everyday & if you have email ID attached to your personal domain other than that’s of Yahoo! & Gmail then you are irritated & disgusted to hell as you are receiving 50 to 100 SPAM email without indication hoe to stop & unsubscribe from that.

 
In my case I was receiving 50 mails per day for 1 month & beyond i.e. for 45 days & I was already blocked 700 email IDs in email block list.

 
I even contacted my hosting service provider but no prevail they just run away from problem by saying blocking the address is only the solution & only advice & help they can provide.

 
So I investigated on my own & finally I found the solution,

 
& Here it was:

 

Note: I assume you are on Macintosh system using OSX or any other operating system with local email management client like ‘Apple Mail’.

Continue reading “How to Stop SPAM by blocking SPAM sender’s IP Address, An ultimate solution to block SPAM forever by using order allow deny ip in .htaccess” »

Continue Reading Post

How to enable HTTP persistent connection or HTTP keep-alive for your website for faster page speed using .htaccess file

As Wikipedia explains:

 

HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new connection for every single request/response pair. The newer SPDY protocol uses the same idea and takes it further to allow multiple concurrent requests/responses to be multiplexed over a single connection.

 

Note: I assume you have adequate knowledge of handling your server & server settings & you are well versed in your field

 
You can put following code in your .htaceess file which is available in your root of your server’s html folder

Continue reading “How to enable HTTP persistent connection or HTTP keep-alive for your website for faster page speed using .htaccess file” »

Continue Reading Post

How to reset Macintosh’s OSX Finder App to troubleshoot Finder issues by deleting it’s preferences

There are times when OSX Finder starts acting weirdly, won’t obey your command, click, taps whats ever & you want to reset your Macintosh’s OSX Finder to it’s default setting to just to make it work as before just like when you started your Mac for first time.

 
If you are using latest Mac OSX or even OSX operating system here is how to do it

 
Delete Finder preferences using Finder

Continue reading “How to reset Macintosh’s OSX Finder App to troubleshoot Finder issues by deleting it’s preferences” »

Continue Reading Post

How to reset Macintosh OSX Finder widow size to default by deleting all folder window, icon size settings stored in OSX’s default DS_Store file

I was really wondering after long day of work with lots of browsing & navigating to ‘Finder’ files & folders sizing rsizing finder windows continuously for almost last year & two,

 
How to really get back to OSX’s default window size & reset all finder window size for all files & folders.

 
Yes you can do it with just one click & small code

 
TIP: First Back Up your files through Time Machine & then unmount your Time Machine Hard Drive just to keep it safe from code execution. Just incase something goes wrong.

 
Here is the procedure how to do it:

 
First Step:

 
Open ‘Terminal’ App from your Application’s Utilities folder.

Continue reading “How to reset Macintosh OSX Finder widow size to default by deleting all folder window, icon size settings stored in OSX’s default DS_Store file” »

Continue Reading Post