Skip to content

iOS

Website Developer Sydney

iPhone Add Email Account Exchange asks to sign in to Office 365

Office 365 sign in prompt when setting up Exchange email account on iPad, iPhone or Mac Mail The issue arrives when you are attempting to configure a new exchange account that is not hosted on office 365 but you keep getting a prompt to sign into office 365 mail account when you attempt to add a new account for a domain. The can be very confusing as if you have host your own services, or have a host that knows what they are doing, you can have an exchange email account that is not part of office 356 but yet you will see the prompt for sign into office 365 when attempting to set up the account on apple devices. It could well be that it also prompts with non apple devices, we did not bother to test. The issue likely arises from the situation where office 365 services were… Read More »iPhone Add Email Account Exchange asks to sign in to Office 365

Website Developer Sydney

How to Transfer an Apple App to another Account

The Easy Way to Transfer your App from your Apple Developer Account to Another Account. Is why would you want to do such a thing. And usually the reason is that you’ve ever sold the application to a new organisation and subsequently transfer it to their development account. Offer some reason you’re moving it to another account of your own perhaps hundred different name or tax system.   In our example was gonna be transferring it to a new account purely for tax reasons. There is nothing dodgy going on, just legitimate reorganisation of our tax portfolio. Before you get started In order to complete the transfer, you’re going to need to have your new account set up and most importantly the new banking and tax details set up for whichever region you live in. To ensure that these are set up correctly, log into your App Store connect page.… Read More »How to Transfer an Apple App to another Account

Using a Hex (html) color code as a UIColor

We had a requirement to read from a plist a hex color code eg. #168240 and translate that to update a navigation controller’s navigation bar background color. Below are two ways that were presented.   First (not the best) was this method using a macro, but this wasn’t obvious to us how to use it with an NSString value for the color code (we couldn’t hard code it). //RGB color macro #define UIColorFromRGB(rgbValue) [UIColor \ colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \ green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \ blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0] and then use in code like this: tintColor = UIColorFromRGB(0x168240);   Second (preferred) was to create a method that returns a UIColor with parameters allowing for an NSString to be passed. -(UIColor *) colorForHex:(NSString *)hexColor { hexColor = [[hexColor stringByTrimmingCharactersInSet: [NSCharacterSetwhitespaceAndNewlineCharacterSet]                  ] uppercaseString];          // String should be 6 or 7 characters if it includes ‘#’     … Read More »Using a Hex (html) color code as a UIColor

Alternatives to SVN Subversion for xCode Development

Do you need SVN or is there another way to manage code? We use and manage an SVN server dedicated to our xCode development, but mostly because we can, not because we need to. We have the servers, knowledge and experience to do this so we did. I thought I would suggest another way to share code among multiple developers, and still keep thorough backups of all the things you need. There are a few exceptions and we will list them first. 1. Technically SVN allows for two people to work on the same code at the same time, and for those changes to be mashed together. Sort of. However this is not really the case. SVN does such a lame job of mashing when compared to some TFS systems we have used for years, that we would advise strongly against thinking it will solve this problem. For this reason,… Read More »Alternatives to SVN Subversion for xCode Development

xCode 4 and SVN subversion server IP address change

Recently we needed to change IP addresses on our SVN subversion server. We have blogged before about the SVN xCode Tips here. What we did now though was to change the IP address of the SVN subversion server after we had already configured the connection to the server on our Mac computers. The change process was surprising to us, and here is why. 1. We fully expected to have to much around with the entire connection thing. We were ready to refer to our above blog and re-establish connections. 2. When we fist established the new IP, and verified that it had propagated to the updated DNS listings etc, we found that xCode did not connect. By chance we were short of time. So we rebooted the computers, and tried again. Still verifying that the IP resolved correctly etc. No joy! With time constraints that day, we put it down… Read More »xCode 4 and SVN subversion server IP address change

xcode 4 with subversion SVN server–Tips

[gard] As newly anointed Xcode developers, and now with the release of Xcode 4. We found our team working on trying to get connected to a new subversion (svn) server at the same time we were trying to discover some new features of Xcode 4. Talk about challenging. Actually this was the first time with anything Apple we have not had a great experience. Loads of talk etc on the net about what a pain in the bum it all is. For those who don’t know. Subversion is a code storage system that allows check in / check out of developer Xcode to a server. There are services online that you can pay monthly to for the use of a SVN server. We wanted to host it on one of our own servers. The setup was not easy and required the setup of a new Linux server, then the setup… Read More »xcode 4 with subversion SVN server–Tips