Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: SWIFT

SWIFT – How to Import and Use CreateML or CreateMlui in Xcode

I want to use the new CreateML and CreateMLUI Swift framework.

But when I write:

Xcode gave me an error:

No such module’CreateML’

How can I use them in Xcode?

>Go to h

October 10, 2021By Simo Swift Createml, CreateMlui, Introduction, SWIFT, XcodeLeave a Comment

SWIFT – How to get the value of the text field from UITABLEVIEWCELL?

So I have this UITableView cell with 4 UITextFields, and I want to get their values ​​when the button is clicked.

This code does not retrieve any Value.

@IBAction func printBtnAction(_

October 10, 2021By Simo Swift Field, Get, How, SWIFT, Text, UITableViewcell, valueLeave a Comment

Use of objects and structures in SWIFT

Object class Student{

var name: String = “”;
var age: Int = 0;

init(name: String ,age:Int) {
self.name = name
self.age = age
}
}

let stu = Student(name: “xiao< span style="colo

October 10, 2021By Simo Swift body, middle, object, structure, SWIFT, usageLeave a Comment

SWIFT 4.1 – Sub-class UIMAGE

When I use custom init to create a subclass of UIImage after upgrading to Swift 4.1, it does not support overriding the extended non-@objc declaration error

class Foo: UIImage {
init(b

October 10, 2021By Simo Swift 4.1, subclasses, SWIFT, UIMAGELeave a Comment

SWIFT – a combination chart using iOS-Charts (Line Map and Bar Chart)

I am trying to combine a line chart and bar chart in swift (iOS chart). Both the x-axis and y-axis seem to be scaled correctly, but the data is not displayed on the chart. I missed What’s up?

October 10, 2021By Simo Swift bar chart, chart, charts, combination, IOS, line diagram, SWIFT, UsingLeave a Comment

SWIFT – Type does not match the protocol ‘avcapturefileoutputRecordingDelegate’

I’m trying to use AVCaptureMovieFileOutput.startRecordingToOutputFileURL to record audio to a file, and the function’s syntax requires the input of a variable of type “AVCaptureFileOutputRecordingD

October 10, 2021By Simo Swift Agreement, avcapturefileoutputrecordingdeelegate, not compliant, SWIFT, typeLeave a Comment

There is no type initializer in Swift—-One answer is to use static, it is the same as class final.

“Unlike stored instance properties, you must always give stored type properties a default value. This is because the type itself does not have an initializer that can assign a value to a stored typ

October 10, 2021By Simo Swift answer, class, final, initializer, static, SWIFT, type, useLeave a Comment

SWIFT – Xcglogger 3.0 Write logfile to file system (iOS 9)

I want to use XCGLogger 3.0 to log in an iOS9 application written in Swift 2. In AppDelegate, I define

let log = XCGLogger.defaultInstance() And in the application: didFinishLaunchingWithOpti

October 10, 2021By Simo Swift 3.0, file, IOS, Logfile, SWIFT, system, will, write, XcgloggerLeave a Comment

How to use SWIFT to implement a Marquee tab in iOS

How to implement MarqueeLabel in iOS. I found an example in Objective-C, but I use Swift. < /div> Used to create a marquee in the swift Add Below Class in the project
https://github.com/cbpowell

October 10, 2021By Simo Swift how to use, IOS, Moist, SWIFTLeave a Comment

SWIFT – How do I get the parameter value of enumeration under IF?

See answer in English> Get associated value from enumeration without switch/case 2
How to write this

switch parameter {
case .CaseA(let valueA):
print(valueA)
} As an If condition statement?

October 10, 2021By Simo Swift enumerated, Get, How, parameters, SWIFT, under conditions, valueLeave a Comment

Posts navigation

Page 1 … Page 3 Page 4 Page 5 … Page 8
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress