objective-c tag

189 questions


1 answers
433 views
0
How can iOS development incorporate the framework into the framework?

We are developing a library (framework) that is iOS.I would like to include another framework within this framework (with another framework as C)However, when I tried to build B and put it into the ho...


1 answers
308 views
0
Cannot resolve the error Collection element of type 'void*' is not an Objective-Object (old title; Expected'; 'at end of declaration list)

*You answered the question Expected'; 'at end of declaration list error cannot be resolved which I posted before, and after correcting it, a new error occurred, so I edited the question. 内容Objective-C...

2 years ago

1 answers
144 views
0
XCTest Does Not Call `setUp`

I am trying to do an XCTest, but neither setUp nor testExample are called in the code below.import XCTestclass HogeTests:XCTestCase{ override funcsetUp(){ // Put setup code here. This method is calle...


1 answers
161 views
0
I want to adjust the width size with iOS segment control.

I have a question about UISegmentControl.In SegmentControl like the attached image, without changing the overall size when selecting FirstIs it possible to increase the width of Fisrt and reduce the w...

2 years ago

1 answers
145 views
0
LLVM Optimization Handling Questions

What is the difference between the benchmarks for the following actions when optimizing?In addition, in terms of time differences, benchmark differences, and ease of reading, etc.Which code is better?...

2 years ago

1 answers
175 views
0
Why is the initial display of WKWebView slow on iOS/Objective-C (Swift)?(Native Gawa, Hybrid)

Gawa Native/Hybrid app development using iOS's WKWebViewUse WKWebView with Objective-C (Swift).View/Close HTML (web page) in WKWebView with native button tapChecked the speed of the Yahoo page/Hello W...


1 answers
152 views
0
I want to use UICollectionView to free up space between lines.

macOS High Sierra 10.13.5Xcode 9.4.1Objective-CI am creating an app exclusively for iPad.200 cells in 1 Section using UICollectionView.I would like to make space every two lines as shown in the image ...

2 years ago

1 answers
125 views
0
Understanding Variable Length Arrays in Objective-c

#defineMV_GRID_LENGTH1#define MV_GRID_WIDTH2@interfaceViewController(){ UIImageView* imageView [MV_GRID_LENGTH*MV_GRID_WIDTH];}- (void) viewDidLoad{ int cnt = 0; for(inti=0;i<MV_GRID_LENGTH;i++){ ...

2 years ago

2 answers
190 views
0
Missing Swift-ObjC references and Swift class methods are not exported?problem

We make the iOS plug-in for Unity based on Swift.However, to use SQLite, we have loaded the FMDB from the source file (.m/.h).Maybe that's why I'm looking at the page where I generate multiple UnityPl...


2 answers
165 views
0
Understanding When http Requests (GETs) on ios

I'm a beginner in the program.I would like to call the getFlag method in viewDidLoad, retrieve information from the server asynchronously, and use the value in viewWillAppear, but the code below sets ...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.