Questions tagged [xcode9.2]

Xcode 9.2 is the release of Xcode Tool. Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

206 questions
0
votes
1 answer

How to add or read Google calendar events iOS [Swift] without using Cocoa Pods

I am currently working on integrating Google Calendar into my iOS project which uses GoogleAPIClientForREST And GoogleSignIn libraries. Project Git can be found here. I am able to add or read all my Google calendar events. However, I have been…
Sanjeevcn
  • 441
  • 7
  • 10
0
votes
1 answer

A normal view above tableview added from storyboard not visible in running iOS App

In designing a viewcontroller i've hidden the navigation bar for full app, and added a custom view in each viewcontroller above tableview looks like navigationbar. but it is not visible when running app. below are the screenshots of storyboard and…
Sand'sHell811
  • 358
  • 3
  • 15
0
votes
1 answer

Facebook Login Button not Changing to Logout button Immediate after Login in swift

I am Working on Xcode 9.2 Swift 4.0 using FacebookSDKs-iOS-20160316 for Facebook Login Authentication Integration . My storyboard is empty . On Running Facebook Login button is coming on an app When clicked Facebook login page comes, after…
Begin
  • 1
  • 1
0
votes
1 answer

Error while Changing the image of the button from an image to another when clicked on the button

Here is my code : @IBAction func moreClicked(_ sender: UIButton) { if sender.currentImage == #imageLiteral(resourceName: "more_off"){ sender.setImage(#imageLiteral(resourceName: "more_on"), for: .normal) } else { …
0
votes
1 answer

Nib file designing in Xcode 9 using IB

I am making ios app, and I am beginer in iOS. I am making an app and in this I am trying to make the custom tableview cell. For this I Have added a cocoa touch class and also check to create its nib file. Now in IB I am putting views like…
Android teem
  • 780
  • 2
  • 13
  • 36
0
votes
1 answer

How can I define an array to accept ordered pairs in a struct?

import Foundation struct locus { var x: Int var y: Int } let aerodrome: [locus] = [(1,1), (2,2)] produces error "Cannot convert value of type '(Int, Int)' to expected element type 'locus'" I love that the compiler accepts…
EarthDemon
  • 13
  • 6
0
votes
1 answer

How to add accessibility for UIRefreshControl in Swift

I am trying to add accessibility for UIRefreshControl which has been implemented for pull to refresh in UITableView as below self.refreshControl.accessibilityLabel = "Refreshing" But if accessibility turned on and by swiping three finger on…
Steve Gear
  • 757
  • 2
  • 16
  • 44
0
votes
0 answers

Could not cast value of type 'Swift.Array' to 'Swift.AnyHashable'

I am trying to cast my strings to AnyHashable but getting crashed. I am using as below let castArray = [string1,string2] as! AnyHashable Myclass?.functionName!(forAction: actionMethod, forData: [ castArray:string3, ]) It is…
Steve Gear
  • 757
  • 2
  • 16
  • 44
0
votes
1 answer

Inconsistencies error in storyboard with xcode 9.2

I want to upgrade my application from Xcode 7.2 to Xcode 9.2 and swift version 4.1. When I open storyboard below inconsistencies screen changes display. I already added "OpenSans-Semibold" in my project target and plist file also. Can anyone…
Ashish
  • 2,977
  • 1
  • 14
  • 32
0
votes
1 answer

Unable to install Cocoapods in xcode 9.2 project

I am trying to install pod in my Xcode 9.2 project but when i enter command sudo gem install cocoapods it gives me the following error. ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from…
0
votes
1 answer

Found an unexpected Mach-o Header code:0x72613c21 xcode 9.2

First of all, I am new to xCode and have developed iOS app which has already been working in Android perfectly. But when I convert the same into Xcode, I found so many error that I removed myself gradually. My problem is that I add the project in…
0
votes
0 answers

How to add line space in pdf text area in iOS objective-c using quartz 2D?

I have created a PDF page with box using core graphics (Image). I am facing a problem, which is comment section I am not able to set "Text" individual wise. Any idea how can I do this? Code for "Comment"…
0
votes
1 answer

RSA Encryption Failing on just the iPhone 4s running iOS 9

I am successfully RSA-Encrypting a string but when i do it on iPhone 4s (iOS 9.3.2) it fails and returns 'nil' as a result. However it is successfully working on all the other iphones(5,6,7,8,X.) I am using this RSA…
Kazmi
  • 593
  • 1
  • 6
  • 24
0
votes
1 answer

Xcode 9 No files in Project Navigator

I was working on a project in an xcode .xcworkspace (i have some cocoapods installed) and Xcode suddenly crashed when I attempted to merge a branch into the master branch. When I went to re-open the xcode workspace the files wouldn't load in the…
MikeG
  • 3,745
  • 1
  • 29
  • 51
0
votes
1 answer

Xcode Core Data completely broken

Something is wrong with Core Data on Xcode 9.2 (Sierra 10.12.6). Literally nothing works and I get tons of errors on a single screen. I changed codegen to none/manual on all of the entities, but I still get the errors. Here is a picture. Image of…