iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

Xcode 8.3.2 signing errors

I have Xcode 8.3.2 on Sierra. I am trying to build an Enterprise .ipa (have Enterprise membership). I am having issues signing my app. Specifically in Xcode I have the following under General\Signing: Automatically manage signing is enabled Team: “My Team (Enterprise)” Provisioning Profile: Xcode Managed Profile Signing Certificate: iOS Developer Status Failed to create […]

maintaining selection in UISegmentedControl

Can i maintain the selected state of UISegmentViewControl segments?? i.e can keep a segment appear selected even if the user selects another segment?? I dont seem to find anything that does this anywhere!!

Adding RealmSwift as a subproject: Missing required modules: 'Realm.Private', 'Realm'

So I wanted to link to RealmSwift in my own framework and these are the steps I took: Add RealmSwift as a subproject Link the framework: Add the dependency Import RealmSwift into the Swift file: And I got the error: Missing required modules: ‘Realm.Private’, ‘Realm’. How can I solve this issue? Thanks!

iPhone – archiving array of custom objects

I’ve been trying for hours and I cannot solve this problem. I’m making an app that saves unfinished Chess Games, so I’m trying to write an array to a file. This is what the array is, if it makes sense: -NSMutableArray savedGames –GameSave a —NSMutableArray board; —-Piece a, b, c, etc. —–some ints —NSString whitePlayer, […]

how to change the color of backBarButtonItem?

In my application I want to change the color of bacBarButtonItem. Is it possible to change the color? or I have to put an image of it. and in case of image tell me the code how to put the image.

Xcode 6.3.1 Simulator UI Errors

Since updating to Xcode 6.3.1, my Simulator isn’t rendering my UI elements consistently with autolayout. My detailViews render the same IB layout inconsistently, with one view truncated while the other view is fine. Both are properly constrained. This only happened after installing the new update. Has anyone else encountered this problem? Thanks

sync core data with web server

I’m creating an app about birds. This app should also work in offline mode. So I decided to use Core Data. I plan to have 1 table with approximately 700 records. All the birds will be displayed in a table view. Workflow should be like this: User starts app Request is sent to server in […]

target specifies product type 'com.apple.product-type.framework'

I’m trying to use a Soundcloud API wrapper for the iPhone following these instructions and now I’m getting this error: target specifies product type ‘com.apple.product-type.framework’, but there’s no such product type for the ‘iphoneos’ platform Any ideas on how to solve this?

iOS Facebook SDK 3.1 add permission when login

I am trying to follow the Facebook SDK 3.1 tutorial: Scrumptious and integrate FB to my app. – (BOOL)openSessionWithAllowLoginUI:(BOOL)allowLoginUI { NSArray *permissions = @[@”email”]; return [FBSession openActiveSessionWithReadPermissions:permissions allowLoginUI:allowLoginUI completionHandler:^(FBSession *session, FBSessionState state, NSError *error) { [self sessionStateChanged:session state:state error:error]; }]; I want to add extra permission however it only show the basic information in the […]

Having trouble installing specific font in an iOS app – incompatible TTF?

There are some font files in my code repo for the font Nubian and Nubian-Alt. They are licensed and paid for and they need to be used. However I cannot use this font in iOS, and I cannot open the font with Font Book even though the font previews OK in Finder and is identified […]