Config “januslo / react-native-bluetooth-escpos-printer” in React-Native

Copy from:  https://github.com/januslo/react-native-bluetooth-escpos-printer https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/76/files We will get error message when we config on ios as bellow [!] use_native_modules! skipped the react-native dependency ‘react-native-bluetooth-escpos-printer’. No podspec file was found. Go to node_modules -> react-native-bluetooth-escpos-printer and create new file is called “RNBluetoothEscposPrinter.podspec” ————————————————————————– require “json” package = JSON.parse(File.read(File.join(__dir__, “package.json”))) Pod::Spec.new do |s| s.name = “RNBluetoothEscposPrinter” s.version =Continue reading “Config “januslo / react-native-bluetooth-escpos-printer” in React-Native”

Compile-time Error: control may reach end of non-void function with Xcode 10.2

Copy from: https://github.com/realm/realm-js/issues/2305   temp solution : add default: return “null”; between line 52 and 53, template<> inline const char *jsc::Value::typeof(JSContextRef ctx, const JSValueRef &value) { switch (JSValueGetType(ctx, value)) { case kJSTypeNull: return “null”; case kJSTypeNumber: return “number”; case kJSTypeObject: return “object”; case kJSTypeString: return “string”; case kJSTypeBoolean: return “boolean”; case kJSTypeUndefined: return “undefined”; default: return “null”;Continue reading “Compile-time Error: control may reach end of non-void function with Xcode 10.2”

Package Manager in Xcode

By: inket $ update_xcode_plugins This tool adds the missing UUIDs into the installed Xcode plugins so that they can be loaded by newer versions of Xcode. You can choose to run it once or install a launch agent that will trigger the tool every time any of your installed plugins are modified or Xcode/Xcode-beta gets updated.Continue reading “Package Manager in Xcode”

iOS Programming 101: Customize UITableView and UITableViewCell Background using Storyboard

January 6, 2013 by simon ng   In the last tutorial of our iOS Programming 101 series, we showed you how to customize the navigation bar and buttons with your own background image. This time, we’ll look into the customization and styling of UITableView and UITableViewCell. If you’ve followed our iOS tutorials from the very beginning, you know we’veContinue reading “iOS Programming 101: Customize UITableView and UITableViewCell Background using Storyboard”

Fix error: Undefined symbols for architecture i386: “_OBJC_CLASS_$_ASIHTTPRequest”, referenced from:

By Sochinda Tith When we have setup ASIHTTPRequest as bellow: http://allseeing-i.com/ASIHTTPRequest/Setup-instructions   You will get error: Undefined symbols for architecture i386:   “_OBJC_CLASS_$_ASIHTTPRequest”, referenced from:…. Please go to Traget Project -> Build Phases -> Compile Source and add all bellow with Compiler Flage : -fno-objc-arc ASIHTTPRequest.m ASIAuthenticationDialog.m ASIDataCompressor.m ASIDataDecompressor.m ASIInputStream.m Reachability.m  

How to Write an iOS App That Uses a Web Service

By: raywenderlich As an iOS developer, you often need to use a web service from your app. Sometimes you need to use a web service that someone else has written, and sometimes you need to use one of your own! In this tutorial, you’ll get hands-one experience with using web services, by writing an iOS appContinue reading “How to Write an iOS App That Uses a Web Service”

Make an IPA on XCode

By: soheilpro Here’s how you can make an IPA in XCode 4.3: To Disable Code Signing: Go to /Applications. Right click on XCode and select ‘Show Package Contents’. CopyContents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist to your desktop. (Make sure to actually copy and paste. No drag and drop) Open it and under DefaultProperties set CODE_SIGNING_REQUIRED to NO. Copy it back and replace the original file. Restart XCode. OpenContinue reading “Make an IPA on XCode”

How to SplashScreen Display in the iPhone

By:  Sushant In this application we will se how to display SplashScreen. When user run the application, it will show the splashScreen after some time it will automatically remove from the Screen. Basically this is the very simple application. So just have a look, how it will be worked. In this application we will se  howContinue reading “How to SplashScreen Display in the iPhone”